New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
android app crash after adding package on flutter 2.3 #6
Comments
Hi! Are you using Dart 2? If yes, did you try the version If not, could you:
I'll have time to investigate this tomorrow, but any more context would help. |
Hi, I'm using Dart 2.0, I tried flutter_twitter_login: "^1.1.0", but I got the same result, DebugC:\Sistemas\flutter\flutter1> flutter run --trace-startup Flutter DoctorDoctor summary (to see all details, run flutter doctor -v): • No issues found! [√] Android toolchain - develop for Android devices (Android SDK 27.0.3) [√] Android Studio (version 3.0) [√] Connected devices (1 available) Thanks |
Thanks! If you can, could you open Android Studio and see the logcat output as well? Seems like it could be a crash on the native Android side. I'll try to reproduce with the same stack as you have when I can anyway, but if you could do that, I would be sure that I'm reproducing the same issue. |
Logcat:04-01 18:10:08.424 15322-15351/? W/common.FileUtils: Failed to set dir world executable: java.io.FileNotFoundException: /data/user_de/0/com.google.android.gms/files/gmscore_global_dirs.txt: open failed: EACCES (Permission denied) ConsoleLaunching lib\main.dart on Android SDK built for x86 in debug mode... |
Hey, I just tried to reproduce this on an Android emulator, with API level 24 and same Flutter version as you did. No luck there. Does cloning this repo and running the sample app crash as well? |
Hey, sorry the delay, I updated Flutter and Android SDK (using API Level 26) and it works fine now!, thanks for your help! Flutter DoctorDoctor summary (to see all details, run flutter doctor -v): |
Hey, that's nice to hear! Please comment if the crash happens again. |
Hi Liro, I updated Flutter to 2.3 and the android app crashes on the startup.
When I remove flutter_twitter_login: "^1.0.1", the app works well.
The text was updated successfully, but these errors were encountered: