Search Unity

Note: Recompile with -Xlint:deprecation for details.

Discussion in 'Android' started by giantkilleroverunity3d, Oct 28, 2020.

  1. giantkilleroverunity3d

    giantkilleroverunity3d

    Joined:
    Feb 28, 2014
    Posts:
    383
    I receive this in Unity 2020.1.10f1 when building for Android to push to Quest.
    How do I set this?
    It happens in the console right after:
    Note: C:\Users\phyzx\Documents\UnityProjects\SurforgeTest132-2020.1.9f1\Temp\gradleOut\unityLibrary\src\main\java\com\unity3d\player\UnityPlayerActivity.java uses or overrides a deprecated API.
    Which happens right after this:
    GRADLE ERROR : minsdk-in-manifest
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr, Boolean&)

    So the true order is:
    Gradle error which shows up as a !(info)warning
    deprecated api which shows up as a !(stop) error
    Recompile which shows up as a !(stop)
    and then 227 !(stop) errors after that) system just crumbles.

    I cant create new tags which are pertinent to this post. Really? When days go by this post will disappear into the waste land.
     
  2. JuliusM

    JuliusM

    Unity Technologies

    Joined:
    Apr 17, 2013
    Posts:
    835
    Do you have a custom android manifest? If you do, check if you set minSDK in it.
     
  3. Personuo

    Personuo

    Joined:
    Mar 19, 2014
    Posts:
    129
    Did you finally solve the problem?
     
  4. giantkilleroverunity3d

    giantkilleroverunity3d

    Joined:
    Feb 28, 2014
    Posts:
    383
    Not yet. Sorry for the pause. I have had numerous other Unity crashes to fix. I have not gotten back up to speed.
    This is on my list as I have Android pushes in the que.
    The Android Application that is impacted by this is Roulette Master. I would like to be able to recompile and resubmit. This sits in the Google play submission waiting for a year now to get past the Korean Game Review board for porn and gambling audits which this does not incorporate. There is only one of me and I have 5 projects waiting for finishing touches. I am spread too thin.
    I will use this info here to run a push when I get the time. Every category of work in Unity is a basket of nightmares so I have to choose my attempts.

     
    Last edited: Apr 1, 2021
  5. davidajr1

    davidajr1

    Joined:
    Aug 17, 2022
    Posts:
    2
    try this.
    this error if you read through it is because your key manager key is not the proper format for unity graple. you need to go into the build settings - player settings navigate to the android publish settings select custom keystore and build a key for your app and then build. you can also do this through edit - project settings - player. none of the video's i have watched on building an oculus app explains this. but having been an android developer since 2010 and having built many android apps i realized i had this type of problem before.