No Activity found to handle Intent
Package version: react-native-image-crop-picker v0.42.0 React native version: react-native 0.77 Platform: android 15, emulator permission READ_MEDIA_IMAGES or READ_MEDIA_VIDEO granted Trying to open picker result in an error: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.provider.action.PICK_IMAGES typ=image/*
@ivpusic I'm sorry for tagging, but what could be the issue?
Same issue here!
Versions: react-native-image-crop-picker: 0.42.0 react: 18.2.0 react-native: 0.73.2
Permissions:
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
<uses-feature android:name="android.hardware.camera" android:required="false" />
<uses-feature android:name="android.hardware.camera.front" android:required="false" />
Error: No Activity found to handle Intent { act=android.provider.action.PICK_IMAGES typ=image/* }
@maksymhcode-care did you find any solution?
@maksymhcode-care did you find any solution?
No, but i don't have this issue with the latest version
I am facing this issue with the latest versions
"react": "19.0.0", "react-native": "0.79.6", "react-native-image-crop-picker": "^0.51.0"
I am facing this issue with the latest versions
"react": "19.0.0", "react-native": "0.79.6", "react-native-image-crop-picker": "^0.51.0"
If i'm not mistaken i think i updated the way i ask for permissions depending on a Android version
<uses-permission
android:name="android.permission.READ_EXTERNAL_STORAGE"
android:maxSdkVersion="29" />
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="29" />
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
const permissionOption =
Platform.OS === "ios"
? PERMISSIONS.IOS.PHOTO_LIBRARY
: DeviceInfo.getSystemVersion() >= "13"
? PERMISSIONS.ANDROID.READ_MEDIA_IMAGES
: PERMISSIONS.ANDROID.READ_EXTERNAL_STORAGE;
const permissionOption =
DeviceInfo.getSystemVersion() >= 13
? PERMISSIONS.ANDROID.READ_MEDIA_VIDEO
: PERMISSIONS.ANDROID.READ_EXTERNAL_STORAGE;
Can you please share react, react-native & react-native-image-crop-picker version which work for you? And also android version if possible? Thank you
Can you please share react, react-native & react-native-image-crop-picker version which work for you? And also android version if possible? Thank you
"react": "19.1.0",
"react-native": "0.81.0",
"react-native-image-crop-picker": "0.51.0",
Hi @maksymhcode-care, are you testing it on an Android device with a 16KB page size? I think this issue is occurring on that emulator. Without this I think it's working fine, The issue is on device with 16kb page size.
@ivpusic Can you please check this
Hi @maksymhcode-care, are you testing it on an Android device with a 16KB page size? I think this issue is occurring on that emulator. Without this I think it's working fine, The issue is on device with 16kb page size.
@ivpusic Can you please check this
I don't think i'm testing on a device with 16KB page size, everything works fine for me, but i can also try 16KB device
Hi everybody. 2 days ago, I received an email from Google to update my app for 16kb memory pages before november 1st. Play store console is also telling us which libraries are not compatible for now with this. Here are the details for my app (it's in French, sorry, but no worries) :
[En savoir plus](https://developer.android.com/guide/practices/page-sizes#build)
Bibliothèques non compatibles avec les pages de 16 Ko :
lib/arm64-v8a/libreanimated.so
lib/arm64-v8a/libworklets.so
lib/x86_64/libreanimated.so
lib/x86_64/libucrop.so
lib/x86_64/libworklets.so
Like you can read, it seems crop-picker is using libucrop.so causing the issue, as well as the reanimated lib.
For reanimated, I'm some versions behind so I'll check to update and for crop-picker too:
"react-native-image-crop-picker": "^0.41.2"
I just wanted to know if I update to the latest if it's already resolved, or if that is a work in progress? Thanks guys! All the best!
Hi @Kowaio 16kb page size requirement is already covered in latest version. you can upgrade to 0.51.0
Oh great! I didn't see it in the changelog, might have missed it, sorry! Great work and thanks a lot!
I'm still getting the following error:
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.provider.action.PICK_IMAGES typ=image/* (has extras) }
"react": "19.1.0",
"react-native": "0.80.2",
"react-native-image-crop-picker": "^0.51.0",
This error occurs when using an Android Emulator with 16KB of memory. It works fine on all other emulators.
No Activity found to handle Intent
Yep, I'm getting this
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.provider.action.PICK_IMAGES typ=image/* (has extras) }
with [email protected], [email protected] and [email protected], when testing on an emulator with 16kb page size enabled.
@gezquinndesign How can i enable 16KB page size on android emulator?
@gezquinndesign How can i enable 16KB page size on android emulator?
In Android Studio, you have to add a "16KB Page Size" image to your emulator - you should see it in the list of possible System Images.
You can check if your emulator has it enabled by running adb shell getconf PAGE_SIZE which will then output 16384 if configured correctly.
Looking at the code, the library is hardcoded to use the new Photo Picker API (PickVisualMedia / PickMultipleVisualMedia), which creates the PICK_IMAGES intent that's failing and there's no fallback. It's probably a facet of the 16kb page size image being experimental but I can't confirm this. Is it worth adding a fallback?