Unable to create a Android project in Android Studio (I/0 Preview) 130.737825 (Mac)

后端 未结 6 1157
耶瑟儿~
耶瑟儿~ 2021-02-19 01:05

I opened my Android Studio today and it asked to upgrade to the latest version which I did.

Now I am unable to create a new project. I follow the wizard to create a proj

相关标签:
6条回答
  • 2021-02-19 01:44

    On Ubuntu 13.10 x86_64, updating (to v. 0.3.1 at the time of this writing) also fixed the problem. To update, as some already listed, just click on "Help -> Check for Update".

    0 讨论(0)
  • 2021-02-19 01:48

    As shell said:

    WARNING: You are launching the IDE using OpenJDK Java runtime.
    
             ITS KNOWN TO HAVE PERFORMANCE AND GRAPHICS ISSUES!
             SWITCH TO THE ORACLE(SUN) JDK BEFORE REPORTING PROBLEMS!
    
    NOTE:    If you have both Oracle (Sun) JDK and OpenJDK installed
             please validate either STUDIO_JDK, JDK_HOME, or JAVA_HOME environment variable points to valid Oracle (Sun) JDK installation.
             See http://www.jetbrains.com/help/phpstorm/installation-guide.html?section=Windows#h2linux for more info on switching default JDK.
    

    I think this is the problem. You must switch android-studio's jdk to the right path.

    0 讨论(0)
  • 2021-02-19 01:55

    I have this error, is your user folder located on a drive other than where android studio is installed?

    I would've put this as a comment but can't.

    0 讨论(0)
  • 2021-02-19 01:57

    Moving my projects to the same partition as my Android Studio seems to have solved my problem. Not a permanent solution but if you want to continue with your work before they fix it, you've got to do it...

    0 讨论(0)
  • 2021-02-19 02:01

    I had the same issue on Win7-x64. I had put path to jdk (c:\Program Files\Java\jdk1.7.0_40) for JAVA_HOME (goto Control Panel->System->Environment Variable) in double quotes. Removing the quotes fixes the issue.

    0 讨论(0)
  • 2021-02-19 02:07

    I must ask you for your Android Studio Build number and your system environment. But I think the following step may help. And sorry for poor English if there is any spell mistake.

    Under Windows 7 x64 Android Studio 130.737825

    First,check your Android Studio version . I have the problem when the version is 130.737825 . Anyway update Android Studio. "Help->Check for Update"

    if it didn't work.

    http://tools.android.com/recent

    to check the newest Build Number or

    http://dl.google.com/android/studio/patches/updates.xml

    check the newest version .

    Download Update package like this one https://dl.google.com/android/studio/patches/AI-130.737825-132.821530-patch-win.jar Please according to your own situation choose to down the right one. The format is AI-$FROM-$TO-patch-win.jar $From is the build number your Android studio. $TO is the newest build number you want to update.

    Download the package to your Android Studio directory. D:\Android\android-studio. Run cmd

    D:\Android\android-studio>java -classpath AI-130.737825-132.821530-patch-win.jar com.intellij.updater.Runner install .
    
    0 讨论(0)
提交回复
热议问题