Search Issue Tracker

Won't Fix

Votes

0

Found in

5.4.2f2

Issue ID

852401

Regression

No

AndroidManifest merge fails when using tools:node="remove" under permissions

Android

-

Reproduction steps:
1) Download and open "852401_reproproject.zip" project
2) Try to build and run on any Android device
-- Notice that build fails:
CommandInvokationFailure: Unable to merge android manifests. See the Console for more details.

Note:
After deleting/changing tools:node="remove" in Assets/Plugins/Android/AndroidManifest.xml (18th line) build succeeds.

Reproduced with:
5.3.7f1, 5.4.3p3, 5.5.0f3, 5.6.0a6

Comments (1)

  1. tapiofragment

    May 22, 2017 09:31

    Workaround for permissions you do not want, applies only to devices with Android API 19 or newer. Add maxSdkVersion 18! Example:
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="18" />

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.