help to build errors

  • Replies:3
balaji s
  • Forum posts: 1

Dec 7, 2012, 9:20:59 AM via Website

[2012-12-07 08:16:56 - Add] ------------------------------
[2012-12-07 08:16:56 - Add] Android Launch!
[2012-12-07 08:16:56 - Add] adb is running normally.
[2012-12-07 08:16:56 - Add] Performing fcom.example.add.MainActivity activity launch
[2012-12-07 08:16:56 - Add] Failed to find an AVD compatible with target 'Android 4.2'.
[2012-12-07 08:16:56 - Add] ------------------------------
[2012-12-07 08:16:56 - Add] Android Launch!
[2012-12-07 08:16:56 - Add] adb is running normally.
[2012-12-07 08:16:56 - Add] Performing fcom.example.add.MainActivity activity launch
[2012-12-07 08:16:56 - Add] Failed to find an AVD compatible with target 'Android 4.2'.
[2012-12-07 08:17:04 - Add] Still no compatible AVDs with target 'Android 4.2': Aborting launch.
[2012-12-07 08:17:04 - Add] Performing fcom.example.add.MainActivity activity launch
[2012-12-07 08:17:17 - Add] Launch canceled!
[2012-12-07 08:17:19 - Add] Still no compatible AVDs with target 'Android 4.2': Aborting launch.
[2012-12-07 08:17:19 - Add] Performing fcom.example.add.MainActivity activity launch
[2012-12-07 08:17:21 - Add] Launch canceled!



my eclipse location is "F:\android tools\adt-bundle-windows-x86\eclipse"


my sdk location is "F:\android tools\adt-bundle-windows-x86\sdk"


am new user try to create first application please help me to resolve this bugs...

Reply
elfranchu
  • Forum posts: 39

Dec 14, 2012, 6:09:56 PM via Website

Your build seems correct.
Post your manifest, which min-sdk are you targeting

Reply
Andreas Weichert
  • Forum posts: 287

Dec 16, 2012, 6:25:49 PM via Website

You min sdk seem to be 4.2 and you have not create an 4.2 virtual device.
Beside it is not a good idea to make such a high min target if you want to publish the app.
You exclude a lot of phones.

Tip:
Take for developping a ADV with a low version, because the emulator is much much much faster than for 4.2

Reply
Ashish Tripathi
  • Forum posts: 211

Feb 4, 2013, 12:45:53 PM via Website

change the avd version to same android project version. it will work.


if not send the log cat.

Reply