404 Not Found


nginx/1.18.0 (Ubuntu)
Closed open failed: EACCES (Permission denied) on Android 29 - School of Applied STEM - Universitas Prasetiya Mulya

Closed open failed: EACCES (Permission denied) on Android 29

School of Applied STEM - Universitas Prasetiya Mulya > S1 Digital Business Technology > Closed open failed: EACCES (Permission denied) on Android 29

Error when using React Native Image Picker on Android 29.
When using Android 28, everything goes well.

Please check how to fix the code:

Change Android Manifest

android:requestLegacyExternalStorage="true"

Change Android Graddle (app/build.gradle)

subprojects {
    afterEvaluate {project ->
        if (project.hasProperty("android")) {
            android {
                compileSdkVersion 29
                buildToolsVersion '29.0.3'
            }
        }
    }
}

source link: https://github.com/react-native-image-picker/react-native-image-picker/issues/1233

Leave a Reply