- Home
- Forum
- Xamarin.Forms
- I can not get Samples 15.1.0.33 to build for Android
I can not get Samples 15.1.0.33 to build for Android
As a work around, I tried copying the samples solution to a folder closer to the root, however restore NuGet packages does not work and all the references for SyncFusion are missing. And I have the option set on NuGet to restore automatically.
I also installed all the sample SyncFusion packages manually. One at a time. This took over an hour. Then I got this error:
Expecting class path separator ';' before '\Android\android-sdk\build-tools\25.0.2\lib\shrinkedAndroid.jar' in argument number 8 SampleBrowser.Droid_2015 D:\sync2\SampleBrowser\SampleBrowser.Droid\CREATEMULTIDEXMAINDEXCLASSLIST
I fixed the above error, by moving the Android SDK to a path without a space, per this post: http://stackoverflow.com/questions/38718215/expecting-class-path-separator-before-android-android-sdk-build-tools-23-0
but now I get this error:
Can't read [C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v7.0\mono.android.jar] (Can't process class [android/app/ActivityTracker.class] (Unsupported class version number [52.0] (maximum 51.0, Java 1.7))) SampleBrowser.Droid_2015
As a work around, is there a link to a zip with the samples that I can extract closer to my root, where all I need to do is a restore NuGet packages and rebuild to make it work for Android?
Regarding "I uninstalled the prior and current versions of SyncFusion Xamarin forms. Re-installed. Selected d:/sync3 as the samples folder and d:/syncinstall as the program install. Still got the same results"
We are sorry for the inconvenience.
We had an issue in Xamarin platform setup and we have already fixed this issue in 2017 Vol 1 Service Pack 1 release v15.1.0.37. Please download and install the latest version 15.1.0.37 Xamarin setup from the following link.
https://www.syncfusion.com/support/directtrac/downloads/15_1_0_37
Regarding "As for the JDK I have the latest. 64 bit, C:\Program Files\Java\jdk1.8.0_122 I need the 64 bit for other controls. Does SyncFusion work with 64 bit JDK?"
Yes. Syncfusion controls work with 64 bit jdk.
Regarding "Can you please send a link to the zip of the samples with references working so I can simply unzip to a folder near the root?"
Please download the sample from the following location.
Sample: http://www.syncfusion.com/downloads/support/forum/129105/ze/ChartGettingStarted1238205510
Regards,
Saravana Pandian M.
You might be using an outdated version of Progaurd. So, we request you to update the progaurd version. You can download the latest version from the following link and copy the contents of the zip to the below location
Location: sdk-folder -> tools -> proguard
Link: https://sourceforge.net/projects/proguard/files/proguard/
Kindly refer the below xamarin forum for more details.
Forum : https://forums.xamarin.com/discussion/76798/compiler-issue-with-targetsdkversion-24-and-jdk-1-8
Regards,
Saravana Pandian M.
- 5 Replies
- 2 Participants
-
RF Russ Fustino
- Feb 28, 2017 02:02 AM UTC
- Mar 3, 2017 01:23 PM UTC