Skip to content Skip to sidebar Skip to footer

Staging App.... There Was A Problem Parsing The Package

I made an app Ave that updates through my website downloading a ave.apk package. Install from unknown sources is allowed for the app. It has been working great for years. The updat

Solution 1:

It seems that in Android 11 we cannot share files from the app own files in the external removable micro sdcard storage through FileProvider: the trick <root-path name="root" path="." /> in the provider paths .xml file does not work anymore for the own app folder. Yet, it still works for the other folders in the removable storage (besides the ones in Android/data and Android/obb). If you think this is nonsense, blame Google.

So my coward solution was to download the .apk into the public Download folder Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS), and install from there. Of course this works.

Post a Comment for "Staging App.... There Was A Problem Parsing The Package"