There is no Arch-specific emulator program error when running avd in eclipse

I am using eclipse ide for Android development. I launched the application in avd andriod 2.1. It worked fine. I worked all day and then I turn off my system. The next day I launched my eclipse, but when I tried to run avd, I got the error Missing arch-specific emulator program: E:\androidsdk\tools/emulator-arm.exe . How to solve the problem and run AVD again.

+6
source share
4 answers

Run the SDK manager and update everything. If this does not work, reinstall only the SDK manager, the ADT plugin on eclipse should be fine.

+7
source

In my case, this was resolved by doing the following:

- Launch the Android SDK Tools> SDK Manager - In the "Tools" folder, select "Android SDK Tools" - Select "Delete 1 package" to remove the Android SDK Tools Get coffee. Damned gods. - Select โ€œInstall 1 packageโ€ to reinstall Android SDK Tools

An Android emulator is a deep, deep hell that needs to be sacrificed for a long time. Hope this adds 10 minutes to someone.

~ Ed

+18
source

I ran into this all the time on Mac OSX, and it infuriated me.

It finally turned out that the problem is related to the way I added the android tools tool to my PATH in my .bashrc

Broken :

export PATH="~/android-sdks/tools:$PATH"

Fixed :

export PATH="$HOME/android-sdks/tools:$PATH"

+2
source

I had this problem when trying to start the emulator via a symlink in the path. The executable emulator located in /usr/bin/android-sdk/tools/emulator could not find another tool ( /usr/bin/android-sdk/tools/emulator-arm ) because it was launched from my home folder instead of /usr/bin/android-sdk/tools .

I fixed it by putting the following script in my path where there was a symbolic link before:

 #! /usr/bin/env sh #Get the folder of the script, so we can find the path #that is relative to it directory="$(dirname $0)" $directory/android-sdk/tools/emulator " $@ " 
+1
source

Source: https://habr.com/ru/post/892992/


All Articles