美文网首页
The plugin flutter_bugly could n

The plugin flutter_bugly could n

作者: 嗯o哼 | 来源:发表于2020-12-24 10:28 被阅读0次

打包apk的时候报错

flutter build apk --release --target-platform android-arm64

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'flutter_bugly'.
> SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 971ms


The plugin flutter_bugly could not be built due to the issue above.

之前使用的是

  flutter_bugly: 
  git:
   url: git://github.com/crazecoder/flutter_bugly.git
   ref: dev

改为

  flutter_bugly: ^0.3.0+2

再build 就ok 了

相关文章

网友评论

      本文标题:The plugin flutter_bugly could n

      本文链接:https://www.haomeiwen.com/subject/xrapnktx.html