v3.0.3-rc.4 Causes android crash with latest android SDKs
See original GitHub issueRunning with command:
meteor run android-device --settings settings.json --production --mobile-server=https://my-mobile-server.example.com
With the very latest android SDKs:
- SDK Tools 25.1.6
- Platform tools 23.1
- Build tools 23.0.3
- SDK Platform v23
- Google Play Services 30
- Android Support Repository 32
, I get the following stacktrace:
05-20 22:52:38.275 16059 16204 E AndroidRuntime: java.lang.IncompatibleClassChangeError: The method 'java.io.File android.support.v4.content.ContextCompat.getNoBackupFilesDir(android.content.Context)' was expected to be of type virtual but instead was found to be of type direct (declaration of 'com.google.android.gms.iid.zzd' appears in /data/app/com.example.app-1/base.apk)
05-20 22:52:38.275 16059 16204 E AndroidRuntime: at com.google.android.gms.iid.zzd.zzeC(Unknown Source)
05-20 22:52:38.275 16059 16204 E AndroidRuntime: at com.google.android.gms.iid.zzd.<init>(Unknown Source)
05-20 22:52:38.275 16059 16204 E AndroidRuntime: at com.google.android.gms.iid.zzd.<init>(Unknown Source)
05-20 22:52:38.275 16059 16204 E AndroidRuntime: at com.google.android.gms.iid.InstanceID.zza(Unknown Source)
05-20 22:52:38.275 16059 16204 E AndroidRuntime: at com.google.android.gms.iid.InstanceID.getInstance(Unknown Source)
05-20 22:52:38.275 16059 16204 E AndroidRuntime: at com.adobe.phonegap.push.PushPlugin$1.run(PushPlugin.java:73)
05-20 22:52:38.275 16059 16204 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
05-20 22:52:38.275 16059 16204 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
05-20 22:52:38.275 16059 16204 E AndroidRuntime: at java.lang.Thread.run(Thread.java:818)
There look to be a couple of related issues on stackoverflow:
- [http://stackoverflow.com/q/37312340](IncompatibleClassChangeError after updating to Android Build Tools 25.1.6 GCM / FCM)
- Android Google Cloud Messaging (GCM) token generation crash after Firebase-related Google Play Services update
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Crashes - Android Developers
An Android app crashes whenever there's an unexpected exit caused by an unhandled exception or signal. An app that is written using Java...
Read more >My React Native App Crash After Update Target Sdk Version 31
It was working version 30. Google play forced us this update. The app crashes on Android 12 version devices. It works on android...
Read more >Flutter app crashes on start on Android: couldn't find "libflutter ...
Steps to Reproduce Build an APK or bundle on latest master commit, install on any device and the app will crash before it...
Read more >Firebase Android SDK Release Notes
Learn how to install these SDKs in your app: Add Firebase to your Android Project. ... Addressed a potential cause of an OutOfMemoryError...
Read more >Release Notes - Helpshift for Android - Developer Guide
However, this disconnect will not cause any malfunction or crash on the parent application. Use the latest sdk version. If you have released...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I updated my android SDK to the latest, and updated to rc.5, and it all seems to work well.
Thanks again for your work on this!
Hello,
I just updated to rc-5 and now this error is appearing. Hope this can help to find the issue.
This happens when i run meteor build
EDIT: I can confirm that everything work as it should on iOS, sound works without any modifications, all works nicely.
Thanks for this great package.