AVD manager won't start anylonger in Eclipse - android

When I press the AVD Manager button in Eclipse, nothing happens (and I mean nothing) ...
When I try to run an app, I get the message "No compatible targets were found. Do you wish to add a new Android Virtual Device? When I click "Yes", I get the "Android Device Chooser" Window. This is completely empty (no devises listed). So I check the radio button "launch new Android Virtual Device", which activates the "Manager" button. But when I click this button, again nothing happens ...
So, for some reason my AVD Manager won't start up.
PS: The AVD Manager did work before, when I was going through the "Hello World" exercise. For some reason it stopped working. I tried reinstalling the whole SDK and Eclipse thing, to no avail. I work with Windows 7.
Any suggestions?

i had the same problem. so i uninstalled the sdk (C:\Program Files (x86)\Android\android-sdk) and deleted the C:\Users\hp.android folder (make sure to delete this folder else the problem will exist even after reinstallation). upon reinstallation everything worked perfectly...

Try to install or reinstall the AVD system image in Android SDK Manager in Eclipse.

You might have not set the sdk path. to do so,
step1: go to windows menu option
step2: click on preference,
step3: select android
step 4: change the android sdk path and restart eclipse

Related

AVD not starting (no error message)

I know that this was running on my system half a year ago, so I don't know what else to do.
I deleted every Android-related cofig-folders in my home directory. The newly generated config files are located in my home directory as well.
I'm starting Android Studio with an empty project (just created it new), click on "AVD Manager", install a Nexus6 with Nougat x86 (API Level 25) and then I'm hitting the "Launch this AVD in the emulator"-button.
At the bottom of Android-Studio a progress bar appears along with "Starting AVD...", but as the progress bar hits 100% nothing else happens.
No error message, no process being started, simply nothing happens after hitting that button.
I installed the package from the AUR https://aur.archlinux.org/packages/android-studio. I'm using LXDE as the DE.
Looks like android studio needed to install emulator when it was updated...
I got this problem after updating android studio and it was solved by the installing the emulator from SDK manager
After the last update my emulator stopped working without throwing any error. I had to edit my .bashrc to set it to use the system libraries.
Open your .bashrc file by typing the following commands on terminal:
cd ~/
gedit .bashrc
Add this line to the end of the fine:
export ANDROID_EMULATOR_USE_SYSTEM_LIBS=1
Restart the computer.
Edit: Instead of restarting you can also run source ~/.bashrc
Android emulator was not updated in my Android Studio. I went to SDK manager and installed the updated version from tools tab and then it started working.
I went to Tools > Android > AVD Manager
I then edited the desired device [galaxy_note_4] in my case, Selected Software - GLES 2.0, under Emulated Performance.
Worked for me, hope this helps
I went to AVD manager and cleared out my existing devices and just created a new one. Seemed to do the trick for me.
Just delete your avd and try to create a new one then you can see the error logs in idea.log.
In my case it couldn't find userdata.img for some reasons.
For me what worked was:
Select all x86 images in the respective phone model. Go to "show package details" in Android Studio within the "SDK" under the selected models and enusre the x86 image options are selected for the respective chosen model.
Also make sure no other applications are open at the backend not even the browser. Because even that is leading to hang may be due to the configuration of the system that I have.
In my case updating Intel Hardware Accelerated Execution Manager (HAXM) did the trick.
You can do it in SDK Manager under the SDK Tools tab

Android studio: Run button not working

When I try to run my app (my first test) for the first time, the green button shows up but the emulator does not run my app, it only works (the emulator) , and when I try again the green button( RUN) does not work.
Anyone can help ?
In my case I tapped on the "Make Project" button (the hammer icon) and then the run button worked
I know this is an old question but some other people can still have the same issue.
I was getting the same error, and a log message somewhere said me adb wasn't found. After reinstalling platform-tools it got solved.
So try opening SDK Manager from Tools -> SDK Manager, go to SDK Tools tab and uncheck Android SDK Platform-Tools. After applying changes install it again.
Invalidate cashe and restart worked for me
Have you made sure you unlocked the emulator? By unlock I mean like how a phone screen is locked, the emulator does the same thing.

android studio - emulator doesn't work and genymotion doesn't get recognized

I'm building an app in Android Studio (beta) 0.8.9, though I can't seem to get emulators running. I've made a Nexus 4 and 5 emulator through the options, but I can't seem to get them started. It shows this in the Run App tab.
Waiting for device.
"C:\Program Files (x86)\Android\android-studio\sdk\tools\emulator.exe" -avd smallEmulator -netspeed full -netdelay none
So either it's not starting up, or I'm just an impatient SOB.
I've also downloaded Genymotion and started up an emulator through that, but now Android Studio doesn't recognize the emulator anymore. I try to run my app and check for any running devices, but it doesn't show up, despite the fact that it actually is running.
I've added the Genymotion plug-in, to no avail. No idea what went wrong.
I also have a One Plus One, which I'm not sure how I can debug on that. They don't seem to have drivers for that and haven't immediatly found anything on Google so far.
Any help would be much appreciated.
EDIT: I fixed my problem. I used Genymotion to fix the problem. The running emulator wasn't turning up, because the android SDK's weren't linked to one another. Genymotion and Android Studio used different ones. So I edited Genymotion's settings to use the same one of AS and now it works!
First of all, update android studio. Check if the emulators run from the AVD manager outside Android Studio, I mean by starting it up manually from ur SDK installation folder (AVD Manager.exe) . Check the path of ur emulator in .ini file in C:>Users>user-name >.android>avd. U can make a system variable for ur SDK folder "ANDROID_SDK_HOME" and place the .android folder's content there (the whole .android folder). Sometimes "resetting the adb" after u run emulator may work.
There may be an easier fix than what was previously mentioned. Try opening Android Studio, go to File, Settings, plugins. Select the “Browse Repositories” button at the bottom of the page. Scroll down the displayed page to find “Genymotion”; select it and install it.
When it has installed, restart Android Studio. Again, go to File, Settings, then go to Other Settings. Genymotion should show up as an option. There will be a field that asks for the path to the Genymotion folder.
Mine was: C:\Program Files\Genymobile\Genymotion. At any rate, enter the path, click Apply or OK and Android Studio should recognize Genymotion (You may need to restart AS once again). Now you should have a small red icon on Android Studios tool bar; when you hover over it a pop up that identifies it as “Genymotion Device Manager”. Click on it, select a device to load, click start and allow the virtual device to start completely. Now run your Android Studio project; the Android Studio “Device Chooser” will pop up. You should see the Genymotion device you’d started previously, select it and you’re good.
Hope this helps…

AVD Manager launch problems

My Android Virtual Device Manager is having launch problems. The AVD Manager buttons in Eclipse Juno do not do anything when clicked. I found the AVD Manager.exe file in the sdk folder and found that when clicked, a cmd window pops up for 1 second, closes, and then nothing. Anybody know what's wrong with my AVD Manager?
I've had exactly the same problem myself. It seems something must have changed in the AVD between versions.
To solve it I went into C:\Users\(username)\.android folder and deleted both the avd and cache folders. (it may not be necessary to remove both, I didn't check any further)
Hope that helps.
What happens if you try to launch SDK-Manager? Is there an open window showing updates, or will this window close after a second too?
EDIT
Try open "tools" at the top of sdk manager. There you can choose "Manage AVDs". From here it should start, if not then there is something wrong with the installation of sdk. An other possibility is, that you got a very slow cpu. I got an old acer travelmate, and it lasts two or three minutes to start.
One more thing: the java system variables have setted wrong. Here is another thread about this problem:
Android SDK manager won't open
Try installing a newer version of JDK. I too had the same problem. I upgraded my JDK from 5 to 7 and AVD manager opened :)

Android SDK and AVD Manager hangs trying to rename temporary folders

I run Android SDK and AVD Manager in Vista and have problems installing components. The installer downloads components successfully, but at the end of the installation it hangs for about minute and then asks to disable AV software. If I choose 'No', the installer stops with error message like: "Filed to rename directory '...' to '...' ". Thus, I have to unpack downloaded components and place them to proper folders manually.
I have no AV software. I assumed that the installer requires Administrator rights, but runing it as Administrator didn't help.
If anybody fixed the issue, please advice something.
Thanks.
Had same issue on Windows 7 32-bit. It worked eventually for me. Disabling your AV has no effect. It's probably a zombie copy of the manager.
Exit Eclipse etc...
Close most other apps, Run eclipse, run the manager (you have to click on the menu twice for some reason), I eventually got it installed OK on my 3rd attempt - just try again.

Categories

Resources