miércoles, 8 de mayo de 2013

Surprise! Android Developer Tools.


console.log("Hello world!");

Last weekend I downloaded (again) the Android SDK because I wanted to update an app that me and my friends had made as a project for a course in my university.

I was prepared for the "problems" I was waiting for, such as the constant problem we had with the 'R' java class, which was lost or not generated mostly all the times we wanted to continue developping our app, or having an emulation failure, but this time was different. I was surprised.

First of all, I found that there was a folder named "eclipse" inside the unzipped package, so new programmers in the area won't have to decide for a version of eclipse anymore.

Then, when I opened eclipse, I found this:


So, the thing was serious, I supposed.

When I tried to compile my code, had an error, emulator: Failed to open the HAX device!. I said "ohh, here come errors again.."

After some googling I found in Stackoverflow that maybe installing the Intel Hardware Accelerated Execution Manager, the problem will be solved. And it worked. Also, my emulator was a little bit faster, which was great.

So, this time my experience with Android was pretty good. No 'R' problems, better emulation and I think I almost loved eclipse.

I Hope you enjoy programming in android this time!

Regards!


viernes, 5 de abril de 2013

Instalar Git en Ubuntu.

print "Hola Mundo!"

Hay más de una forma para instalar Git a través de la Terminal, en Ubuntu. Con la siguiente manera, puedes escoger la versión de Git que quieres instalar. Deberás descargar un tar.gz, descomprimirlo e instalarlo:

$ sudo apt-get install g++ curl libssl-dev apache2-utils
$ wget https://git-core.googlecode.com/files/git-1.8.2.tar.gz
$ tar -xvf git-1.8.2.tar.gz
$ cd git-1.8.2
$ sudo apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev
$ make prefix=/usr/local all
$ sudo make prefix=/usr/local install
$ which git
/usr/local/bin/git
$ git --version
git version 1.8.2

Y listo, Git instalado. Ahora podrás tener un control de versiones para tus proyectos.

¡Saludos!
@DenkSchuldt