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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question How Do I download Android Gradle Plugin 7.4?

Discussion in 'Android' started by unity_xarzu, Oct 18, 2022.

  1. unity_xarzu

    unity_xarzu

    Joined:
    Dec 23, 2021
    Posts:
    12
    How Do I download Android Gradle Plugin 7.4?

    As I was making this post, this web forum times out and logged me out and all my work was lost. So I am going to save this as I type.

    For starters, Android Studio is dealing with two kinds of Gradle as seen in the Project Structure:

    http://www.millionthompson.com/images/work/050_Screenshot 2022-10-18 064324.jpg


    Luckily, I found on the developer.android.com site, some information regarding the relationship between thest two things. https://developer.android.com/studio/releases/gradle-plugin?buildsystem=ndk-build#updating-gradle

    And, on this page, I found this table which tells me what version of the plug-in I need.

    http://www.millionthompson.com/images/work/045.PNG

    So, where do I find this?
     
  2. Voxel-Busters

    Voxel-Busters

    Joined:
    Feb 25, 2015
    Posts:
    1,853
    You can get the gradle versions from here.
    Note that Gradle version is different from Android Gradle Plugin version. Yea! Stupid naming!
     
  3. unity_xarzu

    unity_xarzu

    Joined:
    Dec 23, 2021
    Posts:
    12
    I had to launch android studio in priv mode and upgrade from there. But I made it all work.

    Note to future self and others: You can do the upgrade in the IDE but you have to launch android studio in privledged mode from the command line. And android studio is a shel script .sh in the bin directory of Android studio. So it is something like:

    sudo ./android.sh
     
    Last edited: Oct 19, 2022