gredle build error Property.jayce

xiaoxiao2021-02-28  154

:app:compileDebugNdk NO-SOURCE :app:transformClassesWithPreJackPackagedLibrariesForDebug FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:transformClassesWithPreJackPackagedLibrariesForDebug'. > java.lang.AssertionError: java.util.zip.ZipException: duplicate entry: jayce/com/perference/Property.jayce * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

解决方法:生成jar包时,命令中需要指定target,

#android update project -p . --target android-24 

转载请注明原文地址: https://www.6miu.com/read-37646.html

最新回复(0)