jpush-flutter-plugin
jpush-flutter-plugin copied to clipboard
Execution failed for task ':jpush_flutter:javaPreCompileDebug'.
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.
- What went wrong: Execution failed for task ':jpush_flutter:javaPreCompileDebug'.
Could not resolve all files for configuration ':jpush_flutter:debugCompileClasspath'. Could not find jpush.jar (cn.jiguang.sdk:jpush:4.0.9). Searched in the following locations: https://maven.aliyun.com/repository/jcenter/cn/jiguang/sdk/jpush/4.0.9/jpush-4.0.9.jar
-
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 3s Exception: Gradle task assembleDebug failed with exit code 1 ` 项目运行失败
配置了 mavenCentral() 吗。
配置了mavenCentral() 也会报这个错 版本2.2.2