Now the Android studio will launch and you should see a screen similar to the one below. Step 8: Type ‘ studio.bat‘ and hit enter. cd "c:\\Program Files (x86)\\Android\\android-studio\\bin" Step 7: Now change the directory to the Android studio installation. Step 6: Re-launch the command window and type the below command to ensure that the environment variables are set properly. This step is very important, as the newly set variable will not reflect otherwise. Step 5: Close the existing command window. In most cases, only one variable should suffice, but why to take risk? Remember to point JAVA_HOME and JDK_HOME to the valid JAVA installation path. All you need to do is, set the JAVA_HOME and JDK_HOME environment variables by following the steps mentioned in this guide. Step 4: So, it is clear that Android studio is not able to read the JDK location. Then start your emulator by using the below command, make sure to change your emulator name./emulator emulatorName -gpu on This will start your android emulator with GPU enabled. First, go to the directory of Android SDK’s tools folder. If the JAVA environment variables are not set properly, then you should get an error message as below. You can enable GPU Emulation by opening the emulator through the command line. Step 3: Type ‘ studio.bat‘ and hit enter. Step 2: Now change the directory to the Android studio installation. Step 1: Open the command window by typing ‘ cmd‘ in the Start menu search box. For instance, after the successful installation, if you find the application doesn’t seem to respond or open at all, then the reason might be due to missing JAVA_HOME environment variables. If you have downloaded and installed the new Android studio and struggled to launch it for the first time, then here’s the solution for it. Everyone might be aware Google launched its new Android Studio based on IntelliJ IDEA, which is similar to Eclipse with the ADT Plugin, that provides integrated Android developer tools for development and debugging.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |