{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/25491","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/25491/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/25491/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/25491/events","html_url":"https://github.com/flutter/flutter/issues/25491","id":391972099,"node_id":"MDU6SXNzdWUzOTE5NzIwOTk=","number":25491,"title":"Crash on Xiaomi device running on Kitkat when trying to use Firebase packages","user":{"login":"anderscheow","id":11788504,"node_id":"MDQ6VXNlcjExNzg4NTA0","avatar_url":"https://avatars0.githubusercontent.com/u/11788504?v=4","gravatar_id":"","url":"https://api.github.com/users/anderscheow","html_url":"https://github.com/anderscheow","followers_url":"https://api.github.com/users/anderscheow/followers","following_url":"https://api.github.com/users/anderscheow/following{/other_user}","gists_url":"https://api.github.com/users/anderscheow/gists{/gist_id}","starred_url":"https://api.github.com/users/anderscheow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anderscheow/subscriptions","organizations_url":"https://api.github.com/users/anderscheow/orgs","repos_url":"https://api.github.com/users/anderscheow/repos","events_url":"https://api.github.com/users/anderscheow/events{/privacy}","received_events_url":"https://api.github.com/users/anderscheow/received_events","type":"User","site_admin":false},"labels":[{"id":283479807,"node_id":"MDU6TGFiZWwyODM0Nzk4MDc=","url":"https://api.github.com/repos/flutter/flutter/labels/e:%20device-specific","name":"e: device-specific","color":"003570","default":false},{"id":379784845,"node_id":"MDU6TGFiZWwzNzk3ODQ4NDU=","url":"https://api.github.com/repos/flutter/flutter/labels/p:%20firebase","name":"p: firebase","color":"fbca04","default":false},{"id":527275775,"node_id":"MDU6TGFiZWw1MjcyNzU3NzU=","url":"https://api.github.com/repos/flutter/flutter/labels/p:%20first%20party","name":"p: first party","color":"fbca04","default":false},{"id":284439562,"node_id":"MDU6TGFiZWwyODQ0Mzk1NjI=","url":"https://api.github.com/repos/flutter/flutter/labels/plugin","name":"plugin","color":"fbca04","default":false},{"id":283479343,"node_id":"MDU6TGFiZWwyODM0NzkzNDM=","url":"https://api.github.com/repos/flutter/flutter/labels/severe:%20crash","name":"severe: crash","color":"900000","default":false},{"id":283479900,"node_id":"MDU6TGFiZWwyODM0Nzk5MDA=","url":"https://api.github.com/repos/flutter/flutter/labels/%E2%96%A3%20platform-android","name":"▣ platform-android","color":"003570","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/flutter/flutter/milestones/22","html_url":"https://github.com/flutter/flutter/milestone/22","labels_url":"https://api.github.com/repos/flutter/flutter/milestones/22/labels","id":2270094,"node_id":"MDk6TWlsZXN0b25lMjI3MDA5NA==","number":22,"title":"Goals","description":"P2: These are tasks we think are worth fixing in the coming years. It includes issues we've identified that might block fully shipping broad consumer-facing apps, correctness issues, and bugs relating to polish and quality.\r\n\r\nThe date on this milestone is utterly arbitrary and just intended to sort the milestone appropriately.","creator":{"login":"Hixie","id":551196,"node_id":"MDQ6VXNlcjU1MTE5Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/551196?v=4","gravatar_id":"","url":"https://api.github.com/users/Hixie","html_url":"https://github.com/Hixie","followers_url":"https://api.github.com/users/Hixie/followers","following_url":"https://api.github.com/users/Hixie/following{/other_user}","gists_url":"https://api.github.com/users/Hixie/gists{/gist_id}","starred_url":"https://api.github.com/users/Hixie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hixie/subscriptions","organizations_url":"https://api.github.com/users/Hixie/orgs","repos_url":"https://api.github.com/users/Hixie/repos","events_url":"https://api.github.com/users/Hixie/events{/privacy}","received_events_url":"https://api.github.com/users/Hixie/received_events","type":"User","site_admin":false},"open_issues":2061,"closed_issues":1070,"state":"open","created_at":"2017-01-23T00:27:59Z","updated_at":"2019-01-05T02:53:13Z","due_on":"2031-01-01T08:00:00Z","closed_at":null},"comments":7,"created_at":"2018-12-18T02:36:47Z","updated_at":"2019-01-05T14:52:37Z","closed_at":null,"author_association":"NONE","body":"<!-- Thank you for using Flutter!\r\n\r\n     If you are looking for support, please check out our documentation\r\n     or consider asking a question on Stack Overflow:\r\n      * https://flutter.io/\r\n      * https://docs.flutter.io/\r\n      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent\r\n\r\n     If you have found a bug or if our documentation doesn't have an answer\r\n     to what you're looking for, then fill our the template below. Please read\r\n     our guide to filing a bug first:  https://flutter.io/bug-reports/\r\n-->\r\n\r\nWhen I try to launch the app on Xiaomi device with Kitkat version, the app crash. I included several Firebase packages (firebase_admob, firebase_performance, firebase_analytics, firebase_auth)\r\n\r\n## Exception\r\n\r\n```\r\njava.lang.RuntimeException: Unable to get provider com.google.firebase.provider.FirebaseInitProvider: java.lang.ClassNotFoundException: Didn't find class \"com.google.firebase.provider.FirebaseInitProvider\" on path: DexPathList[[zip file \"/data/app/io.anders.randomsensei-2.apk\"],nativeLibraryDirectories=[/data/app-lib/io.anders.randomsensei-2, /vendor/lib, /system/lib]]\r\n        at android.app.ActivityThread.installProvider(ActivityThread.java:4828)\r\n        at android.app.ActivityThread.installContentProviders(ActivityThread.java:4420)\r\n        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4360)\r\n        at android.app.ActivityThread.access$1500(ActivityThread.java:141)\r\n        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1272)\r\n        at android.os.Handler.dispatchMessage(Handler.java:102)\r\n        at android.os.Looper.loop(Looper.java:136)\r\n        at android.app.ActivityThread.main(ActivityThread.java:5052)\r\n        at java.lang.reflect.Method.invokeNative(Native Method)\r\n        at java.lang.reflect.Method.invoke(Method.java:515)\r\n        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:796)\r\n        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:612)\r\n        at dalvik.system.NativeStart.main(Native Method)\r\n     Caused by: java.lang.ClassNotFoundException: Didn't find class \"com.google.firebase.provider.FirebaseInitProvider\" on path: DexPathList[[zip file \"/data/app/io.anders.randomsensei-2.apk\"],nativeLibraryDirectories=[/data/app-lib/io.anders.randomsensei-2, /vendor/lib, /system/lib]]\r\n        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)\r\n        at java.lang.ClassLoader.loadClass(ClassLoader.java:497)\r\n        at java.lang.ClassLoader.loadClass(ClassLoader.java:457)\r\n        at android.app.ActivityThread.installProvider(ActivityThread.java:4813)\r\n        at android.app.ActivityThread.installContentProviders(ActivityThread.java:4420) \r\n        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4360) \r\n        at android.app.ActivityThread.access$1500(ActivityThread.java:141) \r\n        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1272) \r\n        at android.os.Handler.dispatchMessage(Handler.java:102) \r\n        at android.os.Looper.loop(Looper.java:136) \r\n        at android.app.ActivityThread.main(ActivityThread.java:5052) \r\n        at java.lang.reflect.Method.invokeNative(Native Method) \r\n        at java.lang.reflect.Method.invoke(Method.java:515) \r\n        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:796) \r\n        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:612) \r\n        at dalvik.system.NativeStart.main(Native Method) \r\n```\r\n\r\n\r\n## Logs\r\n\r\n<!-- Finally, paste the output of running `flutter doctor -v` here. -->\r\n\r\n```\r\n[✓] Flutter (Channel stable, v1.0.0, on Mac OS X 10.14.2 18C54, locale en-MY)\r\n    • Flutter version 1.0.0 at /Users/anders/flutter\r\n    • Framework revision 5391447fae (3 weeks ago), 2018-11-29 19:41:26 -0800\r\n    • Engine revision 7375a0f414\r\n    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)\r\n\r\n[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)\r\n    • Android SDK at /Users/anders/Library/Android/sdk\r\n    • Android NDK location not configured (optional; useful for native profiling support)\r\n    • Platform android-28, build-tools 28.0.3\r\n    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java\r\n    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)\r\n    • All Android licenses accepted.\r\n\r\n[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)\r\n    • Xcode at /Applications/Xcode.app/Contents/Developer\r\n    • Xcode 10.1, Build version 10B61\r\n    • ios-deploy 2.0.0\r\n    • CocoaPods version 1.5.3\r\n\r\n[✓] Android Studio (version 3.2)\r\n    • Android Studio at /Applications/Android Studio.app/Contents\r\n    • Flutter plugin version 31.2.1\r\n    • Dart plugin version 181.5656\r\n    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)\r\n\r\n[!] IntelliJ IDEA Ultimate Edition (version 2018.3.1)\r\n    • IntelliJ at /Applications/IntelliJ IDEA.app\r\n    ✗ Flutter plugin not installed; this adds Flutter specific functionality.\r\n    ✗ Dart plugin not installed; this adds Dart specific functionality.\r\n    • For information about installing plugins, see\r\n      https://flutter.io/intellij-setup/#installing-the-plugins\r\n\r\n[✓] VS Code (version 1.30.0)\r\n    • VS Code at /Applications/Visual Studio Code.app/Contents\r\n    • Flutter extension version 2.21.1\r\n\r\n[✓] Connected device (3 available)\r\n    • SM T815Y      • 3300ffc315341365                     • android-arm • Android 7.0 (API 24) (emulator)\r\n    • HM 1S         • d0925617                             • android-arm • Android 4.4.4 (API 19)\r\n    • iPhone XS Max • 1272421A-FE77-4B49-9F2E-3EE3A0CF58E3 • ios         • iOS 12.1 (simulator)\r\n\r\n! Doctor found issues in 1 category.\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/451662141","html_url":"https://github.com/flutter/flutter/issues/25491#issuecomment-451662141","issue_url":"https://api.github.com/repos/flutter/flutter/issues/25491","id":451662141,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTY2MjE0MQ==","user":{"login":"jonjon1123","id":691969,"node_id":"MDQ6VXNlcjY5MTk2OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/691969?v=4","gravatar_id":"","url":"https://api.github.com/users/jonjon1123","html_url":"https://github.com/jonjon1123","followers_url":"https://api.github.com/users/jonjon1123/followers","following_url":"https://api.github.com/users/jonjon1123/following{/other_user}","gists_url":"https://api.github.com/users/jonjon1123/gists{/gist_id}","starred_url":"https://api.github.com/users/jonjon1123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonjon1123/subscriptions","organizations_url":"https://api.github.com/users/jonjon1123/orgs","repos_url":"https://api.github.com/users/jonjon1123/repos","events_url":"https://api.github.com/users/jonjon1123/events{/privacy}","received_events_url":"https://api.github.com/users/jonjon1123/received_events","type":"User","site_admin":false},"created_at":"2019-01-05T14:52:37Z","updated_at":"2019-01-05T14:52:37Z","author_association":"NONE","body":"@anderscheow That workaround did the trick for me. Thanks!"}}
{"actor":{"display_login":"jonjon1123"}}