LoginSignup
2
2

More than 5 years have passed since last update.

Gemymotionをcocos2dx3.0rc0で試す

Last updated at Posted at 2014-03-29

新規プロジェクトを作成して、Gemymotionを起動し、何も考えずにcocosコマンドでビルドすると

 cocos run -p android

次のようなエラーがでます。

INSTALL_FAILED_CPU_ABI_INCOMPATIBLE

Genymotionはx86で動作するので、x86でビルドする必要があります。
変更するファイルは次の通りです。

jni/Application.mk
APP_STL := gnustl_static
APP_ABI := armeabi x86
APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -DCOCOS2D_DEBUG=1 -std=c++11 -fsigned-char
2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2