We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Can't create excel sheet?

So I just followed these steps exactly and exported the project to my android phone but no files are created after pressing the button.
I even put their .zip project but with same results.
I am missing something?
That's the link i followed

1 Reply

AV Abirami Varadharajan Syncfusion Team August 28, 2019 02:05 PM UTC

Hi Abdelrahman, 

Greetings from Syncfusion. 

Inaddition to the steps mentioned in above documentation please follow below steps to save the file in Android. 

  • Create a new XML file with the name of provider_paths.xml under the Android project Resources folder and add the following code in it.
Eg: Resources/xml/provider_paths.xml 
<?xml version="1.0" encoding="UTF-8" ?> 
<paths xmlns:android="http://schemas.android.com/apk/res/android"> 
  <external-path name="external_files" path="."/> 
</paths> 


  • Add the following code to the AndroidManifest.xml file located under Properties/AndroidManifest.xml.
<?xml version="1.0" encoding="utf-8"?> 
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.companyname. GettingStarted "> 
 <uses-sdk android:minSdkVersion="19" android:targetSdkVersion="27" /> 
 <application android:label=" GettingStarted.Android"> 
  <provider android:name="android.support.v4.content.FileProvider" 
         android:authorities="${applicationId}.provider" 
         android:exported="false" 
         android:grantUriPermissions="true"> 
 <meta-data android:name="android.support.FILE_PROVIDER_PATHS" 
android:resource="@xml/provider_paths" /> 
 </provider> 
  </application> 
</manifest> 


We are sharing the sample with above changes for your reference and the sample can be downloaded from following link. 


Regards, 
Abirami  




Loader.
Up arrow icon