Problem with android:targetSdkVersion attribute
I have an application compiled in Android 1.6 (api level 4) but I need to add android:installLocation
attribute. I have put this line in my AndroidManifest.xml:
<uses-sdk android:minSdkVersion="4" andr开发者_如何学编程oid:targetSdkVersion="8"/>
I have defined the android:targetSdkVersion
as 8, but the android:installLocation
doesn't work right.
You need to compile against the Level 8 SDK.
Look for point number 3 in the Backwards Compatibility section here http://developer.android.com/guide/appendix/install-location.html
精彩评论