Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

My app doesn't appear in the AVD, after running from eclipse

I created a small app in eclipse for android, and when I press "Run", a new AVD is created, eclipse tells me that the app was installed on the AVD, but I can't find it on the virtual device. Why can that be? Thanks

like image 457
Aron Debreczeni Avatar asked Mar 02 '11 09:03

Aron Debreczeni


2 Answers

I think you probably forgot to add these lines in the manifest file. I had the same problem in an app and it showed that the app was installed, but could not find it in the emulator.

<intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
</intent-filter>

Also make sure you set up the target AVD from Run Configurations. Run->Run Configurations-> Target, then select the AVD from list, click Apply, then Ok. Hope it helps.

like image 63
Taslim A. Khan Avatar answered Nov 12 '22 20:11

Taslim A. Khan


In 'Run Configurations', under the 'Target' tab, you can select the 'Always prompt to pick device' radio button. Then when you go to run the app with the green go button at the top, you can choose from any device. MaxPower47 solved this in the following thread: Can't run older Android targets in AVD

like image 4
CodingWoodsman Avatar answered Nov 12 '22 21:11

CodingWoodsman