Cordova adds unwanted permission to AndroidManifest.xml when building from CLI
问题 I use CLI to build my Cordova app, and I have added the Media plugin. 'cordova build' automatically adds the android.permission.RECORD_AUDIO to my AndroidManifest.xml even though I don't use that permission. So how do I remove it? Each time I build to release, the permission is added to the apk. 回答1: In your project, edit the file plugins/org.apache.cordova.media/plugin.xml You'll see the android specific configuration <platform name="android"> <config-file target="res/xml/config.xml" parent=