jpush / jpush-flutter-plugin

JPush's officially supported Flutter plugin (Android & iOS). 极光推送官方支持的 Flutter 插件(Android & iOS)。
http://docs.jiguang.cn
MIT License
842 stars 352 forks source link

Execution failed for task ':jpush_flutter:javaPreCompileDebug'. #278

Open Pianzhous opened 3 years ago

Pianzhous commented 3 years ago

flutter doctor ` Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 2.2.0, on Microsoft Windows [Version 10.0.19042.985], locale zh-CN) [√] Android toolchain - develop for Android devices (Android SDK version 30.0.2) [√] Chrome - develop for the web [√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.8.5) [√] Android Studio (version 4.1.0) [√] Connected device (4 available)

• No issues found! ` 插件版本: jpush_flutter: 2.1.2

报错: `

FAILURE: Build failed with an exception.

BUILD FAILED in 3s Exception: Gradle task assembleDebug failed with exit code 1 ` 项目运行失败

skill20 commented 3 years ago

配置了 mavenCentral() 吗。

wyq09 commented 2 years ago

配置了mavenCentral() 也会报这个错 版本2.2.2