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

UnityAds SDK 3.5.1 Android minSdkVersion

Discussion in 'Unity Ads & User Acquisition' started by a_naumuk, Nov 25, 2020.

  1. a_naumuk

    a_naumuk

    Joined:
    Dec 10, 2018
    Posts:
    8
    Hello!
    I'm trying to update UnityAds SDK (3.4.8 -> 3.5.1) in my app and it seems that latest updates of the SDK uses minSdkVersion=19 on Android. It's sad because my apps minSdkVersion is 17. I didn't find anything in release notes about minSdkVersion change. Is it intentional? Does the SDK really use version 19 API?

    Manifest merger failed : uses-sdk:minSdkVersion 17 cannot be smaller than version 19 declared in library [unity-ads.aar] C:\Users\job-badava\.gradle\caches\transforms-2\files-2.1\99fb35c30153175382805a92e04630bd\AndroidManifest.xml as the library might be using APIs not available in 17
     
    Last edited: Nov 25, 2020
    vandana102016 likes this.
  2. rasmus-unity

    rasmus-unity

    Unity Technologies

    Joined:
    Aug 15, 2014
    Posts:
    1,312
    Hi, thanks for writing. Let me talk with team about background for this change.

    /Rasmus
     
    a_naumuk likes this.
  3. a_naumuk

    a_naumuk

    Joined:
    Dec 10, 2018
    Posts:
    8
    Any update?
     
  4. a_naumuk

    a_naumuk

    Joined:
    Dec 10, 2018
    Posts:
    8
  5. kyle-unity

    kyle-unity

    Unity Technologies

    Joined:
    Jan 6, 2020
    Posts:
    336
    Hey @a_naumuk sorry about the delay in a response. Yes, the minimum sdk version was updated recently to API level 19 (Android 4.4 KitKat). This was due to a change in the SDK functionality requiring Android features that are not available before that.

    Only a tiny amount of users are still using versions of Android from before API 19, so the effect of this change should be minimal.
     
    a_naumuk likes this.
  6. a_naumuk

    a_naumuk

    Joined:
    Dec 10, 2018
    Posts:
    8
    Thank you for the information!