-
Notifications
You must be signed in to change notification settings - Fork 567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
项目导入android studio3.0报错了,调了好久,还是没能运行起来,大神,你有没有遇到过 #38
Comments
把具体的错误贴出来,你是不是升级Gradle插件版本了 |
导入AS3.0的话需要做一些配置: releaseCompile project(path: ':library', configuration: 'release')
3.最后是删了project的build.gradle 中的:classpath 'me.tatarka:gradle-retrolambda:3.3.1' 4.最后需要将gradle.properties文件中添加android.enableAapt2=false ,关闭关闭aapt2的编译。 再进行编译,就能跑起来了 |
@Shaoronggang 👍👍👍👍👍👍 项目中已经更新 gradle 配置了,你更新代码就能看到 |
Executing tasks: [clean, :app:assembleDebug, :library:assembleDebug, :widget:assembleDebug] Configuration on demand is an incubating feature. :widget:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug :library:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug :app:compileDebugSources ????: ?????????????????? com.google.devtools.build.android.desugar.Desugar ????: ?????????????????? com.google.devtools.build.android.desugar.Desugar ????: ?????????????????? com.google.devtools.build.android.desugar.Desugar FAILED FAILURE: Build failed with an exception.
BUILD FAILED in 17s android 3.0还是编译不过 |
@BaronZ88 嗯呢,导入时升级了Gradle插件版本
The text was updated successfully, but these errors were encountered: