Search Unity

Bug Android SDK, NDK, and OpenJDK aren't marked with executable permission on Linux

Discussion in 'Unity Hub' started by TheOminousOne, Feb 10, 2022.

  1. TheOminousOne

    TheOminousOne

    Joined:
    Mar 5, 2017
    Posts:
    2
    Since updating to unity hub v3 the Android SDK, NDK, and OpenJDK installed with unity is not marked with executable permission on Linux (Manjaro for me) which causes all kinds of errors when building for Android. I am not sure if this is because of unity hub v3 but it started after I downloaded a new version of the editor with the new unity hub so that is what I am assuming.
     
    Limewood_ and jjmontes like this.
  2. jjmontes

    jjmontes

    Joined:
    Apr 7, 2014
    Posts:
    8
    Same here.
     
  3. MikhaelMartin

    MikhaelMartin

    Joined:
    Sep 4, 2019
    Posts:
    7
    Same here.. happening after using unity Hub V3 on pop-os 21.10. Temporary workaround is to change permission of all android player folders.

    example:
    chmod 770 ~/Unity/Hub/Editor/2020.3.32f1/Editor/Data/PlaybackEngines/AndroidPlayer/ --recursive
     
    TheOminousOne likes this.
  4. MikhaelMartin

    MikhaelMartin

    Joined:
    Sep 4, 2019
    Posts:
    7
    One more thing. i need to also create a group named "plugdev" and add my username to that group. i think without this, installed adb in unity editor wont start.

    example:
    usermod -a -G plugdev USERNAME

    change USERNAME to your user name in linux.
     
  5. homuler

    homuler

    Joined:
    May 6, 2020
    Posts:
    2