Android Studio editor not opening - android-studio

I installed Android studio, already have jdk 1.8 but when i click on finish during the creation of new project(Customize the Activity) nothing happens, just nothing, what could be the problem.

You could try and restart your computer. Your computer probably needs a restart to fully complete the java installation. You will face this when installing a lot of programming languages. Plus restarting always fixes a lot of things so it couldn't hurt to try.

Related

Why Are Android Studio Menus Not Working?

I have been using Android Studio for years. Very shortly after upgrading to Android Studio 3.5, the menu options have stopped working. I mean, anything under File, Edit .. all the way to Help. By "stopped working", I mean, I can use the mouse to select, and then .. nothing happens. A colleague suggested to invalidate caches. But invalidate caches itself is under the File menu, so nothing happens when it is selected.
Any ideas? Quitting and starting android studio didn't work. Rebooting didn't work. Changing the java version used to run Android Studio didn't work (it is set to be the same one that gradle is using). Even downloading and installing a fresh copy of Android Studio 3.5 didn't work -> from this, I suspect the problem is a settings problem, but WHICH settings got somehow corrupted? and that survives even with a fresh installation of Android Studio?
To find-in-path, the menu option doesn't work, whereas I can directly use the keyboard shortcut ⇧⌘F and it brings up the find window.
Am running on MacOS Mojave. Java home is /Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home
Finally, Android Studio 4.0 came along, and we installed the patch to upgrade to it, and the mysterious problem went away, presumably as a result of the upgrade.

Plugin 'org.jetbrains.android' failed to initialize and will be disabled. Please restart Android Studio

I left my computer to sleep with Android Studio open and this suddenly happens to me now.
I get this error when Android Studio starts and it forces me to restart it. Also, when it does restart, I have a bunch of errors of other plugins telling me that the plugin “Android Support” is disabled. I tried the solution of this answer with no avail.
Now, in the menu, under tools, I don't even have the AVD Manager nor the SDK Manager anymore!!!
I am at my workplace getting crazy with this. Please help!!
Thank you
it was not a sleep problem, it happens to me all the time whenever i try to change my system's language to other than ENGLISH.
for example when i try to install android studio on a PC that has its default system language HINDI, then this problem comes. because by changing this, date time formats becomes unreadable to android studio.
Simple solution is- dont change your system language and keep it as English.

Android Studio 3.0 VERY VERY VERY slow on run

I have a very big problem using Android Studio.
Every time I make a code changing, I have to check if all has gone well launching my app; but as soon as I click the "Run app" or the "Apply changes", it's the end: it starts the Gradle build process, which take even 30 minutes to complete, and furthermore Android Studio take the full control of my computer, not allowing to do nothing anymore (like open the browser, open notepad++, and so on...).
Can anyone help me?
Thanks
If you use Eclipse you won't have this problem anymore. but if you want to stick with android studio and gradle you can run your emulator and gradle once and whenever you want to compile your code run it on the already built gradle. this means that do not close the emulator and run your program on it again and again. this way you will not have to spent alot of time on loading the emulator and gradle
Android Studio is not a very light software.It uses a lot of your system RAM and CPU power.So if you are using an old system then it is obvious that android studio will run slow.If possible then upgrade your system.
And one more thing it's better to use actual device rather than Virtual Emulator for our application working test.

Android Studio causes Bluescreen every time

I'm using Windows 8.1 Pro and migrated from Eclipse to Android Studio.
But if i start Android Studio, "indexing" is going on and then thousand terminal windows pop up(from the aapt.exe).
Then the bluescreen appears.(SYSTEM_SERVICE_EXCEPTION, event viewer mentions "Microsoft-Windows-Kernel-Power")
I set JAVA_HOME to my jdk path and reinstalled Android Studio.
It didn't help.
Do anybody has some suggestions?
Had the same problem, bluescreen with different messages while building or gradle sync. Disabling "AVG" my preferred anti virus software caused the problem to vanish.
Sorry. I've already forgotten this problem. As said by user4965409, it was my antivirus software. I'm using avast and as I turned it off, it worked.
So disable your antivirus, if you have similiar problems with Android Studio.
If disabling anti-virus doesn't help, it can be a faulty RAM module. This was the problem in my case.
You can check for faults by creating a Bootable USB of this utility.
https://www.memtest86.com/index.html

Installing VS2013 while working with VS2012

I wanted to run the setup for VS2013 Pro but I am also actively working with VS2012 because it is not weekend yet! It prompted me that I should stop VS2012 before installing Vs2013 or I will need to restart later.
Restarting is fine but I can't just stop working for an hour or so until VS2013 is installed. So do you know if the installation will go fine if I am actively working, debugging in VS2012 at the same time?
No!
At some point of installation it will automatically shut down your VS2012.
I did the same thing and have experienced no issues. I did a clean reboot (close all apps) as soon as the installation was completed, and then went back to working in VS2012.
So I can't give you a definitive answer (your mileage may vary), but based on my previous experience I have no issue doing this exact again if the need would arise.

Resources