Error generating ofuscated apk… again

Today I tried to generate an ofuscated apk file and got the error message

I’ve already written about this error here. The solution is exactly the same. It seems that when I requested SDK Manager to update my Android SDK it messed my proguard up.

How to install Motorola Xoom emulator

Motorola offers a bunch of emulators whose skins look like their real devices.

Technically they’re not needed in order to develop / test your android applications. You could stick with default android emulators.
I personally prefer to use emulators with skins of real devices so I feel happier 🙂

Today I tried to install Motorola ZOOM’s emulator and I faced a small problem: for XOOM, Motorola offers just a skin. In this post I will tell you the problem I faced and the solution. Continue reading “How to install Motorola Xoom emulator”

How to solve problems with Android NDK-7 and AWK

Today I’ve updated android-ndk from r6b to r7.

When I executed

on my Linux I got the following error message:

Continue reading “How to solve problems with Android NDK-7 and AWK”

How to solve error unknown command crunch

Today I’ve updated my MOTODEV Studio for Android from version 3.0.0 to 3.0.1. After that, every time I tried to run my programs in the emulators I got an error and the following message

In order to solve it did the following:

  • I shut MOTODEV Studio for Android down.
  • I run Android SDK to update Platform-tools to revision 9.
  • I made a clean / rebuild all procedure after MOTODEV Studio was started again.

I must make a mental note: Never ever update any tool while developing.

Please, try my games.

How to debug cocos2d-x and Java code using Eclipse

In the post Developing with cocos2d-x for android on Linux I told you how to compile your cocos2d-x and run it on Eclipse.

Now I’m going to tell you how to debug both cocos2d-x native code and Java using MOTODEV Studio for Android (You can use the instructions provided here with plain Eclipse with some extra effort).

Despite the fact I’m writing with cocos2d-x in mind, what I’m going to present here will let you debug any kind of native code mixed with Android / java.

Continue reading “How to debug cocos2d-x and Java code using Eclipse”

Developing with cocos2d-x for android on Linux

These days I came across a project named cocos2d-x. It’s a port of cocos2d game engine to C++ that allow us to use the same source code to generate versions for iPhone, Android, MS Window (32 bits) and WoPhones.

In the wiki they explain how to develop for Android on both environments: MS Windows and MacOS.

On Windows you will need to install Cygwin. In my opinion, it’s not a good solution.

Cygwin will occupy a lot of space (around 2.6GB), it’s to slow to compile and it’s hard to debug android’s native code. It’s so hard that folks on cocos2d-x recommends you to develop you game for Windows and after that it gets up and running you compile it for android.

I love to develop on Linux, so when I decided to give a try on cocos2d-x I set up a Linux environment.

It’s what this post is about: how to compile cocos2d-x for android using a Linux distribution (as you may already guessed by the title of this post).
Continue reading “Developing with cocos2d-x for android on Linux”