RoeiRubach / Unity Android Support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
1. Restart the PC |
2. Go to: |
C:\Program Files\Unity\Hub\Editor\2019.2.6f1\Editor\Data\PlaybackEngines\ |
(this example is for 2019.2.6f1 but you can choose any other) |
3. You will find there a folder «AndroidPlayer». Delete that AndroidPlayer folder. |
You will need to be a User with Admin rights, and this is probably why Unity fails on uninstall, it has no permission to delete the folder. |
4. Go to: |
https://unity3d.com/unity/whats-new/2019.2.6 |
(this example is for 2019.2.6f1, on the right side of the page, choose your version) |
Or if using BETA version go to: |
https://unity3d.com/unity/beta/2019.3#downloads |
Future releases, just adapt the link or Google it. |
5. On the left side of that page under Component Installers Windows (or macOS), choose Android Target Support. |
6. It will download UnitySetup-Android-Support-for-Editor-2019.2.6f1.exe in this example, so run that to install. Done! |
Cheers! |
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Источник
Unity | Error «Failed to delete old Unity Android Support»
Показать панель управления
- Опубликовано: 29 июл 2021
- Troubleshoot «Failed to remove old Unity Android support installation files» error and install SDK, NDK, JDK and gradle without Android Studio*
—————————-
* — if you need higher API level download SDK via android build support
—————————-
Short instructions in English:
** — I advise you to disable real-time file scanning in your antivirus (it heavily loads the system)
0:25 — removing the old version of the unity editor
0:35 — change Unity Hub to beta
1:40 — set a convenient place for editor files and temporary files
2:08 — installing editor and android build support files + SDK, NDK and OpenJDK
3:13 — do not download ndk from the site!
6:01 — click the third button in the error window (this is not yet a solution to the problem)
7:03 — wait for the installation to complete (the line «Android Buid Support» will disappear from the task manager)
7:45 — follow the path from the video and empty the folder
8:00 — go to the previously created folder for temporary files
8:13 — unzip the files shown in the video
8:35 — install android build support from the same folder to the folder with the editor
9:28 — in the AndroidPlayer folder create 3 more folders — «SDK», «NDK» and «OpenJDK»
9:50 — unzip jdk8u172. 7b4.zip to your OpenJDK folder
10:05 — unzip android-ndk. 64.zip to your NDK folder (you need the contents of the android-ndk-r19 folder!)
If you download the SDK via Android Studio, you don’t have to watch the video further, but make sure that only 30.0.2 is downloaded for the Android SDK build tools (it didn’t work for me in version 31.0.0) and don’t forget to rate the video if I helped you.
11:07 — in the SDK folder create the build-tools folder, in the created folder create a folder named 30.0.2 and drag the contents of the android-11 folder from the efbaa. build-tools_r30.0.2-windows archive.zip
12:03 — move the contents of the remaining archives as shown in the video, BUT put the android-10 folder in the «platforms» folder (SDK \\ platforms \\ android-10)
Thanks for watching!
www.donationalerts.com/r/your_ip
Комментарии • 38
Привет, спасибо за гайд, но есть еще одно но которое например мне, не давало скомпилировать билд. Это папку (android 10) нужно положить в SDK\platforms\ и уже тогда заработало
@Wol А нужно папку android-10 туда класть, или файлы из нее?
Если этой папки нет, то можно и создать)
нужно создать папку platforms?
И правда, эта папка должна храниться именно там! (в папке android-10 находится API level 29)
а у меня ошибка всё равно : Editor application install failed instaliation failed
проверь в творческой студии коменты на проверке пж
Если ты не против, я переснял видос уже без некоторых твоих ошибок.. Буду благодарен если не удалишь или закрепиш, я старался. thexvid.com/video/54M3Z9m4_98/видео.html
Я не одобряю перезаписывание видосов, но если это кому-то поможет, то ладно.. но закреплять не буду
Помогите, не удалось скомпилить, пишет Gradle Build Failed, ссылаеться на OpenJDK, tools, java.exe (tools и java.exe в папке OpenJDK)
Версия unity: 2020.3.21f1
Изменено: в папке с OpenJDK у меня есть scr.zip, может мне нужно его куда-то распаковать?
@Wol Спасибо, еще мне удалось исправить ошибку Grandle Build (эт другое чет), в общем нужно переместить папку с проектом на любой другой путь, на котором не будут содержаться русские буквы. Это тоже помогло.
Дело закрыто так сказать 😁👍
Решений этой проблемы предложили много, лично мне помогло простое переименование папки android-10 в android-29
Источник
Unity | Error «Failed to delete old Unity Android Support»
Показувати елементи керування програвачем
- Опубліковано 29 лип 2021
- Troubleshoot «Failed to remove old Unity Android support installation files» error and install SDK, NDK, JDK and gradle without Android Studio*
—————————-
* — if you need higher API level download SDK via android build support
—————————-
Short instructions in English:
** — I advise you to disable real-time file scanning in your antivirus (it heavily loads the system)
0:25 — removing the old version of the unity editor
0:35 — change Unity Hub to beta
1:40 — set a convenient place for editor files and temporary files
2:08 — installing editor and android build support files + SDK, NDK and OpenJDK
3:13 — do not download ndk from the site!
6:01 — click the third button in the error window (this is not yet a solution to the problem)
7:03 — wait for the installation to complete (the line «Android Buid Support» will disappear from the task manager)
7:45 — follow the path from the video and empty the folder
8:00 — go to the previously created folder for temporary files
8:13 — unzip the files shown in the video
8:35 — install android build support from the same folder to the folder with the editor
9:28 — in the AndroidPlayer folder create 3 more folders — «SDK», «NDK» and «OpenJDK»
9:50 — unzip jdk8u172. 7b4.zip to your OpenJDK folder
10:05 — unzip android-ndk. 64.zip to your NDK folder (you need the contents of the android-ndk-r19 folder!)
If you download the SDK via Android Studio, you don’t have to watch the video further, but make sure that only 30.0.2 is downloaded for the Android SDK build tools (it didn’t work for me in version 31.0.0) and don’t forget to rate the video if I helped you.
11:07 — in the SDK folder create the build-tools folder, in the created folder create a folder named 30.0.2 and drag the contents of the android-11 folder from the efbaa. build-tools_r30.0.2-windows archive.zip
12:03 — move the contents of the remaining archives as shown in the video, BUT put the android-10 folder in the «platforms» folder (SDK \\ platforms \\ android-10)
Thanks for watching!
www.donationalerts.com/r/your_ip
КОМЕНТАРІ • 38
Привет, спасибо за гайд, но есть еще одно но которое например мне, не давало скомпилировать билд. Это папку (android 10) нужно положить в SDK\platforms\ и уже тогда заработало
@Wol А нужно папку android-10 туда класть, или файлы из нее?
Если этой папки нет, то можно и создать)
нужно создать папку platforms?
И правда, эта папка должна храниться именно там! (в папке android-10 находится API level 29)
а у меня ошибка всё равно : Editor application install failed instaliation failed
проверь в творческой студии коменты на проверке пж
Если ты не против, я переснял видос уже без некоторых твоих ошибок.. Буду благодарен если не удалишь или закрепиш, я старался. ua-cam.com/video/54M3Z9m4_98/v-deo.html
Я не одобряю перезаписывание видосов, но если это кому-то поможет, то ладно.. но закреплять не буду
Помогите, не удалось скомпилить, пишет Gradle Build Failed, ссылаеться на OpenJDK, tools, java.exe (tools и java.exe в папке OpenJDK)
Версия unity: 2020.3.21f1
Изменено: в папке с OpenJDK у меня есть scr.zip, может мне нужно его куда-то распаковать?
@Wol Спасибо, еще мне удалось исправить ошибку Grandle Build (эт другое чет), в общем нужно переместить папку с проектом на любой другой путь, на котором не будут содержаться русские буквы. Это тоже помогло.
Дело закрыто так сказать 😁👍
Решений этой проблемы предложили много, лично мне помогло простое переименование папки android-10 в android-29
Источник
Failed to delete old unity android support installation files
1. Open Unity Hub and go to the Installs tab
2. Click ADD and select any Unity version available there
3. Click NEXT and then DONE
4. Disconnect from the internet while the Editor is still downloading
5. Download and install the same Unity Editor versions as in step 2 from the Unity download archive
6. In the Installs tab click ADD and locate the Editor installed in step 5
Expected results: the Editor is added to the list of Unity installations
Actual results: Installation failed message is displayed and attempting to remove the Editor results in «Could not Delete Files» error
Reproducible with: 2.4.0
Not reproducible with: 2.3.2
Notes:
-An already existing installation can be used in the 5th step to reproduce the issue
-Restarting Unity Hub doesn’t fix the issue and the «failed» installations remain. To fix the issue, deleting the Hub cache seems to be required
-Editors.json file points to the correct Editor location after reproducing the bug
-After reproducing the issue a «no folder path defined for
Workaround (the file name changes depending on the version that’s stuck in the «failed» state):
Windows: delete the «C:\Users\USERNAME\AppData\Roaming\UnityHub\downloadProgress%3A2018.4.27f1.json» file
Mac: delete the «
/Library/Application Support/UnityHub/downloadProgress%3A2018.4.27f1.json» file
Linux: delete the «
Fixed in Unity Hub 2.4.1
Comments (10)
May 16, 2021 01:22
May 03, 2021 13:57
Mar 14, 2021 22:39
I have Unity on my Chromebook. I downloaded it using terminal. My Chromebook has a like about 13.1GB of storage. I’m trying to add an old version of Unity editor with Android build support and i get the message installation failed/there is not enough storage to download the selected items. So I’m having the same issue.
Jan 24, 2021 07:24
FIX :After the install fails from unity hub go to C:\Users\USERNAME\AppData\Local\Temp\ and run the installer from there directly .This is the only thing that worked for me .
Jan 11, 2021 03:17
Sep 18, 2020 07:43
Same painful issue here (with Unity Hub 2.4.0)
Sep 15, 2020 16:58
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Sep 15, 2020 16:58
1. Open Unity Hub and go to the Installs tab
2. Click ADD and select any Unity version available there
3. Click NEXT and then DONE
4. Disconnect from the internet while the Editor is still downloading
5. Download and install the same Unity Editor versions as in step 2 from the Unity download archive
6. In the Installs tab click ADD and locate the Editor installed in step 5
Expected results: the Editor is added to the list of Unity installations
Actual results: Installation failed message is displayed and attempting to remove the Editor results in «Could not Delete Files» error
Reproducible with: 2.4.0
Not reproducible with: 2.3.2
Notes:
-An already existing installation can be used in the 5th step to reproduce the issue
-Restarting Unity Hub doesn’t fix the issue and the «failed» installations remain. To fix the issue, deleting the Hub cache seems to be required
-Editors.json file points to the correct Editor location after reproducing the bug
-After reproducing the issue a «no folder path defined for
Workaround (the file name changes depending on the version that’s stuck in the «failed» state):
Windows: delete the «C:\Users\USERNAME\AppData\Roaming\UnityHub\downloadProgress%3A2018.4.27f1.json» file
Mac: delete the «
/Library/Application Support/UnityHub/downloadProgress%3A2018.4.27f1.json» file
Linux: delete the «
Sep 15, 2020 16:56
Workaround (the file name changes depending on the version that’s stuck in the «failed» state):
Windows: delete the «C:\Users\USERNAME\AppData\Roaming\UnityHub\downloadProgress%3A2018.4.27f1.json» file
Mac: delete the «
/Library/Application Support/UnityHub/downloadProgress%3A2018.4.27f1.json» file
Linux: delete the «
Sep 15, 2020 16:55
How can we assist you today?
Learn more about Analytics here. Please feel free to also submit requests and feedback on the Unity Analytics forum and make sure to check out our FAQ.
Источник