[🐛] Activity error
See original GitHub issueDescription
When I try to call launchCamera, I get an error. If I pass an option object as argument, it returns Activity error
in response.errorMessage. If I don’t pass an option object, it returns Attempt to invoke interface method 'void.facebook.react.bridge.Callback.invoke(java.lang.Object[])' on a null object reference
. But launchMediaLibrary works as expected.
How to repeat issue and example
- calls launchCamera with or without options object
Solution
No idea.
Additional Information
- Image Picker version: 3.1.4
- React Native version: 0.61.5
- Platform: iOS and Android
- Development Operating System: MacOS
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:12 (2 by maintainers)
Top Results From Across the Web
Error type 3 Error: Activity class {} does not exist - Stack Overflow
I faced a similar problem after refactoring. This is what i did to resolve this issue: Cleaned the Project; Deleted the Build directory;...
Read more >Activity Error - Bugs and Support - Zwift Forums
Hi, i don't know if i'm right here … i'm new to Zwift. Today i made the “PACK Social Ride + San Luca...
Read more >Fixing a bug in our Account Activity API - Twitter Help Center
We recently discovered a bug in our Account Activity API (AAAPI). ... AAAPI to access your account, the bug may have impacted your...
Read more >Android Studio 4.0.1 Weird Bug: Launcher Activity Does Not ...
Unable to start the launcher activity. One workaround is to uninstall the app COMPLETELY from the device running below command line on terminal:....
Read more >"Activity Monitor Job". java.lang.NullPointerException - Bugs
Build Identifier: helios service release 2 all day, this message appear me while working An internal error occurred during: "Activity Monitor Job".
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 think there’s something to do with this issue, but I’m not sure.
I had to downgrade the
compileSdkVersion
andtargetSdkVersion
from 30 to 29 and the errors magically stopped. I tested on a physical device - Google Pixel 2. Upgrading thebuildToolsVersion
to 31 did not work for me. Camera and Gallery are both working fine now.Before
ext { buildToolsVersion = “30.0.3” minSdkVersion = 21 compileSdkVersion = 30 targetSdkVersion = 30 }
After
ext { buildToolsVersion = “30.0.3” minSdkVersion = 21 compileSdkVersion = 29 targetSdkVersion = 29 }