gincoo
gincoo
2016-03-01 09:49

android studio 混淆后,打包报错!!!

18
  • android-studio

``

Exception while processing task

java.io.IOException: The same input jar [E:\Work\gv\app\libs\open_sdk_r5509.jar] is specified twice.
> at proguard.ConfigurationChecker.checkConflicts(ConfigurationChecker.java:216)
> at proguard.ConfigurationChecker.check(ConfigurationChecker.java:83)
> at proguard.ProGuard.execute(ProGuard.java:73)
> at proguard.gradle.ProGuardTask.proguard(ProGuardTask.java:1074)
> at com.android.build.gradle.tasks.AndroidProGuardTask.doMinification(AndroidProGuardTask.java:139)
at com.android.build.gradle.tasks.AndroidProGuardTask$1.run(AndroidProGuardTask.java:115)
> at com.android.builder.tasks.Job.runTask(Job.java:48)
> at com.android.build.gradle.tasks.SimpleWorkQueue$EmptyThreadContext.runTask(SimpleWorkQueue.java:41)
> at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:227)
> at java.lang.Thread.run(Thread.java:745)
:app:dexAnzhiRelease UP-TO-DATE

:app:validateReleaseSigning

:app:packageAnzhiRelease FAILED

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:packageAnzhiRelease'. Unable to compute hash of E:\Work\gv\app\build\intermediates\classes-proguard\anzhi\release\classes.jar
  • Try:
    > Run with --stacktrace option to get the stack trace. Run with --info or --debug > option to get more log output.

BUILD FAILED

Total time: 18.962 secs
`

请大神指导,小弟在线求。刚才在网上学习了混淆技巧,把混淆模板复制过去,然后打包报错。

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

4条回答