Ошибка ascii android studio

I was installing android studio, but I have this problem when the program is starting:

Error:(1, 0) Your project path contains non-ASCII characters. This
will most likely cause the build to fail on Windows. Please move your
project to a different directory. See http://b.android.com/95744 for
details.

This warning can be disabled by using the command line flag
-Dcom.android.build.gradle.overridePathCheck=true, or adding the line ‘com.android.build.gradle.overridePathCheck=true’ to gradle.properties
file in the project directory.

Dici's user avatar

Dici

25.3k7 gold badges41 silver badges82 bronze badges

asked Aug 23, 2015 at 21:58

Frank Contreras's user avatar

3

I solved this issue by adding this line

android.overridePathCheck=true

to

gradle.properties

As this message said

This warning can be disabled by using 
the command line flag -Dcom.android.build.gradle.overridePathCheck=true,
 or adding the line 
'com.android.build.gradle.overridePathCheck=true'
 to gradle.properties file in the project directory.

answered Aug 19, 2017 at 11:57

Nana medo's user avatar

Nana medoNana medo

2732 silver badges6 bronze badges

1

I did create a symbol link (c:\android-sdk) in windows 10 and resolved:


mklink /D «c:\android-sdk» «C:\Users\Clézio\android-sdk»

answered Aug 27, 2016 at 10:24

Clézio Santos's user avatar

0

I have the same problem.then I create a new project and the path only use English alphabet,the problem is resolved.

answered Aug 26, 2015 at 2:32

CaryMax's user avatar

1

I meet this problem and find there are some Chinese characters in my path. After change these characters into English , the problem solved.

answered Nov 26, 2015 at 11:56

Shuai Wang's user avatar

Shuai WangShuai Wang

3351 gold badge8 silver badges21 bronze badges

3

Your project path contains Chinese characters,

em: F:\资料\Yourproject

Please rename the path English characters:

em: F:\Data\Yourproject

answered Dec 19, 2016 at 8:54

Tamic's user avatar

TamicTamic

811 silver badge1 bronze badge

If you face with the problem at the first time installing Android Studio on your computer.

  1. mklink /D "c:\Android-Sdk" "C:\Users\ **YOUR-USERNAME** \AppData\Local\Android\sdk"

  2. Go to «C:\Users\ YOUR-USERNAME \AppData\Local\» path and create Android\sdk folders inside it.

  3. After that you can continue installation.

Mark Rotteveel's user avatar

answered Dec 31, 2017 at 4:45

Underclass Hero's user avatar

What I actually did was redirect (I don’t actually know the term) the path to my other user (my path was C:\Users\Keith Peñas\ etc.) then, I thought that I had this Spanish letter on, so I redirected the path to my other user, in this case it was (C:\Users\Keith). Then I had another problem: it was somewhat like «Your path cannot be with the rooted path». So I made a folder with the name of my app and then it worked!

Another problem I encountered was: «your path contains white space etc.» and it was from my other disk.

Hope this helps!

Eric Aya's user avatar

Eric Aya

69.5k35 gold badges181 silver badges253 bronze badges

answered Dec 29, 2017 at 13:33

Keith Peñas's user avatar

0

The path location must not contain á,à,â, and similars. Chinese characters or any other diferent than the usual alphabetical characters.
For example, my path was C:\Users\Vinícius\AndroidStudioProjects\MyApplication .But my user name had the letter í. So I create a folder ‘custom2222’ and change the path to C:\custom2222\MyApplication

answered Jun 3, 2016 at 17:42

I also encountered this problem, and I have to change the folder name from Chinese to English. Pity that current gradle build tool does not support Unicode names.

answered Sep 16, 2016 at 6:55

Neveroldmilk's user avatar

I created a symbol link like described by Clézio before. However, I had to specify a suitable encoding (e.g chcp 65001) in command line before.

chcp 65001
mklink /D "C:\android-sdk" "C:\Users\René\AppData\Local\Android\sdk"

If you have your SDK installed under Path C:\Users[USER]\AppData… you may have to run command line with administrativ priviledges.

answered Dec 23, 2016 at 6:42

René's user avatar

This error occur because of path of project. Change your project path wiht way which dont contain nonAscii character.

answered Dec 19, 2018 at 11:31

Eyyüp Alkış's user avatar

The best solution to your problem is to move your project folder to other directory with no non-ASCII characters and blank spaces.

For example С:\Android\PROJECT-FOLDER.

You can create the directory in C:\ using the name that you want.

answered Nov 4, 2019 at 10:01

Javier C.'s user avatar

Javier C.Javier C.

7,8695 gold badges41 silver badges53 bronze badges

0

I’ve face this problem so I create my projetc in a different path, then move to the location where the other projects are, after looking to gradle files, I’ve notice that my newer project have this:

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.5.0'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

The classpath of my newest project’s gradle is 1.5.0, and the other projects ar 1.2.3, Than I’ve made the changes and so far so good, everthing is working fine until now.

answered Feb 3, 2016 at 12:39

dhfg's user avatar

При установке Android Studio столкнулся с проблемой установки SDK. Нажать кнопку «Next» нельзя, а внизу с пометкой «внимание» находится надпись: Your SDK location contains non-ASCII characters. Что делать в такой ситуации? Я нашел два рабочих решения.

Содержание:

  1. Причина ошибки
  2. Варианты устранения ошибки
    1. Вариант 1: изменение пути
    2. Вариант 2: смена имени пользователя

Причина ошибки

Она банальна. Имя вашей учетной записи Windows написано не на английском. А программа брезгует устанавливать файлы в директорию, если папка в ней указана на другом языке (русский, турецкий, испанский, арабский и прочее).

Варианты устранения ошибки

Процесс устранения сводится к тому, чтобы обеспечить англоязычный путь к Android\ SDK.

Вариант 1: изменение пути

Банальный способ, который помог обойти ошибку:

  1. Зайдите на диск C: и создайте две папки Android\SDK.

  2. Вернитесь в Android Studio Setup Wizard.
  3. В пути Android SDK Location выберите путь установки C:\ Android\ SDK.

  4. Нажимайте Next и ждите завершения установки.

Вариант 2: смена имени пользователя

Более замороченный способ со сменой имени профиля на англоязычное. Пока вы находитесь в этой учетной записи, переименовать папку невозможно. Поэтому:

  1. Через поиск найдите CMD и откройте от имени администратора.
  2. Введите команду net user Администратор /active:yes
  3. Выйдите из системы и зайдите в профиль только что включенной учетки администратора.
  4. Нажмите ПКМ на Пуск и выберите «Управление компьютером».
  5. Перейдите в раздел Управление компьютером — Локальные пользователи — Пользователи, нажмите ПКМ по имени учетной записи и отредактируйте ее.

  6. Далее перейдите в Проводник — Диск C: — Пользователи и переименуйте папку на такое же имя, как редактировали до этого.
  7. Теперь откройте строку Выполнить (Win+R) и введите regedit

  8. Перейдите по директории HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows NT\ CurrentVersion\ ProfileList
  9. Измените параметр вашего старого имени на новое.

  10. Выйдите из учетной записи Администратора и зайдите в свою.
  11. Вновь откройте командную строку и пропишите net user Администратор /active:no.
  12. Приступайте к установке Android Studio.

Кстати говоря, способ, который находится в поиске, на первой странице в ютубе, не работает. По отзывам видно, что не у одного меня.

При создании символической ссылки командой mklink /D «C:\ android-sdk» «C:\ Users\ Игорь\ AppData\ Local\ Android\ sdk, она не отображается в пути установщика, а через проводник выдает «расположение недоступно».

В общем, устаняйте ошибку Android Studio, а сайт добавляйте в закладки. И до скорых встречь!

Возможные ошибки и их решение

Дата создания:

Здесь собраны рецепты исправления ошибок, которые могут возникнуть при выполнении шагов из статей этой главы. В случае, если вашей ситуации здесь нет, отпишитесь, пожалуйста, в комментариях и я постараюсь помочь решить вам вашу проблему.

Если при ошибке выводится некая надпись, то её описание и решение будет находиться ниже под заголовком содержащим эту надпись.

Your project location contains non-ASCII characters. This can cause problems on Windows. Proceed with caution.

Предупреждение при создании проекта в Android Studio

Она появляется при создании нового проекта в 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. Если интересно, вот здесь подробнее.

Решение

  1. Убедитесь в SDK Manager, что вы установили «Intel x86 Emulator Accelerator (HAXM installer)».

    SDK Manager Intel x86 Emulator Accelerator (HAXM installer)

    Установите в случае необходимости.

  2. Перейдите в директорию SDK (обычно это C:\users\{имя пользователя}\AppData\Local\Android\sdk), там перейдите в папку \extras\intel\Hardware_Accelerated_Execution_Manager, там найдите файл intelhaxm-android.exe, запустите его и пройдите через мастер установки.

В случае если при установке вылетела ошибка «This computer meets requirements for HAXM, but VT-x is not turned on…»

Ошибка установки HAXM installer

То надо пойти в BIOS и включить Intel Virtual Technology.

Похожие статьи

I was installing android studio, but I have this problem when the program is starting:

Error:(1, 0) Your project path contains non-ASCII characters. This
will most likely cause the build to fail on Windows. Please move your
project to a different directory. See http://b.android.com/95744 for
details.

This warning can be disabled by using the command line flag
-Dcom.android.build.gradle.overridePathCheck=true, or adding the line ‘com.android.build.gradle.overridePathCheck=true’ to gradle.properties
file in the project directory.

This question is related to
android
android-studio

The answer is


I solved this issue by adding this line

android.overridePathCheck=true

to

gradle.properties

As this message said

This warning can be disabled by using 
the command line flag -Dcom.android.build.gradle.overridePathCheck=true,
 or adding the line 
'com.android.build.gradle.overridePathCheck=true'
 to gradle.properties file in the project directory.

I did create a symbol link (c:\android-sdk) in windows 10 and resolved:


mklink /D «c:\android-sdk» «C:\Users\Clézio\android-sdk»


I have the same problem.then I create a new project and the path only use English alphabet,the problem is resolved.


I meet this problem and find there are some Chinese characters in my path. After change these characters into English , the problem solved.


Your project path contains Chinese characters,

em: F:\??\Yourproject

Please rename the path English characters:

em: F:\Data\Yourproject


If you face with the problem at the first time installing Android Studio on your computer.

  1. mklink /D "c:\Android-Sdk" "C:\Users\ **YOUR-USERNAME** \AppData\Local\Android\sdk"

  2. Go to «C:\Users\ YOUR-USERNAME \AppData\Local\» path and create Android\sdk folders inside it.

  3. After that you can continue installation.


What I actually did was redirect (I don’t actually know the term) the path to my other user (my path was C:\Users\Keith Peñas\ etc.) then, I thought that I had this Spanish letter on, so I redirected the path to my other user, in this case it was (C:\Users\Keith). Then I had another problem: it was somewhat like «Your path cannot be with the rooted path». So I made a folder with the name of my app and then it worked!

Another problem I encountered was: «your path contains white space etc.» and it was from my other disk.

Hope this helps!


I also encountered this problem, and I have to change the folder name from Chinese to English. Pity that current gradle build tool does not support Unicode names.


I created a symbol link like described by Clézio before. However, I had to specify a suitable encoding (e.g chcp 65001) in command line before.

chcp 65001
mklink /D "C:\android-sdk" "C:\Users\René\AppData\Local\Android\sdk"

If you have your SDK installed under Path C:\Users[USER]\AppData… you may have to run command line with administrativ priviledges.


The path location must not contain á,à,â, and similars. Chinese characters or any other diferent than the usual alphabetical characters.
For example, my path was C:\Users\Vinícius\AndroidStudioProjects\MyApplication .But my user name had the letter í. So I create a folder ‘custom2222’ and change the path to C:\custom2222\MyApplication


This error occur because of path of project. Change your project path wiht way which dont contain nonAscii character.


The best solution to your problem is to move your project folder to other directory with no non-ASCII characters and blank spaces.

For example ?:\Android\PROJECT-FOLDER.

You can create the directory in C:\ using the name that you want.


I’ve face this problem so I create my projetc in a different path, then move to the location where the other projects are, after looking to gradle files, I’ve notice that my newer project have this:

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.5.0'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

The classpath of my newest project’s gradle is 1.5.0, and the other projects ar 1.2.3, Than I’ve made the changes and so far so good, everthing is working fine until now.


Skip to content

matematicus.ru

matematicus.ru

matematicus включает разделы – высшая математика, аналитическая геометрия в пространстве и на плоскости, теория вероятностей, Arduino, Android Studio, Excel, программирование, программы, Windows, ошибки, таблицы, формулы, примеры, физика, химия

При создании нового проекта в android studio появляется ошибка в окне

Your project contains non-ascii characters

Your project contains non-ascii characters

Данная ошибка связана с тем, что в пути имеется название кириллицей, а надо латиницей.

Для исправления ошибки необходимо переименовать путь с кириллицы на латиницу или указать путь с латиницей.

1091


Понравилась статья? Поделить с друзьями:
  • Ошибка asc на митсубиси лансер 10
  • Ошибка asc на митсубиси аутлендер
  • Ошибка asc бмв е46
  • Ошибка asc на митсубиси asx
  • Ошибка as028 samsung телевизор