Flutter:simple_permissions和Permissions_handler插件出现问题

时间:2019-07-08 03:13:35

标签: android firebase flutter

当我使用Flutter插件时:Simple PermissionsPermission Handler,我得到一个错误。仅当我将这些插件与任何firebase plugins

一起使用时,才会发生这种情况

失败:构建失败,并出现异常。

* What went wrong:
Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.
> com.android.build.api.transform.TransformException: Error while generating the main dex list.

* 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 6s
Gradle task assembleDebug failed with exit code 1
  

注意:我已经将multiDexEnabled true添加到了build.gradle文件中

0 个答案:

没有答案