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
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
1、Open the command line
2、Change to the
<ndk-root>/samples/hello-jnidirectory.
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
相关文章推荐
- 使用ant让Android自动打包的build.xml,自动生成签名的apk文件(支持android4.0以上的版本)
- Android项目使用Ant打包,自动生成build.xml
- 使用ant让Android自动打包的build.xml,自动生成签名的apk文件(支持android4.0以上的版本) .
- Android项目使用Ant打包,自动生成build.xml
- Android项目自动生成build.xml,用Ant打包
- 使用ant让Android自动打包的build.xml,自动生成签名的apk文件(支持android4.0以上的版本)
- 使用ant让Android自动打包的build.xml,自动生成签名的apk文件(支持android4.0以上的版本)
- Android项目使用Ant打包,自动生成build.xml
- Android项目使用Ant打包,自动生成build.xml
- 使用ant让Android自动打包的build.xml,自动生成签名的apk文件(支持android4.0以上的版本)
- Android项目使用Ant打包,自动生成build.xml
- [转]使用ant让Android自动打包的build.xml,自动生成签名的apk文件(支持android4.0以上的版本)
- Android工程自动生成build.xml文件,并使用Ant打包Android工程
- Android项目使用Ant打包,自动生成build.xml
- Android项目使用Ant打包,自动生成build.xml
- Android项目使用Ant打包,自动生成build.xml
- Eclipse 自动生成 Ant的Build.xml
- 通过ANT实现jmeter批量执行脚本、生成报告、发送邮件全套build.xml文件
- 【转载】Eclipse 自动生成 Ant的Build.xml 配置文件
- Ant 编译、打包 build.xml 脚本模板