If you turn your msbuild verbosity up to diagnostic, you should be able
to search the log for "GetJavaPlatformJar" and it will tell you where it
is looking. Here's mine:
Task "GetJavaPlatformJar" (TaskId:33)
GetJavaPlatformJar Task (TaskId:33)
AndroidSdkDirectory: C:\Program Files (x86)\Android\android-sdk
(TaskId:33)
AndroidSdkPlatform: 8 (TaskId:33)
AndroidManifest: (TaskId:33)
[Output] JavaPlatformJarPath: C:\Program Files
(x86)\Android\android-sdk\platforms\android-8\android.jar (TaskId:33)
You won't get the [Output], but you can check:
<AndroidSdkDirectory>\platforms\android-12\android.jar
Jonathan
On 1/19/2012 9:47 AM, Wally McClure wrote:
I've got an example that I have written that runs on honeycomb. Works
just fine on my machine, but I have to show it running on another
machine in its emulator. When I attempt to built the application on this
different machine, I am getting an error, saying "COuld not fine
android.jar for API Level 12. This means the Android sdk platform for
api level 12 is not install. Either install it in the android sdk
manager, or change your mono for android project to target an api
version that is installed."
Ok, that makes sense. I go out to the sdk manager and install api level
12. No problem, it installs. I keep getting the error message when I
attempt to compile. I have rebooted thinking that the sdk manager
doesn't "see" the api level 12, still no luck. I've gone into the sdk
folder and sure enough, the api level 12 platform is installed and there
is android.jar file there. I'm purplexed on what to do. Any ideas or
suggestions? My demo runs on 3.1, which is the only android honey comb
version supported by MfA, so I can't go and change versions. Any ideas?
Thanks in advance.
Wally
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid