cancel
Showing results for 
Search instead for 
Did you mean: 

APK Validation?

andy_speirs_969
Protege
hi, when I upload my apk, I get the following errors? 
b7txuq6vc3n2.jpg

any suggestions please, is this fixed in the player settings?

thanks, andy
6 REPLIES 6

Metal_Multiball
Heroic Explorer
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.

andy_speirs_969
Protege
thanks 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, andy255bpmm06i4t.jpg


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.




Metal_Multiball
Heroic Explorer


im now getting the error in the photo attached, any suggestions please? thanks, andy255bpmm06i4t.jpg


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"?>
  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" />
  <application
      android: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_969
Protege
thanks, 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

Metal_Multiball
Heroic Explorer
The only other APK signing solutions I know of are in the following thread:

andy_speirs_969
Protege
hi steve, got it solved, needed to generate new key store,