Search Unity

Main manifest uses [...]but library uses [...]

Discussion in 'Android' started by B4K3L, Feb 14, 2019.

  1. B4K3L

    B4K3L

    Joined:
    Jan 27, 2016
    Posts:
    1
    Hello, i got following error code :


    Error: [Temp\StagingArea\AndroidManifest-main.xml:16, C:\Users\Gesuc\Desktop\Unity Fixxen Test\Weed Plantage\Temp\StagingArea\android-libraries\Notifications\AndroidManifest.xml:3] Main manifest has <uses-sdk android:minSdkVersion='9'> but library uses minSdkVersion='14'

    UnityEditor.HostView:OnGUI()


    My Main manifest is using min Sdk Version 9, but my play-services are using 14, I was searching for a solution a long time already, this is my last try to fix it :(
     
  2. Voxel-Busters

    Voxel-Busters

    Joined:
    Feb 25, 2015
    Posts:
    1,966
    Only option is to set your main manifest to 14 as play services restricts to have minimum API 14.
    I don't think you have problem skipping 9-14 levels as the percentage distribution for those api levels are too low (<0.03%)

    Have a look at over here for the Android OS Distribution.