You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am not sure what the problem is and if I do anything wrong. I am unable to build and run this project in the latest flutter release. Thank you very much for your help.
OS: Arch linux
I did flutter upgrade before running this project. so everything should be up-to-date.
$ flutter doctor
[✓] Flutter (on Linux, locale en_US.UTF-8, channel master)
• Flutter at /home/user/opt/flutter
• Framework revision 324ef1d1f6 (6 hours ago), 2017-12-05 19:17:58 -0800
• Engine revision b57fca02b5
• Tools Dart version 1.25.0-dev.11.0
• Engine Dart version 2.0.0-edge.d4cfecb1065d322d3670df7e9ec9a0cc2d4b90f0
[✓] Android toolchain - develop for Android devices (Android SDK 25.0.3)
• Android SDK at /home/user/Android/Sdk
• Android NDK location not configured (this optional configuration is useful for native profiling support)
• Platform android-25, build-tools 25.0.3
• ANDROID_HOME = /home/user/Android/Sdk
• Java binary at: /opt/android-studio/jre/bin/java
• Java version openjdk version "1.8.0_152-release"
[✓] Android Studio (version 3.0)
• Android Studio at /opt/android-studio
• Java version openjdk version "1.8.0_152-release"
[✓] Connected devices
• Redmi Note 3 • 7acabcd9 • android-arm • Android 7.1.1 (API 25)
The error:
$ flutter run --release
Initializing gradle... 1.1s
Resolving dependencies... 10.2s
Launching lib/main.dart on Redmi Note 3 in release mode...
Running 'gradlew assembleRelease'...
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
Note: /home/user/.pub-cache/hosted/pub.dartlang.org/firebase_database-0.0.14/android/src/main/java/io/flutter/plugins/firebase/database/FirebaseDatabasePlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformClassesWithDexForRelease'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/common/internal/zzaa;
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Gradle build failed: 1
The text was updated successfully, but these errors were encountered:
Hi, I am not sure what the problem is and if I do anything wrong. I am unable to build and run this project in the latest flutter release. Thank you very much for your help.
OS: Arch linux
I did
flutter upgrade
before running this project. so everything should be up-to-date.The error:
The text was updated successfully, but these errors were encountered: