开发者

Problem with android:targetSdkVersion attribute

开发者 https://www.devze.com 2023-02-23 21:31 出处:网络
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:

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

0

精彩评论

暂无评论...
验证码 换一张
取 消