I've installed Android Studio on Arch linux with the android-studio AUR package, but when I run android-studio I get this:
It's just an empty window with a gray portion. How can I get it to open the wizard properly?
Some Linux distributions doesn’t work well with some programs. Check parameters of your system for opening apps. But you can simply uninstall it and try it again. If the problem was not cleared try downloading another version of android studio. Check apps properties file if it’s not corrupted. If not helped ask Android studio devs. Or try updating you’re Linux.
I had this issue with my wm bspwm, when I changed the session for a desktop environment like kde, it works.
Related
I have a simple to explain yet hard to solve problem. I installed Android Studio today on linux and managed to copy the sdk's I had in Windows so I didnt have to install them again. Everything works perfectly until I try to deploy the app into my cell phone. When I press the run button literally nothing happens. I dont even get an error message and the list of deployable devices does not show up. I have seen other threads that are similar but have NOT worked for me. Every SDK component is up to date. Thanks in advance
It is impossible to use android sdk for windows in Linux .You have to download android sdk for linux from here https://developer.android.com/studio/#downloads
Recently I upgraded my Android Studio to 3.1 and also my gradle to 4.4.
Since then android studio doesn't let me open anything. (Any project , any file location, etc). I am able to create a new project but if try opening an existing one it just freezes. And then I have to kill it through Task Manager.
I am also able to open the settings page through welcome wizard. There also I tried to change the gradle version manually, again while browsing to the location it just gets hanged. Same way as above
I tried upgrading the Java version, installing/uninstalling android studio and everything else I can but its the same.
Any help or suggestions will be appreciated
I encountered similar issue. Please check the system Environment Variable, the JAVA_HOME path should be set correctly according to Java installed in your PC; something like this in my PC "C:\Program Files\Java\jdk1.8.0_172"
This resolved the issue for me.
Cheers!
Herbs
I was programming in Android Studio, on MAC OS X macOS Sierra.
I was debugging code on one emulator, then I started next emulator with different phone. Then accidentally laptop restarted (with the grey screen https://i.kinja-img.com/gawker-media/image/upload/s--HPvl05ih--/c_scale,f_auto,fl_progressive,q_80,w_800/18mfougmh04injpg.jpg).
After boot everything come back, Android Studio too. But I can't debug my apps. I have
Error:java.lang.NullPointerException (no error message)
This happening everytime I try to run my app.
It is on my company project, from git. I tried different versions of code.
I tried also (with chronology):
reinstall Android Studio
reinstall SDK, Virtual Devices
reinstall Android Studio after completly delete it from Mac, using terminal (How to completely uninstall Android Studio?)
reinstall Java (uninstall with the tip from Java webpage (https://www.java.com/en/download/help/mac_uninstall_java.xml)
I don't know what I can do next besides reinstalling OS.
Thanks
Okay.
After that post I also tried cleaning cache, logs and again reinstall Java JDK. Nothing helped.
Unfortunately the only solution which helped - format and reinstall system.
Try File -> Invalidate caches / Restart... in android studio.
you must remove ".gradle" folder into your root project and restart your android
studio.
I have installed android studio in windows10 as well installed jdk the installation process has gone smoothly but when the android studio opens it just stuck with the splash screen itself.
I have added the environment variable for the jdk but even it didn't works.The versions which i am using are as follows
JDK version is 1.8.0_101 and android studio version is 2.1 and i am using it in windows 10 and the path of the android studio is C:\Program Files.
Even i have ended the task in taskmanger and restarted mypc and opened android studio but it didn't works.Even i have uninstalled android studio and installed it again and run it as admin but even it shows the splash screen only.
You should have a proper Internet Connection while installing Android Studio. The studio needs a lot of file from net after installing. And try Deleting all files related to android from your c drive . Try installing now. Also dont forget Restart your PC after Uninstalling.. & try Updating Java files Too ..
Good Luck ..
Install again on different drive by deleting its loading and configuration files from AppData hidden folder too and also also given path.
path C:\Users\Sohail Zahid\.AndroidStudio2.1
I have downloaded the latest Android Studio and when I run studio64.exe it opens Android Studio as a standalone application, however I would like to install it to my system.
The website says there is an installation wizard however I get taken straight to the Android Studio start screen. Is there still a way to install it on a Windows machine?
Turns out that Android Studio is now portable - like Eclipse. In other words, there is no installing, you just get the zip file, which contains everything you need, such as the executables that run Android Studio. You'll need to store this folder somewhere relevant and create a shortcut to the studio(64).exe file to run it from desktop/start menu.
The SDK is also no longer bundled with Android Studio, so that will need to be downloaded separately.
As of this post the Android Studio installation instructions by Google are out of date.
you can get the sdk manager as stand alone installer.once installed you need to run it as "administrator", than only it will be able to download and install packages and api's. follow the given below link:
http://dl.google.com/android/installer_r23.0.2-windows.exe
Check if its in compatible mode with your OS version of your machine. Right click on the downloaded bundle > Move to properties> Compatibility tab> Select Compatibility tab> Tick the check-box- Run in Compatibility mode> Select your OS version from the drop down.
You will get the set up wizard :)
Worked for me :)