您的位置:首页 > 产品设计 > UI/UE

android的ant脚本<build.xml>自动生成模板

2013-03-28 17:41 435 查看
参考android官方指导:http://developer.android.com/tools/sdk/ndk/overview.html

1、Open the command line

2、Change to the
<ndk-root>/samples/hello-jni
directory.

3、Run the following command to generate a build.xml file:

D:\work\android\android-ndk-r8c\samples\hello-jni>android update project -p . -s
Updated local.properties
Updated file D:\work\android\android-ndk-r8c\samples\hello-jni\proguard.cfg
Error: The project either has no target set or the target is invalid.
Please provide a --target to the 'android.bat update' command.

注意:project的project.properties和default.properties目标需要大于android1.5,例如target=android-10
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: