Two issues: Access is denied and Sharing violation on path
Posted: Thu Oct 17, 2019 9:00 am
Hi there! My crashalytics shows me 2 type of issues related to ES3
1)Access to the path "/storage/emulated/0/Android/data/com.myapp.id/files/SaveData.es3" is denied (should i get WRITE_EXTERNAL_STORAGE permission ?)
I think it could be useful to show you my AndroidManifest
2)Sharing violation on path /storage/emulated/0/Android/data/com.myapp.id/files/SaveData.es3
Could you give me some advises how to solve these problems?
Thanks.
1)Access to the path "/storage/emulated/0/Android/data/com.myapp.id/files/SaveData.es3" is denied (should i get WRITE_EXTERNAL_STORAGE permission ?)
I think it could be useful to show you my AndroidManifest
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.myapp.id"
xmlns:tools="http://schemas.android.com/tools"
android:installLocation="preferExternal"
android:versionCode="2064"
android:versionName="1.5.0">
<supports-screens
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:xlargeScreens="true"
android:anyDensity="true"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE" tools:node="remove"/>
<uses-permission android:name="android.permission.BLUETOOTH" tools:node="remove"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="18"/>
<uses-feature android:name="android.hardware.location" android:required="false"/>
<uses-feature android:name="android.hardware.location.network" android:required="false"/>
<uses-feature android:name="android.hardware.telephony" android:required="false"/>
<uses-feature android:name="android.hardware.bluetooth" android:required="false"/>
<uses-feature android:name="android.hardware.camera" android:required="false"/>
<uses-feature android:name="android.hardware.camera.front" android:required="false"/>
<application
android:theme="@style/UnityThemeSelector"
android:icon="@drawable/app_icon"
android:label="@string/app_name"
android:name="androidx.multidex.MultiDexApplication">
<meta-data
android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@drawable/notify_icon_small"/>
<meta-data android:name="com.google.firebase.messaging.default_notification_color"
android:resource="@color/colorAccent"/>
<meta-data android:name="unityplayer.SkipPermissionsDialog" android:value="true"/>
<activity android:name="com.google.firebase.MessagingUnityPlayerActivity"
android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<meta-data android:name="unityplayer.UnityActivity" android:value="true"/>
</activity>
<service android:name="com.google.firebase.messaging.MessageForwardingService"
android:exported="false"/>
<provider
android:name="com.yasirkula.unity.UnitySSContentProvider"
android:authorities="com.myapp.id"
android:exported="false"
android:grantUriPermissions="true"/>
</application>
</manifest>
Could you give me some advises how to solve these problems?
Thanks.