Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Installing Android Support through UnityHub

Discussion in 'Linux Editor' started by Pl4yeR, Jan 10, 2019.

  1. Pl4yeR

    Pl4yeR

    Joined:
    Jan 10, 2019
    Posts:
    3
    While installing Unity with UnityHub I checked the android support checkbox. Everything finished correctly but still I see the "no android module loaded" message in build settings. If I try to redownload a checked greyed out checkbox is shown with the Android support option, so I cannot uncheck/recheck it. Also I have uninstalled the editor and reinstalled it without success.

    If I click the "Open download page" link I get an error:
    <Code>AccessDenied</Code>


    The problem is that UnityHub is extracting Android Module related files directly to
    $HOME
    instead of
    "{UNITY_PATH}/Editor/Data/PlaybackEngines/AndroidPlayer"


    So I manually moved all those folders and files to the correct path (see above) and restarted Unity and this time I can switch platform correctly.

    Involved folders and files:
    Code (csharp):
    1. Apk
    2. Data
    3. Source
    4. Tools
    5. Variations
    6. Whitelists
    7. ivy.xml
    8. modules.asset
    9. UnityEditor.Android.Extensions.dll

    Found the clue while examining this file: https://public-cdn.cloud.unity3d.com/hub/prod/releases-linux.json
     
  2. Brogan89

    Brogan89

    Joined:
    Jul 10, 2014
    Posts:
    98
    You need to install `p7zip` or `pz7ip-full` package. Only the `*-full` package worked for me. I'm on pop_os 18.10
     
  3. PixelJ

    PixelJ

    Unity Technologies

    Joined:
    Nov 1, 2018
    Posts:
    12
    I'm getting this too. I've filed a bug report, but if you feel like it please file one of your own. Thanks!
     
  4. turbanov

    turbanov

    Joined:
    Dec 22, 2014
    Posts:
    42
    Please, also add a dialog box asking to install archivers, if not present!
     
  5. PixelJ

    PixelJ

    Unity Technologies

    Joined:
    Nov 1, 2018
    Posts:
    12
    Top people are working on it.