Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
17060 Discussions

xdk 3987 optional permission in android build settings not work

Arthur_T_
New Contributor I
744 Views

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?

0 Kudos
1 Reply
PaulF_IntelCorp
Employee
744 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).

0 Kudos
Reply