开发者

android, Manifest shows error for android:targetSdkVersion

I have defined following line in My manifest file but an error occurs.

<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="8" />

and the error mess开发者_JS百科age is:

error: No resource identifier found for attribute 'targetSdkVersion' in package 'android'

How can I handle this problem?


android:targetSdkVersion was added in api level 4 which is android 1.6. Make sure you are compiling your project with 1.6 and above and you have not set 1.5 as build target.


In addition to above, make sure you delete the project's bin directory too so it's rebuilt with the updated android build target.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜