i am following http://developer.android.com/training/basics/activity-lifecycle/stopping.html. i downloaded Demo Activity-lifecycle from here . when i press run->Android-Application it shows NO COMPATIBLE TARGETS WERE FOUND. i downloaded Android4.2 and Android 2.2 from SDK snd avd manager. i created four AVD using android4.2 and android2.2 but it shows No compatible devices found. can anyone tell me which device is compatible with Activity-lifecycle.
with regards
ajay
If you have already created Specific AVDs then follow this steps
Right click on your android project->Run Configuration-> in target tab select-> always prompt to pick device
Then run your project and it will show you all online as well as offline AVD's ,so now select AVD from this list. it will start that AVD and run your application.
Update
"Still no compatible AVDs with target 'Google APIs': Aborting launch"
Have you created those AVDs by setting target as Google-API
? if not then edit your AVD and set target to Google-Api
and run again