Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Arthur_T_
New Contributor I
114 Views

xdk 3987 optional permission in android build settings not work

after I added

android.permission.WRITE_EXTERNAL_STORAGE

to android build settings: Add Permissions

then create the package, it is not added to config.xml

Then I try to add to intelxdk.config.additions.xml instead as:

<platform name="android">
    <config-file target="AndroidManifest.xml" parent="/*">
      <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    </config-file>
</platform>

but config.xml only contain this:

<config-file target="AndroidManifest.xml" parent="/*">
      </config-file>

Is it a bug and how can I add the permission?

Tags (2)
0 Kudos
1 Reply
PaulF_IntelCorp
Employee
114 Views

In the Build Settings field for additional permissions, did you add it as "WRITE_EXTERNAL_STORAGE" or as "android.permission.WRITE_EXTERNAL_STORAGE"? You need to use the shorter one (the first example).

Reply