Error:Android Source Generator: [sdk] Android SDK is not specified.

时间:2021-08-18 20:13:32

有时候使用intellij idea 带入android 项目,运行提示Error:Android Source Generator: [sdk] Android SDK is not specified.

问题原因:

android项目Module sdk被设置成别的(eg:jdk)。

解决方法:

只需切换成android sdk 即可。

Error:Android Source Generator: [sdk] Android SDK is not specified.