First go to:
C:\Program Files (x86)\Epic Games\4.xx\Engine\Source\Programs\UnrealBuildTool
right click on the “UnrealBuildTool” - Visual C# Project file, go to properties and remove the write protection.
Then open the “UnrealBuildTool” - Visual C# Project file with Visual Studio and look at the right site for the “Android” folder. Open it and click on the “UEDeployAndroid.cs” file.
Now you have to search for something like this:
In my Case it was at line 1544.
You can remove the permissions or just comment them out.
But leave the first two lines as they are!
Note that the Engine needs some permissions to work.
Here is a list i found in the forum:
Minimum required:
android.permission.WRITE_EXTERNAL_STORAGE
Required for AdMob:
android.permission.INTERNET
android.permission.ACCESS_NETWORK_STATE
OBB download from Google Play Store (working on for 4.8):
com.android.vending.CHECK_LICENSE
android.permission.INTERNET
android.permission.WAKE_LOCK
android.permission.ACCESS_NETWORK_STATE
android.permission.ACCESS_WIFI_STATE
Force Feedback:
android.permission.VIBRATE
InApp purchase:
com.android.vending.CHECK_LICENSE
com.android.vending.BILLING
GearVR:
android.permission.CAMERA
These are also currently included, but I think they can be dropped:
android.permission.READ_PHONE_STATE
android.permission.GET_ACCOUNTS
android.permission.MODIFY_AUDIO_SETTINGS
You can easily leave the minimum requirements in the “UEDeployAndroid.cs” – file and activate the other permissions later in the Project Settings. So you can have different permissions for each project.
In my case it looks like this now:
You only have to rebuild the “UnrealBuildTool”. I suggest to build it new.
Note: If the Engine is updated, you have to repeat all the steps.