安卓报错显示详细Error:Execution failed for task ':app:compileDebugKotlin'. > Compilation error.

I solved it by

  1. Clicking on Gradle (on the right side bar) ->
  2. Then under :app
  3. Then choose assembleDebug (or assembleYourFlavor if you use flavors)

In Picture:

1 & 2:

安卓报错显示详细Error:Execution failed for task ':app:compileDebugKotlin'. > Compilation error.

3>

安卓报错显示详细Error:Execution failed for task ':app:compileDebugKotlin'. > Compilation error.

 

 

Error will show up in Run: tab.

 

上一篇:c – 两个编译器彼此不喜欢


下一篇:VC++-ADO/COM组件实现文字上标下标功能