Android Gradle CompilationFailedException after Android Studio Update

前端 未结 6 1218
执念已碎
执念已碎 2020-12-02 22:40

I\'m getting the following error when I build my project:

org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compi         


        
6条回答
  •  长情又很酷
    2020-12-02 22:58

    I solved this with the suggestion from @CommonsWare to go in the Build view's second toolbar button down from the top which toggles between the tree view and the raw Gradle console output. The error showed that this was caused by using a deprecated view, ArticleListAdapter. Removing this fixed the error.

    The other warning was fixed by changing compile to implementation in the App level build.gradle.

提交回复
热议问题