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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Can't create excel sheet?

Thread ID:





146986 Aug 27,2019 05:13 PM UTC Aug 28,2019 02:05 PM UTC Xamarin.Forms 1
Tags: XlsIO
Abdelrahman Mohamed
Asked On August 27, 2019 05:13 PM UTC

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

Abirami Varadharajan [Syncfusion]
Replied On 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="."/> 

  • 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" 
 <meta-data android:name="android.support.FILE_PROVIDER_PATHS" 
android:resource="@xml/provider_paths" /> 

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



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon