Your project path contains non-ASCII characters android studio

前端 未结 13 2094
借酒劲吻你
借酒劲吻你 2020-11-30 04:34

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. T

相关标签:
13条回答
  • 2020-11-30 04:43

    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.

    0 讨论(0)
  • 2020-11-30 04:47

    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"

    0 讨论(0)
  • 2020-11-30 04:50

    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.

    0 讨论(0)
  • 2020-11-30 04:51

    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

    0 讨论(0)
  • 2020-11-30 04:52

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

    0 讨论(0)
  • 2020-11-30 04:56

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

    0 讨论(0)
提交回复
热议问题