在我将以下代码行添加到gradle文件后,我得到了这个错误: it.buildConfigField 'String', 'OPEN_WEATHER_MAP_API_KEY', MyOpenWeatherMapApiKey然后日志显示:
Could not find property 'MyOpenWeatherMapApiKey' on com.android.
在将api键放入gradle文件之后,当我试图构建项目时,我从gradle中得到了这个错误.....}当我构建这个项目时,我遇到了一个错误:-
Error:(22, 0) Could not find property 'MyOpenWeatherMapApiKey' on com.android.build.gradle.AppExtension_Decorated<a href="openFile:F:\Projects\