Forum Discussion
andy_speirs_969
7 years agoProtege
APK Validation?
hi, when I upload my apk, I get the following errors?
any suggestions please, is this fixed in the player settings?
thanks, andy
any suggestions please, is this fixed in the player settings?
thanks, andy
6 Replies
- Hexapuss_SteveHeroic ExplorerI think the AndroidManifest.xml needs an edit to solve this.When I create a store APK, I remove from the AndroidManifest.xml:<category android:name="android.intent.category.LAUNCHER"/>and paste it back in when building to my phone again.AndroidManifest.xml is located at UnityProject - Plugins - Android.
- andy_speirs_969Protegethanks steve, i did this, I went to tools, remove manifest, and then I created a manifest from the tools menu.
im now getting the error in the photo attached, any suggestions please? thanks, andy
stevehinan said:
I think the AndroidManifest.xml needs an edit to solve this.When I create a store APK, I remove from the AndroidManifest.xml:<category android:name="android.intent.category.LAUNCHER"/>and paste it back in when building to my phone again.AndroidManifest.xml is located at UnityProject - Plugins - Android. - Hexapuss_SteveHeroic Explorer
andy.speirs.969 said:
im now getting the error in the photo attached, any suggestions please? thanks, andy
Hi @"andy.speirs.969"If you are using Unity:Build settings - Platform Android - if 'Development Build' is checked, try unchecking that. (I'm guessing here)If that's not the solution, hopefully someone else on the forum will suggest a fix.Below is what my AndroidManifest.xml contains, I deleted the 'package' info in-between the " " for my own security.
You would remove the launcher and adjust android:version name and code values.<?xml version="1.0" encoding="utf-8" standalone="no"?><manifest xmlns:android="http://schemas.android.com/apk/res/android"package=" "android:versionName="1.156"android:versionCode="156"android:installLocation="auto"><uses-sdk android:minSdkVersion="21" android:targetSdkVersion="26" /><uses-feature android:glEsVersion="0x00030001" android:required="true" /><uses-permission android:name="android.permission.INTERNET" /><uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /><applicationandroid:allowBackup="true"android:label="@string/app_name"><meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_only"/><activity android:configChanges="locale|fontScale|keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"android:launchMode="singleTask"android:name="com.unity3d.player.UnityPlayerActivity"android:excludeFromRecents="true"android:screenOrientation="landscape"android:label="@string/app_name"android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"><intent-filter><action android:name="android.intent.action.MAIN"/><category android:name="android.intent.category.INFO"/><category android:name="android.intent.category.LAUNCHER"/></intent-filter></activity></application></manifest> - andy_speirs_969Protegethanks, I managed to fix the manifest error, I now just get this error when it uploads to oculus store,
the development build is unchecked
thanks - Hexapuss_SteveHeroic ExplorerThe only other APK signing solutions I know of are in the following thread:https://forums.oculusvr.com/developer/discussion/73099/apk-is-signed-with-signature-scheme-v3#latest
- andy_speirs_969Protegehi steve, got it solved, needed to generate new key store,
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
- 2 years ago