问题1:Error:Error converting bytecode to dex:
Cause: com.android.dex.DexException: Multiple dex files define Lcom/android/launcher3/BuildConfig;
:launcher3:transformClassesWithDexForDebug FAILED
由于wallpaper使用的包名跟Launcher3一致,因此需要修改包名
问题2:关于库引用问题,如果jcenter仓库不存在,同时使用maven仓库
问题3:引用protobuf-java jar包无法编译成功找不到nano相关文件,因此必须受到拷贝google nono包中的文件

网友评论