I've built a new workstation. I installed MfA using the trial installer (that
pulled in all the prerequisites) and then activated it.

The MfA installer put the Android SDK at:
C:\Users\me\AppData\Local\Xamarin\MonoForAndroid\AndroidSDK

And that is the path I configured in the VS options for the Android SDK.

My solution will no longer build, with the error:

Task "GetJavaPlatformJar" (TaskId:928)
  GetJavaPlatformJar Task (TaskId:928)
    AndroidSdkDirectory:
C:\Users\me\AppData\Local\Xamarin\MonoForAndroid\AndroidSDK\android-sdk-windows
(TaskId:928)
    AndroidSdkPlatform: 8 (TaskId:928)
    AndroidManifest: pathtomymanifest\AndroidManifest.xml (TaskId:928)
C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(176,2): error : Could
not find android.jar for API Level 8.  This means the Android SDK platform
for API Level 8 is not installed.  Either install it in the Android SDK
Manager, or change your Mono for Android project to target an API version
that is installed.
Done executing task "GetJavaPlatformJar" -- FAILED. (TaskId:928)

dir
C:\Users\me\AppData\Local\Xamarin\MonoForAndroid\AndroidSDK\android-sdk-windows\platforms\android-8

03/07/2012  12:18 PM    <DIR>          .
03/07/2012  12:18 PM    <DIR>          ..
06/30/2010  06:14 PM         5,435,407 android.jar
06/30/2010  06:14 PM             1,498 build.prop
03/07/2012  12:18 PM    <DIR>          data
06/30/2010  06:14 PM             1,697 framework.aidl
03/07/2012  12:18 PM    <DIR>          images
06/30/2010  06:14 PM               101 sdk.properties
03/07/2012  12:18 PM    <DIR>          skins
03/07/2012  12:18 PM               325 source.properties
03/07/2012  12:18 PM    <DIR>          templates
               5 File(s)      5,439,028 bytes
               6 Dir(s)  135,090,122,752 bytes free

Any tips for me? api level 8 is definitely there...

Thanks in advance

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/New-install-can-t-build-Could-not-find-android-jar-for-API-Level-8-tp5545586p5545586.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to