Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

Installing Android Build Support and Other Build Support Post Installation

Discussion in 'Linux Editor' started by as3mbus, Feb 2, 2018.

  1. as3mbus

    as3mbus

    Joined:
    Dec 5, 2016
    Posts:
    22
    I'd like to say sorry beforehand if, there already a post addressing this issue
    but i did searched the forum, with it's quite hard navigation about this but haven't found it
    Is there a way to install a android build support or maybe everything else after unity editor is installed.
    navigating to build setting and android navigate me to no longer existing links http://download.unity3d.com/downloa...tySetup-Android-Support-for-Editor-2017.3.0p2

    Thank you :)
     
  2. as3mbus

    as3mbus

    Joined:
    Dec 5, 2016
    Posts:
    22
    Bumping this.
     
  3. Tak

    Tak

    Unity Technologies

    Joined:
    Mar 8, 2010
    Posts:
    943
    In 2017.3+, you should be able to just rerun the installer and select Android support.
     
  4. as3mbus

    as3mbus

    Joined:
    Dec 5, 2016
    Posts:
    22
    okay, i'll try thank you as always :)
    P.S. : i ended up re downloading everything. because i changed my linux distribution. does this intended ? or is there a way unity could detect existing unity editor ?
     
  5. aweshum

    aweshum

    Joined:
    Feb 19, 2014
    Posts:
    6
    I have no idea why the link doesn't work for me
     
  6. praktech

    praktech

    Joined:
    Jan 23, 2017
    Posts:
    3
  7. Pl4yeR

    Pl4yeR

    Joined:
    Jan 10, 2019
    Posts:
    3
    I have same problem. I checked the android support checkbox when installing. 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 (JavaScript):
    1. <Error>
    2. <Code>AccessDenied</Code>
    3. <Message>Access denied.</Message>
    4. <Details>
    5. Anonymous caller does not have storage.objects.get access to publishing-unity-binaries-prd/6e9a27477296/Unknown/UnitySetup-Android-Support-for-Editor-2018.3.0f2.
    6. </Details>
    7. </Error>
    Is there any workaround to have android support working on linux?

    Ubuntu 18.04. Unity 2018.3.0f2. p7zip-full installed.
     
  8. Pl4yeR

    Pl4yeR

    Joined:
    Jan 10, 2019
    Posts:
    3
    OK, I found the problem. 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
     
  9. SamuelHubbard

    SamuelHubbard

    Joined:
    May 22, 2018
    Posts:
    1
    Awesome! I'm brand new to Linux... I'm currently running 18.04 LTS. Is there any way you could give me a bit more instruction on how to? Any help would be appreciated. I'm TRYING to learn Linux. :D
     
  10. alfish

    alfish

    Joined:
    Apr 5, 2017
    Posts:
    2
    To anyone facing this problem:
    I wanted to download WebGL support for 5.4.5, but the "Open Download Page" button in the Editor took me to this URL, which was not valid (access denied):
    http:// download.unity3d.com/download_unity/eb7a98026e69/TargetSupportInstaller/UnitySetup-WebGL-Support-for-Editor-5.4.5f1.exe
    ERROR CODE: AccessDenied; MESSAGE: Access denied.
    DETAILS: Anonymous caller does not have storage.objects.get access to publishing-unity-binaries-prd/...


    So I went to the download archive page: https://unity3d.com/get-unity/download/archive
    The target support intallers aren't available there, but I found something interesting. The URL for the 5.4.5 editor installers all begin with this:
    https:// download.unity3d.com/download_unity/68943b6c8c42/

    As you can see, the id for 5.4.5 is 68943b6c8c42, not eb7a98026e69 (I think the exact "build" of the editor was different in my case), so I changed the URL to have the id from the website and the download worked:
    https:// download.unity3d.com/download_unity/68943b6c8c42/TargetSupportInstaller/UnitySetup-WebGL-Support-for-Editor-5.4.5f1.exe

    I suppose this may work with other versions and build platforms, so if you have this problem, you could try finding the id for your Unity version in the editor installer URL from the website and use it in the URL you want to access.

    NOTE: While I was able to download and install the platform with this method, I ended up getting incompatibilities and errors when building and running that target platform, so it's best if you can use the other method (re-running the installer). But I'll leave this here for reference anyways, in case it helps someone.
     
    Last edited: Jun 12, 2019