Hey, I am trying to upload my app into applab but it won’t accept it
I am getting this error :
APK install location should be auto (android:installLocation in AndroidManifest.xml). See documentation at: Not Found| Oculus
and something about android:screenOrientation in AndroidManifest.xml
I added both but its still not accepting it for some reason
Sometimes warning messages contain the relevant information to resolve your issue. In your case, listen to the warning and remove the section android:screenOrientation=“landscape”.
Did you verify the manifest is correct before uploading using aapt?
This is how I use it (inside a batch script):
“C:\Program Files\Unity\Hub\Editor\2020.3.22f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\30.0.2\aapt.exe” dump badging MyGame.apk
Also while you’re at it, make sure to verify the signing is correct before uploading:
“C:\Program Files\Unity\Hub\Editor\2020.3.22f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\30.0.2\apksigner.bat” verify --verbose MyGame.apk
Hey, thanks for helping me
I tried both I am on win 11, the cmd just closing I check and the path is correct and the apk name is correct its just doing nothing
Try opening a cmd as administrator and going to the directory of your apk and running those commands there instead of making a .bat script and running it so that you can see the errors.
Alternatively, add “pause” command to your .bat script file at the end so that it doesn’t close immediately.
Thank you the first one saying that dump is unsupported command
the second one worked
Verifies
Verified using v1 scheme (JAR signing): true
Verified using v2 scheme (APK Signature Scheme v2): true
Verified using v3 scheme (APK Signature Scheme v3): false
Verified using v4 scheme (APK Signature Scheme v4): false
Verified for SourceStamp: false
Number of signers: 1
is it good?