出现以下错误的解决方法:

* What went wrong:

A problem occurred configuring project ':app'.
> Failed to notify project evaluation listener.

   > Could not initialize class com.android.sdklib.repository.AndroidSdkHandler


我的解决方法:

升级项目下的build.gradle,alt+enter直接升级到最新就好了,然后Sync New就可以了。

如下图

A problem occurred configuring project ':app'. > Failed to notify project evaluation listener. >

运行通过,打包成功

A problem occurred configuring project ':app'. > Failed to notify project evaluation listener. >

相关文章:

  • 2021-12-21
  • 2021-12-21
  • 2021-09-11
  • 2021-05-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-02
  • 2021-12-15
相关资源
相似解决方案