标签:android style blog c code tar
android update project -p . -t "android-17"
#keystore
key.store=xx.p12
key.alias=xxx
key.store.password=xxx
key.alias.password=xxx
> BUILD FAILED > C:\Android\android-sdk\tools\ant\build.xml:601: The following error occurred while executing this line: > C:\Android\android-sdk\tools\ant\build.xml:653: The following error occurred while executing this line: > C:\Android\android-sdk\tools\ant\build.xml:698: null returned: 1
Also, if eclipse is set to ‘build automatically‘ then this could keep popping up because eclipse will keep regenerating into the bin folder.
just run ‘ant clean release‘ instead of ‘ant release‘ when you are building this.
rm -fR $(find . -type d -name crunch|xargs)
如果遇到上述error 就执行 ant clean release
可以参考我的项目:https://github.com/mentor811/Android-Batch-Pack
参考:https://github.com/umeng/umeng-muti-channel-build-tool/tree/master/Gradle
gradle clean
gradle build
a、AndroidManifest.xml里的注释必须<!-- 前后必须要有空格 -->
b、中文注释可能会有乱码
c、各个library project 里的 minsdk 和targetsdk 要和主工程保持一致
d、对png 图片的格式很严格
e、lint
而 使用Ant 时,没有遇到上述问题,直接就成功了。
第一次执行时 之前没有build的的项目
左边gradle 右边 ant
Android Ant 和 Gradle 打包流程和效率对比,布布扣,bubuko.com
Android Ant 和 Gradle 打包流程和效率对比
标签:android style blog c code tar
原文地址:http://blog.csdn.net/masonblog/article/details/26103875