Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Authentication Required - after trying to download a published game

Discussion in 'Android' started by nems808, Mar 28, 2015.

  1. nems808

    nems808

    Joined:
    Mar 19, 2015
    Posts:
    3
    EDIT: Indeed, if I go to google play thru browser it says that all my devices are incompatible even though the uploaded APK says to be compatible with more than 8000 devices. Below is my AndroidManifest.xml

    I have been developing for android for almost 3 years now. This is the first time I made a game using unity. Everything went smooth and I finally published my game today. However, after trying to download the game from Play Store I always get "Authentication is required" warning from google play and there is no way from me to download the game. I can normally download anything else from the store. I can run the game if I sideload the APK. I am pretty much stuck because I have no idea how to fix it. Even if I build a new APK there is no way for me to test it if the game is going to be downloadable after I publish it on Google Play. I did add some plugins, which I know are changing the manifest file (permissions etc.). I am starting to think that there is something in the manifest that is making my device incompatible even though I am using Samsung Galaxy S5 (KitKat). If anyone had a similar issue or any ideas of what I could do please help. It would be much appreciated!

    Code (CSharp):
    1. <?xml version="1.0" encoding="utf-8"?>
    2. <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="preferExternal" package="com.example.admobtest" android:versionName="1.0" android:versionCode="1">
    3.   <supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" />
    4.   <!-- Google Mobile Ads Permissions -->
    5.     <uses-permission android:name="android.permission.INTERNET" />
    6.     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    7.   <application android:icon="@drawable/app_icon" android:label="@string/app_name" android:debuggable="false">
    8.     <!-- meta-data tag for Google Play services -->
    9.     <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/>
    10.     <activity android:name="com.unity3d.player.UnityPlayerProxyActivity" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" >
    11.     <meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
    12.       <intent-filter>
    13.         <action android:name="android.intent.action.MAIN" />
    14.         <category android:name="android.intent.category.LAUNCHER" />
    15.       </intent-filter>
    16.     </activity>
    17.     <activity android:name="com.unity3d.player.UnityPlayerActivity" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" >
    18.     </activity>
    19.     <activity android:name="com.unity3d.player.UnityPlayerNativeActivity" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" >
    20.       <meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
    21.       <meta-data android:name="android.app.lib_name" android:value="unity" />
    22.     </activity>
    23.     <activity android:name="com.unity3d.player.VideoPlayer" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" >
    24.     </activity>
    25.     <!-- Google Mobile Ads Activity -->
    26.       <activity android:name="com.google.android.gms.ads.AdActivity"
    27.               android:label="@string/app_name"
    28.               android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
    29.     </activity>
    30.   </application>
    31.   <uses-feature android:glEsVersion="0x00020000" />
    32.   <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="19" />
    33. </manifest>
    34.  
     
    Last edited: Mar 28, 2015
  2. Mintah

    Mintah

    Joined:
    Aug 20, 2013
    Posts:
    20
    I'm having the same exact issue, and I have no clue what's causing this...
     
  3. nems808

    nems808

    Joined:
    Mar 19, 2015
    Posts:
    3
    I think I found what was causing the problem. How big is your APK?
     
  4. Alexbg

    Alexbg

    Joined:
    Mar 22, 2015
    Posts:
    5
    Hi everyone I am getting the same error "Authentication is required. You need to sign into your google account". And my apk is 20 mb. It was published yesterday I don't know what is happening.
     
  5. OnurYIL

    OnurYIL

    Joined:
    Nov 4, 2013
    Posts:
    140
    What was the problem?
     
  6. Alexbg

    Alexbg

    Joined:
    Mar 22, 2015
    Posts:
    5
    My problem was fixed, google have said me that it was a problem with its server.
     
  7. OnurYIL

    OnurYIL

    Joined:
    Nov 4, 2013
    Posts:
    140
    Well, oddly enough, mine was a real problem. I had graphic options changed to OpenGL Es or something like that somehow, after changing that to automatic and reposting, it was fixed.