/Users/Ren/Desktop/RecylerViewBaseAdapter/build.gradle
Error:(6, 0) Gradle DSL method not found: 'google()'
Possible causes:
The project 'RecylerViewBaseAdapter' may be using a version of Gradle that does not contain the method.
Gradle settings
The build file may be missing a Gradle plugin.
Apply Gradle plugin
Run Code Online (Sandbox Code Playgroud) 我打开了android项目,我得到了这个错误,我该如何解决?
信息:Gradle任务[clean,:app:generateDebugSources,:app:generateDebugAndroidTestSources,:app:mockableAndroidJar]警告:该android.dexOptions.incremental属性已弃用,它对构建过程没有影响./Users/Ren/Desktop/17live/app/src/main/res/values/styles.xml错误:(515,5)样式属性'@android:attr/windowEnterAnimation'未找到错误:(515,5)样式属性找不到'@android:attr/windowExitAnimation'错误:(577,5)未找到样式属性'@android:attr/windowEnterAnimation'错误:(577,5)样式属性'@android:attr/windowExitAnimation'未找到错误: /Users/Ren/Desktop/17live/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3534未找到样式属性'@android:attr/windowEnterAnimation'错误:/ Users/Ren/Desktop /17live/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3796未找到样式属性'@android:attr/windowEnterAnimation'错误:链接引用失败错误:java.util.concurrent.ExecutionException :com.android.builder.internal.aapt.AaptException:AAPT2链接失败:错误:com.android.builder.internal.aapt.AaptException:AAPT2链接失败:错误:任务':app的执行失败:processDebugResources'.
无法执行aapt信息:在13s内建立失败信息:10错误信息:1警告信息:在控制台中查看完整输出