Search Unity

Gradle minsdk in AndroidManifest.xml error

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.
    This is what got my focus:
    GRADLE ERROR : minsdk-in-manifest
    Then I review the console and find the rest.

    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 do a file explorer and get this:
    upload_2020-10-28_15-53-31.png
    Do I go through every one to delete the entry?
     
  2. giantkilleroverunity3d

    giantkilleroverunity3d

    Joined:
    Feb 28, 2014
    Posts:
    383
    I deleted a number of assets till the error went away. Now I move forward to find where the problem exists. Sometimes in those asset stacks the order is not compliant.