Android用ant打包时更新build.xml(Mac)
2016-01-12 12:05
651 查看
1.首先保证自己的mac配置好Android和ant
2.查看电脑中sdk版本对应的id,在Terminal中输入android list target ,会列出id号
3.输入 android update project -n xx1 -t xx2 -p xx3 ,xx1(工程名称)xx2(id号)xx3(工程目录)
4.注意更新时要把工程和依赖库都需要更新,再用ant打包
2.查看电脑中sdk版本对应的id,在Terminal中输入android list target ,会列出id号
3.输入 android update project -n xx1 -t xx2 -p xx3 ,xx1(工程名称)xx2(id号)xx3(工程目录)
4.注意更新时要把工程和依赖库都需要更新,再用ant打包
相关文章推荐
- 关于OSGI模块化编程中MENIFEST.MF文件中的Required Plug-ins和Imported Packages的区别
- HBuilder使用夜神模拟器调试Android应用
- java gui菜鸟笔记
- ios 根据文字数量计算UILabel高度
- uiautomator传入参数长度
- 使用UGUI自定义五边形
- 【FAQ】Jenkins上,xcodebuild报错:No matching codesigning identity found
- UIModalPresentationStyle和UIModalTransitionStyle
- MessageUI(简介)
- PHP中return 和 exit 、break和contiue 区别与用法
- Android系统之路(初识MTK) ------ Bluetooth bug resolved on Google/关于谷歌蓝牙bug的解决
- Qt UI 布局
- 非UI线程中Toast
- [LeetCode] Unique Binary Search Trees, Solution
- [LeetCode] Unique Binary Search Trees II, Solution
- [LeetCode] Permutation Sequence, Solution
- iOS--搜索UISearchController&&UISearchDisplayController
- [Google] URL query with wild card
- [LeetCode] Longest Consecutive Sequence, Solution
- 使用UIImageView的画线方法