Execution failed for task app:transformClassesWithDesugarForDebug error on Android Studio 3.0 Beta 2

后端 未结 6 2028
刺人心
刺人心 2020-11-28 14:28

I have migrated my project from Android Studio 2.3.3 to Android Studio 3.0 Beta 2 and now my project won\'t run.

I get the following message in the console:

6条回答
  •  情书的邮戳
    2020-11-28 15:07

    change your porject/build.gralde

    compileOptions {
        //sourceCompatibility JavaVersion.VERSION_1_8
        //targetCompatibility JavaVersion.VERSION_1_8
    }
    

    rebuild .......ok, I change this file. rebuild ......Compile apk successfully! Hope it helps you

提交回复
热议问题