How do I update the AndroidManifest.xml for AppLab submission?
- 2 years ago
Regarding the permissions, I resolved my issue with this video: https://www.youtube.com/watch?v=vMBwlkoCf_o
However, now I'm having problems with Keystore, which tells me it's Invalid, even though I followed the instructions. I tried multiple times, generating a new keystore, but it still won't let me sign for distribution.
Any help is appreciated!
--- Keystore Solution below
Solution finally found!
If you are having a "keystore invalid format" problem, you're probably using the keytool command line instructions. That's not working for me, and might not be working for you.
To fix, open Android Studio, create a Blank Project, and then go to "Build->Generate Signed Bundle/APK". This might be grayed out at the start since the project is loading files. If it's still grayed out, click the magnifying glass and search "Generate Signed Bundle." (Source of solution: https://www.reddit.com/r/unrealengine/comments/126h3az/invalid_keystore_format/ )
Put in the info for your keystore. You'll notice that the filetype is .jks, which is different from the official documentation that creates a .keystore filetype. Use the .jks filetype. Then choose "release" and "V2" version.
If you get an error when running this, then you may have to rename some files in your Android Folders. You will be renaming 2 files, which are d8.bat and d8.jar. Here's the link on how to fix that: https://stackoverflow.com/questions/68387270/android-studio-error-installed-build-tools-revision-31-0-0-is-corrupted
Once that's done, place the generated keystore (.jks) to the Build/Android folder. Package your project in Unreal, and it should package correctly!