开发者

Move to SD Card

I've been following the post: http://tut7.com/2010/06/15/quick-tip-enabling-the-android-%E2%80%9Cmove-to-sd-card%E2%80%9D-feature/comment-page-1/#comment-6766 (even tried to post a comment but it's been awaiting moderation forever)...

I'm trying to target Android 开发者_运维知识库1.6-2.2 OSs and after applying your Build Target I get the following warnings:

Attribute minSdkVersion (4) is lower than the project target API level (8) AndroidManifest.xml /CueBrain line 1 Android ADT Problem

And also, trying to launch my app in the 1.6 emulator it just ignores it and runs the 2.2 emulator.

What am I missing?


Are you building within Eclipse? You need to set the target SDK version within the manifest file (like the post you referenced shows), and you also need to set it within the Project settings in Eclipse.

  1. On the main menu, go to Project --> Properties
  2. Select the Android page
  3. Check the box next to the target SDK you would like to build against

You should see the correct Android version in the Package Explorer as library. Mine is listed as "Android2.2" beneath the "src" and "gen" folders.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜