简体   繁体   中英

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" android: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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM