Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

xdk 3987 optional permission in android build settings not work

Arthur_T_
New Contributor I
643 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
643 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