We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWS s3 image upload Error in reading bitmap - java.io.FileNotFoundException and Unable to calculate MD5 hash, EACCES Permission denied
JS: /storage/emulated/0/DCIM/Screenshots/Screenshot_2020-11-22-22-22-21-957_com.whatsapp.jpg
JS: Error in reading bitmap - java.io.FileNotFoundException: /storage/emulated/0/DCIM/Screenshots/Screenshot_2020-11-22-22-22-21-957_com.whatsapp.jpg: open failed: EACCES (Permission denied) JS: Error in reading bitmap - java.io.FileNotFoundException: /storage/emulated/0/DCIM/Screenshots/Screenshot_2020-11-22-22-22-21-957_com.whatsapp.jpg: open failed: EACCES (Permission denied) JS: error { JS: "status": "error", JS: "message": "Unable to calculate MD5 hash: /storage/emulated/0/DCIM/Screenshots/Screenshot_2020-11-22-22-22-21-957_com.whatsapp.jpg: open failed: EACCES (Permission denied)" JS: } JS: { JS: "status": "error", JS: "message": "Unable to calculate MD5 hash: /storage/emulated/0/DCIM/Screenshots/Screenshot_2020-11-22-22-22-21-957_com.whatsapp.jpg: open failed: EACCES (Permission denied)" JS: } JS: Error in reading bitmap - java.io.FileNotFoundException: /storage/emulated/0/DCIM/Screenshots/Screenshot_2020-11-22-22-22-21-957_com.whatsapp.jpg: open failed: EACCES (Permission denied) JS: Error in reading bitmap - java.io.FileNotFoundException: /storage/emulated/0/DCIM/Screenshots/Screenshot_2020-11-22-22-22-21-957_com.whatsapp.jpg: open failed: EACCES (Permission denied)
My AndroidManifest.xml
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true"/> <uses-permission android:name="android.permission.CAMERA" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <application android:usesCleartextTraffic="true" android:name="com.tns.NativeScriptApplication" android:allowBackup="true" android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@style/AppTheme"> <service android:name= "com.amazonaws.mobileconnectors.s3.transferutility.TransferService" android:enabled="true" /> <uses-library android:name ="org.apache.http.legacy" android:required ="false"/> <activity android:name="com.tns.NativeScriptActivity" android:label="@string/title_activity_kimera" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout|locale|uiMode" android:theme="@style/LaunchScreenTheme"> <meta-data android:name="SET_THEME_ON_LAUNCH" android:resource="@style/AppTheme" /> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name="com.tns.ErrorReportActivity"/> </application>
-Android
device. What type of device? Redmi Note 7
CLI: 6.8.0
My Package JSON
{ "nativescript": { "id": "com.suthratechdev.srs", "tns-android": { "version": "6.5.0" }, "tns-ios": { "version": "6.5.0" } }, "description": "NativeScript Application", "license": "SEE LICENSE IN ", "repository": "", "scripts": { "ngcc": "ngcc --properties es2015 module main --first-only", "postinstall": "npm run ngcc" }, "dependencies": { "@angular/animations": "~9.1.0", "@angular/common": "~9.1.0", "@angular/compiler": "~9.1.0", "@angular/core": "~9.1.0", "@angular/forms": "~9.1.0", "@angular/platform-browser": "~9.1.0", "@angular/platform-browser-dynamic": "~9.1.0", "@angular/router": "~9.1.0", "@nativescript/angular": "~9.0.0", "@nativescript/imagepicker": "1.0.0", "@nativescript/theme": "~2.3.0", "@types/node": "14.14.7", "email-validator": "2.0.4", "nativescript-aws-sdk": "0.0.4", "nativescript-camera": "4.5.0", "nativescript-gif": "5.0.0", "nativescript-imagepicker": "7.1.0", "nativescript-local-notifications": "4.2.1", "nativescript-mediafilepicker": "3.0.2", "nativescript-plugin-firebase": "10.6.3", "nativescript-social-share": "1.6.0", "nativescript-socket.io": "0.11.1", "nativescript-theme-core": "1.0.6", "nativescript-ui-calendar": "6.1.0", "nativescript-ui-chart": "8.0.2", "nativescript-ui-listview": "8.0.1", "nativescript-ui-sidedrawer": "8.0.1", "nativescript-uuid": "0.0.1", "node-sass": "4.14.1", "reflect-metadata": "~0.1.12", "rxjs": "^6.5.0", "rxjs-compat": "6.6.3", "tns-core-modules": "~6.5.0", "zone.js": "~0.10.3" }, "devDependencies": { "@angular/compiler-cli": "~9.1.0", "@ngtools/webpack": "~9.1.0", "nativescript-dev-webpack": "1.5.1", "tns-platform-declarations": "~6.5.0", "typescript": "~3.8.3" }, "readme": "NativeScript Application" }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
AWS s3 image upload Error in reading bitmap - java.io.FileNotFoundException and Unable to calculate MD5 hash, EACCES Permission denied
JS: /storage/emulated/0/DCIM/Screenshots/Screenshot_2020-11-22-22-22-21-957_com.whatsapp.jpg
JS: Error in reading bitmap - java.io.FileNotFoundException: /storage/emulated/0/DCIM/Screenshots/Screenshot_2020-11-22-22-22-21-957_com.whatsapp.jpg: open failed: EACCES (Permission denied)
JS: Error in reading bitmap - java.io.FileNotFoundException: /storage/emulated/0/DCIM/Screenshots/Screenshot_2020-11-22-22-22-21-957_com.whatsapp.jpg: open failed: EACCES (Permission denied)
JS: error {
JS: "status": "error",
JS: "message": "Unable to calculate MD5 hash: /storage/emulated/0/DCIM/Screenshots/Screenshot_2020-11-22-22-22-21-957_com.whatsapp.jpg: open failed: EACCES (Permission denied)"
JS: }
JS: {
JS: "status": "error",
JS: "message": "Unable to calculate MD5 hash: /storage/emulated/0/DCIM/Screenshots/Screenshot_2020-11-22-22-22-21-957_com.whatsapp.jpg: open failed: EACCES (Permission denied)"
JS: }
JS: Error in reading bitmap - java.io.FileNotFoundException: /storage/emulated/0/DCIM/Screenshots/Screenshot_2020-11-22-22-22-21-957_com.whatsapp.jpg: open failed: EACCES (Permission denied)
JS: Error in reading bitmap - java.io.FileNotFoundException: /storage/emulated/0/DCIM/Screenshots/Screenshot_2020-11-22-22-22-21-957_com.whatsapp.jpg: open failed: EACCES (Permission denied)
My AndroidManifest.xml
-Android
device. What type of device? Redmi Note 7
CLI: 6.8.0
My Package JSON
{
"nativescript": {
"id": "com.suthratechdev.srs",
"tns-android": {
"version": "6.5.0"
},
"tns-ios": {
"version": "6.5.0"
}
},
"description": "NativeScript Application",
"license": "SEE LICENSE IN ",
"repository": "",
"scripts": {
"ngcc": "ngcc --properties es2015 module main --first-only",
"postinstall": "npm run ngcc"
},
"dependencies": {
"@angular/animations": "~9.1.0",
"@angular/common": "~9.1.0",
"@angular/compiler": "~9.1.0",
"@angular/core": "~9.1.0",
"@angular/forms": "~9.1.0",
"@angular/platform-browser": "~9.1.0",
"@angular/platform-browser-dynamic": "~9.1.0",
"@angular/router": "~9.1.0",
"@nativescript/angular": "~9.0.0",
"@nativescript/imagepicker": "1.0.0",
"@nativescript/theme": "~2.3.0",
"@types/node": "14.14.7",
"email-validator": "2.0.4",
"nativescript-aws-sdk": "0.0.4",
"nativescript-camera": "4.5.0",
"nativescript-gif": "5.0.0",
"nativescript-imagepicker": "7.1.0",
"nativescript-local-notifications": "4.2.1",
"nativescript-mediafilepicker": "3.0.2",
"nativescript-plugin-firebase": "10.6.3",
"nativescript-social-share": "1.6.0",
"nativescript-socket.io": "0.11.1",
"nativescript-theme-core": "1.0.6",
"nativescript-ui-calendar": "6.1.0",
"nativescript-ui-chart": "8.0.2",
"nativescript-ui-listview": "8.0.1",
"nativescript-ui-sidedrawer": "8.0.1",
"nativescript-uuid": "0.0.1",
"node-sass": "4.14.1",
"reflect-metadata": "~0.1.12",
"rxjs": "^6.5.0",
"rxjs-compat": "6.6.3",
"tns-core-modules": "~6.5.0",
"zone.js": "~0.10.3"
},
"devDependencies": {
"@angular/compiler-cli": "~9.1.0",
"@ngtools/webpack": "~9.1.0",
"nativescript-dev-webpack": "1.5.1",
"tns-platform-declarations": "~6.5.0",
"typescript": "~3.8.3"
},
"readme": "NativeScript Application"
}
The text was updated successfully, but these errors were encountered: