[mono-android] Install location with monodevelop
Jonathan Pryor
jonp at xamarin.com
Fri Jun 1 21:32:28 UTC 2012
On May 31, 2012, at 11:06 AM, keith wrote:
> I am using monodevelop(3.0.2) on a mac, and Mono for Android: 4.2.2.134493563. I have set my target api level to 8, my minimum api level to 7, checked "deploy to external storage" and ensured that install location drop down is set to preferexternal.
The problem is that installLocation requires API8+, and you're setting your minimum Android to target to 7. You should be seeing the following message when you build:
monodroid: warning 1 : installLocation cannot be specified for Android versions less than 2.2. Attribute installLocation ignored.
The API level we use is the $(TargetFrameworkVersion) of your app; you should check the value of the <TargetFrameworkVersion/> element within your .csproj; if it's not present, we default to API 8 (Android v2.2).
- Jon
More information about the Monodroid
mailing list