[mono-android] could not fine android.jar file
Wally McClure
theevilprogrammer at hotmail.com
Thu Jan 19 17:03:38 UTC 2012
Looks like the sdk is installed at 2 locations. I am updating the 2nd one that I didn't know about. Will notify you on this later for the results. Wally
From: theevilprogrammer at hotmail.com
To: monkey at jpobst.com; monodroid at lists.ximian.com
Date: Thu, 19 Jan 2012 11:58:16 -0500
Subject: Re: [mono-android] could not fine android.jar file
I have put the output content to:
http://pastebin.com/0mu9TzjG
It looks like the system is trying to go to C:\Users\AppDev User\AppData\Local\Xamarin\MonoForAndroid\AndroidSDK\android-sdk-window to get the sdk. I am guessing that if I update the sdk at that location, this will solve the problem perhaps? Thoughts?
Wally
> Date: Thu, 19 Jan 2012 10:05:10 -0600
> From: monkey at jpobst.com
> To: monodroid at lists.ximian.com
> CC: theevilprogrammer at hotmail.com
> Subject: Re: [mono-android] could not fine android.jar file
>
> 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
> > Monodroid at lists.ximian.com
> >
> > UNSUBSCRIBE INFORMATION:
> > http://lists.ximian.com/mailman/listinfo/monodroid
>
_______________________________________________
Monodroid mailing list
Monodroid at lists.ximian.com
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20120119/583228bb/attachment-0001.html>
More information about the Monodroid
mailing list