Crash app when build real device in Android
See original GitHub issue- Version: 2.0.0
I run into emulator, then even though it throws the error Attempt to invoke virtual method 'java.lang.String android.content.Intent.getAction()' on a null object reference.
but sharing is still working. However when building a real device, after pressing share it will redirect to the host app but it maybe crash(restart app).
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top Results From Across the Web
Android Studio app crashes on real device, but works on ...
Android Studio app crashes on real device, but works on emulator · Can you post the output from the Logcat regarding the crash?...
Read more >Crashes - Android Developers
An Android app crashes whenever there's an unexpected exit caused by an unhandled exception or signal. ... An app crash on an Android...
Read more >Why Do My Apps Keep Crashing on Android? - Avast
1. The “Force stop” method · 2. Restart your Android device · 3. Keep your phone updated · 4. Clear your cached data...
Read more >How to Resolve App Crashes in Android Studio?
Solutions to fix App Crash · 1. Observe the App Crash · 2. Find the Stack Trace · 3. Investigation Techniques · 4....
Read more >My Android all runs on emulator but crashes on the device ...
Adjust the minSdkversion in gradle(app level) . Or else the best solution would be to allow usb debugging in your phone's developer option...
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 FreeTop 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
Top GitHub Comments
This also cause problems in another modules (for example, exception in RNPushNotifications…)
In my case, solution in file ReceiveSharingIntentModule.java was:
…
Until this merges. You can use the snippet below. Put this in
patches/react-native-receive-sharing-intent+2.0.0.patch
and use https://www.npmjs.com/package/patch-package