Android Question API 26

omoba

Active Member
Licensed User
Longtime User
Hi,

the line of code below worked fine with manifest at <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="14"/>

If File.Exists(File.DirRootExternal, "/Storage/") = False Then
File.MakeDir(File.DirRootExternal, "/Storage/")


However with the new API 26 requirement (targetSdkVersion="26"), the Storage folder is not created.

Pls help
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

omoba

Active Member
Licensed User
Longtime User
Thanks for link; per the link, I changed the lines of code to lines below and everything works fine with manifest
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="26"/>

If File.Exists(File.DirInternal, "/Storage/") = False Then
File.MakeDir(File.DirInternal, "/Storage/")
 
Upvote 0
Top