Software Archive
Read-only legacy content
17061 Discussions

Unable to create directory Android 6.0.1

Abhiraj_M_
Beginner
250 Views

Hi,

I am using File Transfer plugin v 1.5.1 and File plugin v4.1.0. In Android 6.0.1 my code is unable to create a directory whereas on lower versions it does. My API Target Version is 23.

If I explicity enable the storage permissions in the App Settings it works but how do I do it automatically. On lower versions it automatically shows a dialog box for the same and works perfectly fine.

Is someone else also facing the same issue? Can someone help me on this. I have tried adding permissions in Inter xdk config but no success:

intelxdk.config.additions.xml:
<preference name="android-permission" value="WRITE_EXTERNAL_STORAGE" />

Looking for help.

Thanks, Abhiraj!

0 Kudos
1 Reply
PaulF_IntelCorp
Employee
250 Views

I recommend you search StackOverflow for Cordova solutions to this problem. The Intel XDK creates a Cordova app, so whatever solution you can find for a Cordova (or PhoneGap) app will also apply here.

0 Kudos
Reply