openimsdk / open-im-sdk-flutter

IM SDK Flutter
https://openim.io
MIT License
362 stars 227 forks source link

Build error on android #42

Closed iamxvbaba closed 2 years ago

iamxvbaba commented 2 years ago

image

iamxvbaba commented 2 years ago

----log---- [+1489 ms] > Configure project :app [ ] WARNING: DSL element 'useProguard' is obsolete and will be removed soon. Use 'android.enableR8' in gradle.properties to switch between R8 and Proguard.. [ ] > Configure project :audio_session [ ] WARNING: The option 'android.enableR8' is deprecated and should not be used anymore. [ ] It will be removed in a future version of the Android Gradle plugin, and will no longer allow you to disable R8. [+57544 ms] FAILURE: Build failed with an exception. [ +1 ms] What went wrong: [ ] Could not determine the dependencies of task ':flutter_openim_sdk:generateDebugRFile'. [ ] > Could not resolve all task dependencies for configuration ':flutter_openim_sdk:debugCompileClasspath'. [ ] > Could not resolve io.openim:client-sdk:0.0.15. [ ] Required by: [ ] project :flutter_openim_sdk [ ] > Skipped due to earlier error [ ] 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 58s [ ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. [ ] Use '--warning-mode all' to show the individual deprecation warnings. [ ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings [ +514 ms] Running Gradle task 'assembleDebug'... (completed in 59.7s) [ +3 ms] Exception: Gradle task assembleDebug failed with exit code 1 [ +1 ms] "flutter run" took 60,727ms. [ +14 ms]

0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3)

       #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:669:9)
       <asynchronous suspension>
       #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1125:27)
       <asynchronous suspension>
       #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
       <asynchronous suspension>
       #4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
       <asynchronous suspension>
       #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
       <asynchronous suspension>
       #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
       <asynchronous suspension>
       #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
       <asynchronous suspension>
       #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
       <asynchronous suspension>
       #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
       <asynchronous suspension>
       #10     main (package:flutter_tools/executable.dart:92:3)
       <asynchronous suspension>

[ +187 ms] ensureAnalyticsSent: 185ms [ +1 ms] Running shutdown hooks [ ] Shutdown hooks complete [ ] exiting with code 1

hrxiang commented 2 years ago

The server has restarted, please try again!