android的ant脚本自动生成模板
16lz
2021-01-23
参考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
更多相关文章
- android 系统编译要求,官方资料
- Android官方架构组件ViewModel:从前世今生到追本溯源
- Google官方确认Android 冰激凌三明治即将发布
- Android官方DataBinding(三):RecyclerView 使用ViewDataBinding更新
- [置顶] Android官方文档系列(翻译)
- 【苦读官方文档】2.Android应用程序基本原理概述