记一次Error:Execution failed for task ':o2osdk:transformClassesAndResourcesWithProguardForRelease'编译出错
2016-07-06 15:38
696 查看
首先贴出错误日志:
Error:Execution failed for task ':o2osdk:transformClassesAndResourcesWithProguardForRelease'.
> java.io.IOException: Input jars and output jars must be different [D:\StudioProjects\NewTestDemo\o2osdk\libs\o2osdk-lib.jar].
原因是inputjar 与outputjar不一样,解决办法是将proguard-rules.pro中
都删除掉,因为Android Gradle plugin 已经调用了,不需要我们自己去弄
详细可查看:这里
Error:Execution failed for task ':o2osdk:transformClassesAndResourcesWithProguardForRelease'.
> java.io.IOException: Input jars and output jars must be different [D:\StudioProjects\NewTestDemo\o2osdk\libs\o2osdk-lib.jar].
原因是inputjar 与outputjar不一样,解决办法是将proguard-rules.pro中
-injars bin/classes -injars libs -outjars bin/classes-processed.jar -libraryjars /usr/local/java/android-sdk/platforms/android-9/android.jar
都删除掉,因为Android Gradle plugin 已经调用了,不需要我们自己去弄
详细可查看:这里
相关文章推荐
- CodeForces 687B Remainders Game
- 【转】RAID磁盘阵列学习
- aapt aidl
- Delete Failed DCs from Active Directory
- 172. Factorial Trailing Zeroes
- NetworkOnMainThreadException
- Failed to start component [StandardEngine[Catalina].StandardHost[localhost....
- 实习杂记(28):Conversion to Dalvik format failed with error问题所在
- XE8_TPaintBox画
- LayaAir学习笔记
- 个人机器人需要多点技术
- pojlainxi
- aix-裸设备文件大小查看
- golang init和main函数
- 《Mesos: A Platform for Fine-Grained Resource Sharing in the Data Center》 论文解读
- int main(int argc, char **argv, char **envp)
- gradle project sync failed.Basic functionality(e.g.editing,debugging) will not work
- CodeForces 687B Remainders Game(数学,最小公倍数)
- HDU 5293 Tree chain problem(树形DP+树链剖分)
- tensorflow之准备好自己的train.txt和val.txt