Android installation issues

前端 未结 8 1519
感动是毒
感动是毒 2020-12-15 07:18

I have been trying to set up my android to begin my development lessons all day without success. I have installed the Java JDK kit and I\'m trying to install th

相关标签:
8条回答
  • 2020-12-15 07:39

    The problem is there are two Java files and the installer picks the first one that it finds; The solution, however, is simple:

    rename c:\windows\system\java.exe to c:\windows\system\java.exe.orj, then restart the installer, and everything should be fine.

    It will now use the version of java.exe installed in Program Files\Java instead which solves the issue.

    0 讨论(0)
  • 2020-12-15 07:43

    The only thing you had to do, was to set the path to the jdk source folder.

    "C:\Program Files\Java\jdk1.7.0_03\"

    That worked for me having that error.

    0 讨论(0)
  • 2020-12-15 07:47

    To install Android and work with Android Studio on your first app, here are the step by step instructions:

    • Step 1: Download Android Studio
    • Step 2: Install Android Studio Step
    • Step 3: Start a new project
    • Step 4: Create new AVD
    • Step 5: Open AVD Manager
    • Step 6: Launch Emulator
    • Step 7: Run Project

    Whereas while installing Android, you need to also set Environment variables.

    To set Environment Variables, the same steps are followed while installing Java to set JDK.

    Go to Control Panel > System > Advanced System Settings > Advanced tab > Environment Variables.

    Under System Variable, click Path, then New and add the JDK path.

    0 讨论(0)
  • 2020-12-15 07:48

    you just need delete the "java.exe" of "C:\windows\System32\", and reset the java environment(JAVA_HOME,CLASSPATH,PATH), then you will successful pass this step.

    By the way , i am under Windows7 X64

    0 讨论(0)
  • 2020-12-15 07:58

    I fixed this issue follow these steps:

    1. right click my computer->properties->advanced system settings->advanced tab->click environmental variable

    2. under system variales press new to create and new system variable

    3. give it name JAVA_HOME and give url to folder where java is installed

      e.g C:\Program Files\Java\jdk1.7.0_05 and then re-run sdk

    0 讨论(0)
  • 2020-12-15 07:59

    I had faced the same error while installing android, try system restore and then reinstall jre and jdk

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