Waterdish / Shipwright-Android

Ship of Harkinian Android Port
240 stars 14 forks source link

Android 14 prevents access to /Android/Data/* #53

Open NuVanDibe opened 1 month ago

NuVanDibe commented 1 month ago

Description of the bug:

Android introduced scoped storage access a few versions ago, and as of Android 14 restricts access to all apps so that it is not possible to copy files into Android/data/. This is an issue because the current method of installing mods requires accessing Android/data/com.dishii.mm/files. There is currently a workaround which involves using the Files app in the Play Store, but this app is being sunset at some point in the future and will no longer function as a workaround.

Can you reproduce? If so please list the steps:

  1. Be using Android 14
  2. Be not rooted
  3. Try copying files into Android/data/com.dishii.soh/files

Expected behavior:

Mods are able to be installed.

System Information:

Additional Information:

This also currently affects https://github.com/Waterdish/2ship2harkinian-Android

Waterdish commented 1 month ago

As far as I know, adb connections will still work going into the future so shizuku and file manager apps that work with it should be able to access those folders. Though I may still move the mods folder since this is a hassle for many people.