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. Dismiss Notice

[Released] Ultimate Mobile

Discussion in 'Assets and Asset Store' started by stanislav-osipov, Aug 14, 2014.

  1. Eysar82

    Eysar82

    Joined:
    Jun 21, 2013
    Posts:
    4
    Hi @lacost ,

    after updated to latest Version 2020.10.1 we getting on android this error as following:

    Code (CSharp):
    1. 12-03 11:51:15.667 6627-6664/com.triboot.games.tmcblitz E/Unity: AndroidJavaException: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.triboot.games.tmcblitz/com.stansassets.core.utility.AN_ProxyActivity}; have you declared this activity in your AndroidManifest.xml?
    2.     android.content.ActivityNotFoundException: Unable to find explicit activity class {com.triboot.games.tmcblitz/com.stansassets.core.utility.AN_ProxyActivity}; have you declared this activity in your AndroidManifest.xml?
    3.         at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1794)
    4.         at android.app.Instrumentation.execStartActivity(Instrumentation.java:1512)
    5.         at android.app.Activity.startActivityForResult(Activity.java:3930)
    6.         at android.app.Activity.startActivityForResult(Activity.java:3890)
    7.         at android.app.Activity.startActivity(Activity.java:4213)
    8.         at android.app.Activity.startActivity(Activity.java:4181)
    9.         at com.stansassets.core.utility.AN_ProxyActivity.Create(AN_ProxyActivity.java:33)
    10.         at com.stansassets.core.utility.AN_ProxyActivity.startForResult(
    This is happening, when we perform AN_GoogleSignIn interactive SingIn.
    Do you have any idea, how we can solve it?

    Thanks in advance
    Eysar
     
    Last edited: Dec 3, 2020
  2. Ardito92ITA

    Ardito92ITA

    Joined:
    Apr 1, 2014
    Posts:
    37
    I have the same error with Unity 2021
     
  3. Ardito92ITA

    Ardito92ITA

    Joined:
    Apr 1, 2014
    Posts:
    37
    I found the solution:

    Edit Plugins/Android/AndroidManifest.xml in Unity project

    Code (CSharp):
    1. <activity android:name="com.stansassets.core.utility.AN_ProxyActivity" android:launchMode="singleTask" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:theme="@android:style/Theme.Translucent.NoTitleBar" />
    2.     <activity android:name="com.stansassets.android.app.permissions.AN_PermissionsProxyActivity" android:launchMode="singleTask" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:theme="@android:style/Theme.Translucent.NoTitleBar" />
    --> I copied these tag from
    Assets\Plugins\StansAssets\NativePlugins\AndroidNativePro\Android\Core\an_library.bundle\AndroidManifest.xml

    --> Inside the application tag in AndroidManifest.xml

    build my project again.