Android studio gets hanged at splash screen - java

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

Related

could not find uninstall.exe android studio

I am new to Android Studio, however I am unable to change the background color of buttons. My guess is tat I'm dealing with a faulty installation.. I tried to uninstall Android Studio, but the uninsall.exe file seams to be missing:
How can I uninstall Android Studio without an uninstaller?
I was facing the same problem. The main problem seems to be that the recent versions of Android Studio don't come with the uninstall.exe in the C:\Program Files\Android\AndroidStudio folder.
Here is what worked for me:
Download an older version of Android Studio. You can do that from the Android Studio downloads archive.
Install it (preferably only the bare minimum as we are going to uninstall it anyway).
Go to the folder where you installed this version of Android Studio - you will find an uninstall.exe here.
Copy the uninstall.exe from that directory to C:\ProgramFiles\Android\AndroidStudio(the original one).
Run the uninstaller and this should solve the problem.
Use the search engine in the file explorer. Enter the name of the program to remove and delete the directories that will appear.
Another way:-
Press Windows key + R
Then copy this string
C:\Program Files\Android\Android Studio\uninstall.exe
Third option is:-
Search in startup menu
%userprofile%
Then delete the a) .android, b) .androidstudio
Then reinstall the android studio again.
I hope it works.

Android Studio wizard not showing up

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.

Installing Android Studio on Mac OSX 10.12 fails to install android sdk

I want to do some android development.
I have a new macbook, on Mac OSX version 10.12.6
I go to https://developer.android.com/studio/index.html and download version 3.0.0.18 for the mac of Android Studio.
The download completes, I drag the app into my Applications Folder, and run.
Android Studio then shows this error:
This says the Android SDK is not found -- which is true I don't have one installed.
I click next and am shown this screen - which is where I find the problem:
The box on this screen says Android SDK - (installed) which is strange because the Android SDK is not installed. The screen suggests the android SDK location is /Users/me/Library/Android/sdk however this directory does not exist on my machine.
I click Next, then Finish and am presented with this screen:
Can somebody please help me -- Android Studio should download for me the SDK if I don't have one installed so why does it believe I have one when I don't?
I believe the problem here was a firewall blocking the outbound call to the download server, which was not reported correctly from the Android Studio.
Trying the install from a different location worked first time.
Its because you should run application behind proxy, pretty weird huh?
I had this problem when i clone repo with git desktop and same issue as you had.
First of all find a proxy.
https://hidemy.name/tr/proxy-list/?type=h#list
For git desktop you have to change your git config proxy:
git config --global http.proxy http://proxy.mycompany:80
So now you can clone with github desktop app.
And for Android Studio when you get Android Studio First Run dialog box click Setup Proxy and enter proxy and it will be fine.

Android Studio NullPointerException (no error message) after grey screen/restart

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.

Android Studio no installation wizard

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 :)

Categories

Resources