You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
直接clone的话会报错:
Error:The modules ['baseLib', 'frameDemoMo2-baseLib'] point to the same directory in the file system.
Each module must have a unique path.
网上查了一下,解决的办法是把每个module里面的iml文件删除,猜测你应该没有在.gitignore文件里过滤掉。
删除以后在编译,又会报错:Error:java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT error: check logs for details
这个不知道问题出在哪,我解决的办法是把gradle.properities文件里面的android.enableAapt2=false
android.useDeprecatedNdk=true 两行删除,然后把gradle改为3.0.0
修改以后我这边就可以正常编译了,app也可以正常运行了。
baseLib包的build.gradle文件应该没有上传吧,编译的时候里面没有文件
The text was updated successfully, but these errors were encountered: