sábado, 19 de noviembre de 2011

Error -Failed to install HelloAndroid.apk on device-

Hi, this is a simple error, as Anand indicates in his/her blog http://anandpandia.blogspot.com/2011/01/failed-to-install-helloandroidapk-on.html,
we need to change the path. Please check in her/ his blog how to to this. So, what's my contribution. It's that it's so simple to indicate the path as "platform-tools" and "tools". It is better to locate android-sdk folder, and usually it should seem like this:
C:\Documents and Settings\xp\android-sdks\platform-tools\ AND C:\Documents and Settings\xp\android-sdks\tools\.
After that, you will read in Eclipse Console the following:
[2011-11-19 14:24:38 - HelloAndroid] Success!
[2011-11-19 14:24:39 - HelloAndroid] Starting activity com.tck.HelloAndroid.main on device emulator-5554
[2011-11-19 14:24:45 - HelloAndroid] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.tck.HelloAndroid/.main }.

And the AVD will be displayed this:



Then, you need to click holding the PADLOCK to the left unlock PADLOCK to view your HelloAndroid application finally on AVD screen like the following:

No hay comentarios:

Publicar un comentario