from http://developer.android.com/guide/topics/manifest/uses-feature-element.html
You can use the aapt tool, included in the Android SDK, to determine how Android Market will filter your application, based on its declared features and permissions. To do so, run aapt with the dump badging command. This causes aapt to parse your application's manifest and apply the same rules as used by Android Market to determine the features that your application requires.
To use the tool, follow these steps:
- First, build and export your application as an unsigned
.apk. If you are developing in Eclipse with ADT, right-click the project and select Android Tools > Export Unsigned Application Package. Select a destination filename and path and click OK. - Next, locate the
aapttool, if it is not already in your PATH. If you are using SDK Tools r8 or higher, you can findaaptin the<SDK>/platform-tools/directory.Note: You must use the version of
aaptthat is provided for the latest Platform-Tools component available. If you do not have the latest Platform-Tools component, download it using the Android SDK and AVD Manager. - Run
aaptusing this syntax:
Here's an example of the command output
390



被折叠的 条评论
为什么被折叠?



