Forum Discussion
nastyjman
2 years agoProtege
How do I update the AndroidManifest.xml for AppLab submission?
So I'm trying to get my app to AppLab, and I'm getting the following:
APK is debuggable (android:debuggable in AndroidManifest.xml). NOTE: you may only distribute debuggable APKs through private ch...
- 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!
nastyjman
2 years agoProtege
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!
- FokkusuES1 year agoExplorer
This worked great for us too, thanks for letting us know, but we are having a new issue and I would like to know if anyone else also has it, basically, the builds summited using this new keystore file wont boot on quest 2, but work great on quest 3, and it doesnt matter if we install them with sidequest, the meta quest developer hub, unreal with the launch or through the store, any idea what could cause this?
- FokkusuES1 year agoExplorer
It seems I had somehow a corrupted installation of android studio or any of its components, a complete reinstalation from scratch fixed this, just leaving this in case someone finds this and has the same issue.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 1 year ago