Makedir on SD card failed
- airsoftsoftwair
- Posts: 4980
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Makedir on SD card failed
This is related to a new permission management concerning SDcard access starting with apps that target Android's API level 30. APK Compiler 4.0 targets API level 30 because this is now the requirement for uploading apps to the Play Store. It looks like Google now wants everybody to use something that is called "scoped storage system" but I haven't fully figured out how to use that myself or how to still get access to the SDcard like before. This is also the reason why the Hollywood Player 9.1 isn't available on the Play Store yet because it also accesses /sdcard/Hollywood. I'll need to dig into this to see how it can be resolved.
Re: Makedir on SD card failed
Just did a quick test with HW9.1 and apk-compiler 4.1 and those four examples listed earlier.
HW9.1/Compiler 4.1 works just the same as compiled with HW9.0/compiler 4.0, none of the four examples are able to create a directory.
Strange enaugh, example 2, 3 od 4 does work as hwa's with player 9.1.
HW9.1/Compiler 4.1 works just the same as compiled with HW9.0/compiler 4.0, none of the four examples are able to create a directory.
Strange enaugh, example 2, 3 od 4 does work as hwa's with player 9.1.
- airsoftsoftwair
- Posts: 4980
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Makedir on SD card failed
It's not strange, the behaviour you're seeing is completely expected. As described in my previous post, the Hollywood Player 9.1 for Android targets API level 29 which means that it will be allowed to access /sdcard. APK Compiler 4.x will create apps that target API level 30, though, because that is now the Play Store requirement. But apps that target API level 30 won't have access to /sdcard. Google has massively increased restrictions with API level 30 and apps that want to have access to /sdcard will only be allowed on the Play Store after an "extended review" by Google that may take several weeks and also lots of formal stuff has to be submitted to Google for every app that wants to access /sdcard. See here: https://support.google.com/googleplay/a ... 4102?hl=en Rumour has it that only apps by very big companies pass that review. This is also why the 9.1 player is currently not available on the Play Store but only on http://www.hollywood-mal.com/ because of course it also accesses /sdcard/Hollywood.amyren wrote: ↑Tue Jun 07, 2022 3:22 pmJust did a quick test with HW9.1 and apk-compiler 4.1 and those four examples listed earlier.
HW9.1/Compiler 4.1 works just the same as compiled with HW9.0/compiler 4.0, none of the four examples are able to create a directory.
Strange enaugh, example 2, 3 od 4 does work as hwa's with player 9.1.
I still need to work out how to deal with this but the behaviour you're seeing is completely normal and not a bug or anything.