Shubi When you open your project in Android Studio the Gradle sync will initially fail, this is because they changed something in Gradle and Cordova hasn't caught up yet. Here is how to resolve the issue so you can use the project.
Select the error message The minSdk version should not be declared in the android manifest file...
In the right hand panel it will repeat the description, and there will be some text in blue that you can click on saying "Move minSdkVersion to build files and sync project".
Finally click the "Do refactor" button to confirm you want it to make the change.
It might take a moment to complete the sync. You will likely have a warning about the targetSdk version still, but no errors. You can repeat this process for the targetSdk if you wish but it doesn't matter.
Now that you have hopefully got the project working again we can remove the permissions. In the project bar select App > manifests > AndroidManifest.xml
and double click to open the file.
Inside this file you should have some lines that look like <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
. These are the declarations that each permission is required. If you delete the line, the project will no longer include that permission requirement. Delete the permissions you do not want.
To get your release APK go to the top menu and select Build > Generate Signed Bundle / APK and follow the on screen instructions.