При установке Android Studio столкнулся с проблемой установки SDK. Нажать кнопку «Next» нельзя, а внизу с пометкой «внимание» находится надпись: Your SDK location contains non-ASCII characters. Что делать в такой ситуации? Я нашел два рабочих решения.
Содержание:
- Причина ошибки
- Варианты устранения ошибки
- Вариант 1: изменение пути
- Вариант 2: смена имени пользователя
Причина ошибки
Она банальна. Имя вашей учетной записи Windows написано не на английском. А программа брезгует устанавливать файлы в директорию, если папка в ней указана на другом языке (русский, турецкий, испанский, арабский и прочее).
Варианты устранения ошибки
Процесс устранения сводится к тому, чтобы обеспечить англоязычный путь к Android SDK.
Вариант 1: изменение пути
Банальный способ, который помог обойти ошибку:
- Зайдите на диск C: и создайте две папки AndroidSDK.
- Вернитесь в Android Studio Setup Wizard.
- В пути Android SDK Location выберите путь установки C: Android SDK.
- Нажимайте Next и ждите завершения установки.
Вариант 2: смена имени пользователя
Более замороченный способ со сменой имени профиля на англоязычное. Пока вы находитесь в этой учетной записи, переименовать папку невозможно. Поэтому:
- Через поиск найдите CMD и откройте от имени администратора.
- Введите команду net user Администратор /active:yes
- Выйдите из системы и зайдите в профиль только что включенной учетки администратора.
- Нажмите ПКМ на Пуск и выберите «Управление компьютером».
- Перейдите в раздел Управление компьютером — Локальные пользователи — Пользователи, нажмите ПКМ по имени учетной записи и отредактируйте ее.
- Далее перейдите в Проводник — Диск C: — Пользователи и переименуйте папку на такое же имя, как редактировали до этого.
- Теперь откройте строку Выполнить (Win+R) и введите regedit
- Перейдите по директории HKEY_LOCAL_MACHINE SOFTWARE Microsoft Windows NT CurrentVersion ProfileList
- Измените параметр вашего старого имени на новое.
- Выйдите из учетной записи Администратора и зайдите в свою.
- Вновь откройте командную строку и пропишите net user Администратор /active:no.
- Приступайте к установке Android Studio.
Кстати говоря, способ, который находится в поиске, на первой странице в ютубе, не работает. По отзывам видно, что не у одного меня.
При создании символической ссылки командой mklink /D «C: android-sdk» «C: Users Игорь AppData Local Android sdk, она не отображается в пути установщика, а через проводник выдает «расположение недоступно».
В общем, устаняйте ошибку Android Studio, а сайт добавляйте в закладки. И до скорых встречь!
Android Studio Component failed to install:
While installing Android studio SDK in Windows, 64 bit using the wizard; I encountered this error
“The following SDK components were not installed: sys-img-x86-addon-google_apis-google-21 ”
Can someone please help me where the possible error is?
- android
- android-studio
Edward Falk
9,90311 gold badges77 silver badges112 bronze badges
asked Aug 1, 2016 at 6:29
useruser
2135 silver badges18 bronze badges
2
-
If you can open Android Studio, then you can go and update manually in SDK Manager.
Aug 1, 2016 at 6:33
Load 7 more related questions
Show fewer related questions
Добрый день! Подскажите!
При открытии Setup wizard выскакивает сообщение:
The following SDK components were not
installed: build-tools-21.1.1,
source-21,sys-img-x86-addon-google_apis-google-21,
extra-android-m2repository,
android-21, extra-google-m2repository,
addon-google_apis-google-21, tools,
platform-tools Retry Cancel
- установка
- android-studio
Виталина
111 золотой знак2 серебряных знака8 бронзовых знаков
задан 7 фев 2015 в 10:57
grigorigrigori
11 серебряный знак1 бронзовый знак
2
-
@grigori, Если вам дан исчерпывающий ответ, отметьте его как верный (нажмите на галку рядом с выбранным ответом).
12 фев 2015 в 18:52
-
Если ничего не помогает самый быстрый ,качественный ,гарантированный способ это переустановка Windows потом и android studio
– user320581
6 апр 2020 в 12:02
1 ответ
- Пользователь с правами администратора?
Попробуйте запустить как админ. - В имени пользователя есть кириллица?
Если есть, выберите другую папку для установки SDK (весь путь латиницей). - Попробуйте установить SDK и Studio по отдельности.
Виталина
111 золотой знак2 серебряных знака8 бронзовых знаков
ответ дан 12 фев 2015 в 12:24
nessness
1216 бронзовых знаков
1
-
Спасибо! Совет помог
исключил латиницу и все сработало.
1 апр 2020 в 9:52
Выдаёт ошибку «SDK Missing».
No android SDK found.
Before continuing you must donload the necesarry components or select an existing SDK
Он не видит SDK при установке, а если в следующем пункте я пытаюсь указать путь к SDK который я установил отдельно от Android Studio, ничего не получается, опять выдаёт ошибку, что мне делать?
SDK Manager тоже не запускается. Просто не запускается без всяких ошибок.
И проект тоже создать нельзя. Выдаёт следующее.
Подскажите пожалуйста что делать чтобы установить наконец эту программу?
При установке Android Studio столкнулся с проблемой установки SDK. Нажать кнопку «Next» нельзя, а внизу с пометкой «внимание» находится надпись: Your SDK location contains non-ASCII characters. Что делать в такой ситуации? Я нашел два рабочих решения.
Содержание:
- Причина ошибки
- Варианты устранения ошибки
- Вариант 1: изменение пути
- Вариант 2: смена имени пользователя
Причина ошибки
Она банальна. Имя вашей учетной записи Windows написано не на английском. А программа брезгует устанавливать файлы в директорию, если папка в ней указана на другом языке (русский, турецкий, испанский, арабский и прочее).
Варианты устранения ошибки
Процесс устранения сводится к тому, чтобы обеспечить англоязычный путь к Android SDK.
Вариант 1: изменение пути
Банальный способ, который помог обойти ошибку:
- Зайдите на диск C: и создайте две папки AndroidSDK.
- Вернитесь в Android Studio Setup Wizard.
- В пути Android SDK Location выберите путь установки C: Android SDK.
- Нажимайте Next и ждите завершения установки.
Вариант 2: смена имени пользователя
Более замороченный способ со сменой имени профиля на англоязычное. Пока вы находитесь в этой учетной записи, переименовать папку невозможно. Поэтому:
- Через поиск найдите CMD и откройте от имени администратора.
- Введите команду net user Администратор /active:yes
- Выйдите из системы и зайдите в профиль только что включенной учетки администратора.
- Нажмите ПКМ на Пуск и выберите «Управление компьютером».
- Перейдите в раздел Управление компьютером — Локальные пользователи — Пользователи, нажмите ПКМ по имени учетной записи и отредактируйте ее.
- Далее перейдите в Проводник — Диск C: — Пользователи и переименуйте папку на такое же имя, как редактировали до этого.
- Теперь откройте строку Выполнить (Win+R) и введите regedit
- Перейдите по директории HKEY_LOCAL_MACHINE SOFTWARE Microsoft Windows NT CurrentVersion ProfileList
- Измените параметр вашего старого имени на новое.
- Выйдите из учетной записи Администратора и зайдите в свою.
- Вновь откройте командную строку и пропишите net user Администратор /active:no.
- Приступайте к установке Android Studio.
Кстати говоря, способ, который находится в поиске, на первой странице в ютубе, не работает. По отзывам видно, что не у одного меня.
При создании символической ссылки командой mklink /D «C: android-sdk» «C: Users Игорь AppData Local Android sdk, она не отображается в пути установщика, а через проводник выдает «расположение недоступно».
В общем, устаняйте ошибку Android Studio, а сайт добавляйте в закладки. И до скорых встречь!
Всем привет. Я уже себе мозг сломал при попытке поставить Android Studio. В частности проблема в неком «Android SDK», которого у меня нету, или еще что-то в таком духе. Перед созданием этой темы офк я погуглил и пытался сам решить проблему, но…
Окей, проблемы начинаются от сюда. В руководствах тут всегда три пункта, а у меня всего два.
Слева у меня открыт youtube руководство, ну а справа мой установщик. Как видите… Причем до этого там было три пункта, вот где зеленые линии, и на против всех было указано «installed». Я просто уже по десять раз все удалял и переустанавливал в надежде.
Были советы, что мол ерунда, из софта ты все это можешь поставить потом. Как видите не могу. Разделы «SDK Tools» и «SDK Update Sites» неактивны. В «Android SDK Location» бесполезно указывать куда-либо путь, т.к. у меня нету этих файлов. Они ни в каких AppData или еще где-либо не создаются.
Ну и общая информация:
- Win7 x64, относительно новая т.е. пару месяцев назад я её переустановил.
- Я новичок, и никогда не имел дел с попытками чёт там поделать на mobile, поэтому никакие android studio у меня не могут быть установлены. А даже если я их когда-то очень давно случайно и ставил… стоп, так винда же новая! В этом и дело. Не ставил я.
- Из софта, ну хз, Visual Studio, Brackets, может что-то еще по WebDev. Причем всё поудалял на всякий случай.
- Всякие JAVA SE установил, переменные прописал, итд. Всё как в руководствах.
- Естественно, я постарался отыскать все следы любых Android’oв на компьютере, и выпилить их. Все папки, всякие там .android, итд. Все что нашел. Там же даже в реестре пытался искать упоминания и сносить их тоже. Нету у меня этого на компе.
- Android Studio скачан с официального сайта.
Как-то так. Надеюсь не упустил ничего важного и сильно не туплю тут
I have a problem with Android 0.4.2 Studio, when creating a new application, it tells me there is a problem with the rendering and shows me the following problem:
Renderering Problems
No Android SDK found. Please configure an Android SDK.
My setup SDK and JDK is this: Android SDK location: C:adt-bundle-windowssdk, I put the path I use in Eclipse SDK, or there may be the problem, if someone has happened and what has been fixed, I’d like to give me the solution, thank you very much.
asked Feb 7, 2014 at 16:33
0
I just encountered and solve a similar problem.
First you should check the directory like other threads described. Then you can check whether the Build tool version matches your SDK version.
(e.g. for my project, in build.gradle file, you have:)
android {
compileSdkVersion 21
buildToolsVersion «21.1.1» }
and then open you SDK manager, make sure you have the same version of sdk(21.1.1) installed in the selected directoriy:
If not, install it and restart Android Studio. It works for me.
I’ve also seen other guys saying run Android Studio as administrator would also help:
https://teamtreehouse.com/forum/i-am-getting-this-warning-message-rendering-problems-no-android-sdk-found-please-configure-an-android-sdk
answered Jan 3, 2015 at 22:08
ShawnShawn
7131 gold badge7 silver badges8 bronze badges
0
I got the same «No Android SDK Found» error message… plus no rendering for Design window, no little cellphone screen.
My SDK path was correct, pointing to where the (downloaded during setup) SDK lives.
During Setup of the SDK Mgr, I didn’t download the latest «preview edition (version 20)»…(I thought it better to use the next most recent version (19)) Later I found, there was no dropdown choice in the AVD Manager to pick Version 19, only the default value of the preview, 20.
I thought «Maybe the rendering was based on a version that wasn’t present yet.» So, I downloaded all the «preview edition’s (version 20)» SDK Platform (2) and system images (4)…
Once download/install completed,
RESTARTED Android Studio and Viola! success… error message gone, rendering ok.
answered Aug 10, 2014 at 15:24
WM1WM1
4517 silver badges14 bronze badges
From the File menu, choose Project Structure (if you’re running 0.4.4 there’s a bug and the menu item doesn’t have a title, but it still works), and choose the Android SDK item. You should see something like this where you can set up your JDK and SDK.
After setting it, quit Android Studio and relaunch it for good measure.
answered Feb 7, 2014 at 17:02
Scott BartaScott Barta
78.7k24 gold badges179 silver badges161 bronze badges
1
i have just discovered, android studio 3.0.1 has no sdk during the installation. because during the installation, it doesn’t give sdk as part of install able unlike in recent versions of android studio.
answered Nov 22, 2017 at 7:33
Don’t worry just change the
build.gradle
ext.kotlin_version = '1.2.41'
to previous version.
It worked for me hope it works for you too.
Happy coding.
coder
8,08615 gold badges39 silver badges53 bronze badges
answered Jun 26, 2018 at 19:24
venkyvenky
2113 silver badges4 bronze badges
According to the Android Studio download page, the SDK comes bundled with Android Studio. It has its own copy when you install Android Studio.
ADT is a plugin for Eclipse. Try reading through that webpage to see if there is something that got missed when installing.
Here is the wording from the site, regarding ADT:
Similar to Eclipse with the ADT Plugin, Android Studio provides integrated Android developer tools for development and debugging.
answered Feb 7, 2014 at 16:43
MiStrMiStr
1,18410 silver badges17 bronze badges
I wanted to share a part of the issue I had because it is the first google result.
I installed Android Studio, when I tried to install my first SDK from the SDK Management windows I got the error that I didn’t have any SDK installed.
I tried to look on the internet to manually download the .zip,manualy create the folder, no luck what so ever.
When I tried to run the Android Studio as an administrator it detected I didn’t have any SDK and prompt me right away at startup to download a SDK.
answered Apr 11, 2018 at 11:06
0xCDCDCDCD0xCDCDCDCD
3541 gold badge2 silver badges16 bronze badges
Do following steps
a) Change minSdkVersion and sync gradle
b) Revert back your minSdkVersion and sync gradle again
It will be resolved.
answered May 9, 2018 at 11:29
These days, Android Studio setup do not provide SDK as the part of original package.
In the context of windows, when you start Android Studio 1.3.1, you see the error message saying no sdk found. You just have to proceed and provide the path where sdk can be downloaded. And you are done.
answered Jul 22, 2018 at 16:23
Try make New Project, and then choose same android version that you’ve installed sdk verions on «Target Android Device» dialog.
In my case, error message gone.
answered Mar 19, 2015 at 17:48
I had the same problem, Android Studio just could not identify the android-sdk folder. All I did was to uninstall and reinstall android studio, and this time it actually identified the folder. Hope it also works out for you.
answered Jul 24, 2015 at 17:09
BikoBiko
3323 silver badges15 bronze badges
Download android sdk through this sdk manager https://dl.google.com/android/repository/tools_r25.2.3-macosx.zip
(note this link is for mac)
open android studio, click next, open where it ask to add path where u downloaded sdk….. add it… click next, it will downloaad updates….. and it done
answered Feb 20, 2017 at 7:55
I am on Mac Os. In my case, my host file was black. I added following entries (these entries should be there by default, but they weren’t).
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
After re-running android studio, it prompted the sdk download.
answered Jul 14, 2019 at 7:41
Nitin JadhavNitin Jadhav
5,9451 gold badge45 silver badges46 bronze badges
I fixed this bug changing the proxy configuration:
No proxy → Auto-detect proxy settings
Obsidian
3,3918 gold badges17 silver badges30 bronze badges
answered Aug 12, 2019 at 9:25
0
I have a problem with Android 0.4.2 Studio, when creating a new application, it tells me there is a problem with the rendering and shows me the following problem:
Renderering Problems
No Android SDK found. Please configure an Android SDK.
My setup SDK and JDK is this: Android SDK location: C:adt-bundle-windowssdk, I put the path I use in Eclipse SDK, or there may be the problem, if someone has happened and what has been fixed, I’d like to give me the solution, thank you very much.
asked Feb 7, 2014 at 16:33
0
I just encountered and solve a similar problem.
First you should check the directory like other threads described. Then you can check whether the Build tool version matches your SDK version.
(e.g. for my project, in build.gradle file, you have:)
android {
compileSdkVersion 21
buildToolsVersion «21.1.1» }
and then open you SDK manager, make sure you have the same version of sdk(21.1.1) installed in the selected directoriy:
If not, install it and restart Android Studio. It works for me.
I’ve also seen other guys saying run Android Studio as administrator would also help:
https://teamtreehouse.com/forum/i-am-getting-this-warning-message-rendering-problems-no-android-sdk-found-please-configure-an-android-sdk
answered Jan 3, 2015 at 22:08
ShawnShawn
7131 gold badge7 silver badges8 bronze badges
0
I got the same «No Android SDK Found» error message… plus no rendering for Design window, no little cellphone screen.
My SDK path was correct, pointing to where the (downloaded during setup) SDK lives.
During Setup of the SDK Mgr, I didn’t download the latest «preview edition (version 20)»…(I thought it better to use the next most recent version (19)) Later I found, there was no dropdown choice in the AVD Manager to pick Version 19, only the default value of the preview, 20.
I thought «Maybe the rendering was based on a version that wasn’t present yet.» So, I downloaded all the «preview edition’s (version 20)» SDK Platform (2) and system images (4)…
Once download/install completed,
RESTARTED Android Studio and Viola! success… error message gone, rendering ok.
answered Aug 10, 2014 at 15:24
WM1WM1
4517 silver badges14 bronze badges
From the File menu, choose Project Structure (if you’re running 0.4.4 there’s a bug and the menu item doesn’t have a title, but it still works), and choose the Android SDK item. You should see something like this where you can set up your JDK and SDK.
After setting it, quit Android Studio and relaunch it for good measure.
answered Feb 7, 2014 at 17:02
Scott BartaScott Barta
78.7k24 gold badges179 silver badges161 bronze badges
1
i have just discovered, android studio 3.0.1 has no sdk during the installation. because during the installation, it doesn’t give sdk as part of install able unlike in recent versions of android studio.
answered Nov 22, 2017 at 7:33
Don’t worry just change the
build.gradle
ext.kotlin_version = '1.2.41'
to previous version.
It worked for me hope it works for you too.
Happy coding.
coder
8,08615 gold badges39 silver badges53 bronze badges
answered Jun 26, 2018 at 19:24
venkyvenky
2113 silver badges4 bronze badges
According to the Android Studio download page, the SDK comes bundled with Android Studio. It has its own copy when you install Android Studio.
ADT is a plugin for Eclipse. Try reading through that webpage to see if there is something that got missed when installing.
Here is the wording from the site, regarding ADT:
Similar to Eclipse with the ADT Plugin, Android Studio provides integrated Android developer tools for development and debugging.
answered Feb 7, 2014 at 16:43
MiStrMiStr
1,18410 silver badges17 bronze badges
I wanted to share a part of the issue I had because it is the first google result.
I installed Android Studio, when I tried to install my first SDK from the SDK Management windows I got the error that I didn’t have any SDK installed.
I tried to look on the internet to manually download the .zip,manualy create the folder, no luck what so ever.
When I tried to run the Android Studio as an administrator it detected I didn’t have any SDK and prompt me right away at startup to download a SDK.
answered Apr 11, 2018 at 11:06
0xCDCDCDCD0xCDCDCDCD
3541 gold badge2 silver badges16 bronze badges
Do following steps
a) Change minSdkVersion and sync gradle
b) Revert back your minSdkVersion and sync gradle again
It will be resolved.
answered May 9, 2018 at 11:29
These days, Android Studio setup do not provide SDK as the part of original package.
In the context of windows, when you start Android Studio 1.3.1, you see the error message saying no sdk found. You just have to proceed and provide the path where sdk can be downloaded. And you are done.
answered Jul 22, 2018 at 16:23
Try make New Project, and then choose same android version that you’ve installed sdk verions on «Target Android Device» dialog.
In my case, error message gone.
answered Mar 19, 2015 at 17:48
I had the same problem, Android Studio just could not identify the android-sdk folder. All I did was to uninstall and reinstall android studio, and this time it actually identified the folder. Hope it also works out for you.
answered Jul 24, 2015 at 17:09
BikoBiko
3323 silver badges15 bronze badges
Download android sdk through this sdk manager https://dl.google.com/android/repository/tools_r25.2.3-macosx.zip
(note this link is for mac)
open android studio, click next, open where it ask to add path where u downloaded sdk….. add it… click next, it will downloaad updates….. and it done
answered Feb 20, 2017 at 7:55
I am on Mac Os. In my case, my host file was black. I added following entries (these entries should be there by default, but they weren’t).
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
After re-running android studio, it prompted the sdk download.
answered Jul 14, 2019 at 7:41
Nitin JadhavNitin Jadhav
5,9451 gold badge45 silver badges46 bronze badges
I fixed this bug changing the proxy configuration:
No proxy → Auto-detect proxy settings
Obsidian
3,3918 gold badges17 silver badges30 bronze badges
answered Aug 12, 2019 at 9:25
0
Возможные ошибки и их решение
Дата создания:
02.04.2015
Здесь собраны рецепты исправления ошибок, которые могут возникнуть при выполнении шагов из статей этой главы. В случае, если вашей ситуации здесь нет, отпишитесь, пожалуйста, в комментариях и я постараюсь помочь решить вам вашу проблему.
Если при ошибке выводится некая надпись, то её описание и решение будет находиться ниже под заголовком содержащим эту надпись.
Your project location contains non-ASCII characters. This can cause problems on Windows. Proceed with caution.
Она появляется при создании нового проекта в Android Studio. Предупреждает о том, что путь к рабочей папке не валидный.
Решение
Выбрать путь к рабочей папке не содержащий кириллицу. Например, создать папку в корне диска D, чтобы путь был наподобие следующего D:Android
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Полный текст:
>emulator: ERROR: x86 emulation currently requires hardware acceleration!
>Please ensure Intel HAXM is properly installed and usable.
>CPU acceleration status: HAX kernel module is not installed!.
Эта ошибка появляется при попытке запуска приложения на эмуляторе. Она означает, что не был установлен Intel Hardware Accelerated Execution Manager. Если интересно, вот здесь подробнее.
Решение
-
Убедитесь в SDK Manager, что вы установили «Intel x86 Emulator Accelerator (HAXM installer)».
Установите в случае необходимости.
-
Перейдите в директорию SDK (обычно это C:users{имя пользователя}AppDataLocalAndroidsdk), там перейдите в папку extrasintelHardware_Accelerated_Execution_Manager, там найдите файл intelhaxm-android.exe, запустите его и пройдите через мастер установки.
В случае если при установке вылетела ошибка «This computer meets requirements for HAXM, but VT-x is not turned on…»
То надо пойти в BIOS и включить Intel Virtual Technology.
Похожие статьи
0 / 0 / 1 Регистрация: 12.10.2017 Сообщений: 29 |
|
1 |
|
11.07.2018, 20:27. Показов 26967. Ответов 6
Добрый вечер форумчане) Не давно изучил поверхностно java, и решил не много заняться android-ом) Нашел кучу разной литературы, но вот при установке софта возникла проблема, а именно при установке android studio, не могу не как установить sdk, точнее не знаю как(. При установке выходит надпись: «Select Android SDK», и просит выбрать папку. Товарищи, извините за мою не грамотность. объясни как все сделать? Какую бы я папку не выбрал, выходит надпись «The selected directory is not a valid home for Android SDK (выбранный каталог не является допустимым домом для Android SDK)». Помогите решить проблему, заранее спасибо.
__________________ 0 |
Йуный падаван 13866 / 8108 / 2471 Регистрация: 21.10.2017 Сообщений: 19,590 |
|
11.07.2018, 21:03 |
2 |
Lbyfh, скачать и установить 0 |
69 / 62 / 13 Регистрация: 10.01.2012 Сообщений: 508 |
|
11.07.2018, 23:59 |
3 |
Tools->Android->SDK Menager->SDK Tools 0 |
0 / 0 / 1 Регистрация: 12.10.2017 Сообщений: 29 |
|
12.07.2018, 09:23 [ТС] |
4 |
iSmokeJC , скачал архив. запустил приложение, а вкладке «Next» не выходит, не каких галочек нет. 0 |
0 / 0 / 1 Регистрация: 12.10.2017 Сообщений: 29 |
|
12.07.2018, 09:25 [ТС] |
5 |
вот как то так. Миниатюры
0 |
0 / 0 / 1 Регистрация: 12.10.2017 Сообщений: 29 |
|
12.07.2018, 09:26 [ТС] |
6 |
просит посетить страницу oracle, для чего не понятно) 0 |
Йуный падаван 13866 / 8108 / 2471 Регистрация: 21.10.2017 Сообщений: 19,590 |
|
12.07.2018, 10:51 |
7 |
Lbyfh, вроде бы ясно написано, для чего посетить оракула — нету JDK. Очевидно, ты ее не прописал в системных переменных, или прописал неправильно. Попробуй введи в командной строке java -version 0 |