domingo, 27 de noviembre de 2011

How to resolve the error "Failed to allocate memory: 1455" on running Android AVD Manager

This usual error "Failed to allocate memory: 1455" would be caused by Virtual Memory alocation. So, as I did, just follow the indications by Calvin in this post: http://forums.techarena.in/operating-systems/1263684.htm#post5500858. After resolving in this way the allocation of Virtual Memory for the root C disk, you should read in the console of Eclipse, the following: 
[2011-11-27 12:33:06 - Videotutorial1] ------------------------------
[2011-11-27 12:33:06 - Videotutorial1] Android Launch!
[2011-11-27 12:33:06 - Videotutorial1] adb is running normally.
[2011-11-27 12:33:06 - Videotutorial1] Performing com.videotutoriales.videotutorial1.Videotutorial1Activity activity launch
[2011-11-27 12:33:06 - Videotutorial1] Automatic Target Mode: Preferred AVD 'VtAVD' is not available. Launching new emulator.
[2011-11-27 12:33:06 - Videotutorial1] Launching a new emulator with Virtual Device 'VtAVD'
[2011-11-27 12:33:39 - Emulator] emulator: emulator window was out of view and was recentered
[2011-11-27 12:33:39 - Emulator]
[2011-11-27 12:33:45 - Videotutorial1] New emulator found: emulator-5554
[2011-11-27 12:33:45 - Videotutorial1] Waiting for HOME ('android.process.acore') to be launched...
[2011-11-27 12:38:19 - Videotutorial1] HOME is up on device 'emulator-5554'
[2011-11-27 12:38:19 - Videotutorial1] Uploading Videotutorial1.apk onto device 'emulator-5554'
[2011-11-27 12:38:20 - Videotutorial1] Installing Videotutorial1.apk...
[2011-11-27 12:40:52 - Videotutorial1] Success!
[2011-11-27 12:40:53 - Videotutorial1] Starting activity com.videotutoriales.videotutorial1.Videotutorial1Activity on device emulator-5554
[2011-11-27 12:41:18 - Videotutorial1] Attempting to connect debugger to 'com.videotutoriales.videotutorial1' on port 8628

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:

miércoles, 16 de noviembre de 2011

Error con Unable to find a 'userdata.img' file for ABI armeabi to copy into the AVD folder.

En la web había muchas respuestas sobre este error, por ejemplo, en este enlace http://stackoverflow.com/questions/7817044/how-to-create-a-avd-for-android-4-0, se explica hasta donde llegas, pero luego tienes que seguir con lo que digo abajo y luego la traducción en inglés:
En caso del error Unable to find a 'userdata.img' file for ABI armeabi to copy into the AVD folder. A continuación tienes que hacer lo siguiente: En Android SDK Manager, vete a esto- Android SDK Manager -> Packages, en Packages, elije Show Archives Details, y haz click en ARM EABI v7a System Image para seleccionarlo, luego selecciona Archive for any OS y abajo haz que se instale el paquete. Ya, listo, ahora puedes crear un AVD.

INGLÉS: In case of the error "Unable to find a 'userdata.img' file for ABI armeabi to copy into the AVD folder". You need to do further the following: Open Android SDK Manager -> Packages, select Show Archives Details, and click on ARM EABI v7a System Image, then select Archive for any OS and install it. Now, you can create an AVD.