Experience with error in new project for Android Stdio

Source: Internet
Author: User

The small part has been accustomed to use eclipse, later saw the Android stdio this new thing produces, the curiosity uses the next. His installation is simple and it will automatically scan your JDK installation path.

Soon Android Stdio installed, small series began to use the new compilation tool compiled, but soon to cry, because small compilation found adnroid stdio new project error, error is gradle: There should be no \android\android-studio\sdk at this time \tools\lib\\find_java.exe. At this time I was silly eyes. Immediately through the degree of Niang query data learned that the Java path has a problem. So according to the online god of the method to correct (of course, began to delete the project re-proposed project, because do not believe the path will be wrong!!! Shame).

Found in the files directory of the Android installation, respectivelyandroid\android-studio\sdk\build-tools\android-4.2.2\dx.bat,android\android-studio\sdk\tools under the Android.bat file for these two files. Open with compile,

Put one of the "set java_exe= "Add your Java path later, in my case set java_exe=" E:\Program Files\java\jdk1.7.0_67\bin\java.exe ". I've been doing this for 1 hours. In honor of this low-level mistake, I write down this diary.

  

  

Experience with error in new project for Android Stdio

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.