The plugin flutter_bugly could n

2020-12-24  本文已影响0人  嗯o哼

打包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 了

上一篇下一篇

猜你喜欢

热点阅读