小编Tha*_*Luu的帖子

settings.gradle 出现颤动位置错误

我是颤振的新手,正在尝试构建一个跟踪位置应用程序。我的颤动版本是Flutter 1.18.0-7.0.pre.21 \xe2\x80\xa2 channel master \xe2\x80\xa2 https://github.com/flutter/flutter.git并且flutter doctor No issues found!。我在我的项目中使用 API Google 地图并有 google_map_package。。当我调试这个应用程序时显示问题是Execution failed for task ':app:processDebugResources'.

\n

设置.gradle

\n
include ':app'\n\ndef localPropertiesFile = new File(rootProject.projectDir, "local.properties")\ndef properties = new Properties()\n\nassert localPropertiesFile.exists()\nlocalPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }\n\ndef flutterSdkPath = properties.getProperty("flutter.sdk")\nassert flutterSdkPath != null, "flutter.sdk not set in local.properties"\napply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"\n
Run Code Online (Sandbox Code Playgroud)\n

location dart flutter

3
推荐指数
1
解决办法
7163
查看次数

标签 统计

dart ×1

flutter ×1

location ×1