Android5.x端末だと正常動作しますが、Android4.x端末でアプリ起動時にクラッシュするバグが発生しました。発生した時、以下のエラーログを吐きます。
java.lang.UnsatisfiedLinkError: Cannot load library: soinfo_relocate(linker.cpp:975): cannot locate symbol "srand" referenced by "libcocos2dcpp.so"...続きを読む
Android5.x端末だと正常動作しますが、Android4.x端末でアプリ起動時にクラッシュするバグが発生しました。発生した時、以下のエラーログを吐きます。
java.lang.UnsatisfiedLinkError: Cannot load library: soinfo_relocate(linker.cpp:975): cannot locate symbol "srand" referenced by "libcocos2dcpp.so"...続きを読む
エラーといっても色々なエラーがある訳で、今回はCocos2dx向けのアプリをビルドした時に以下のエラーが発生した時の話です。
errors occurred during the build. errors running builder 'android pre compiler' on project could not initialize class com.android.xml.androidxpathfactory続きを読む
Cocos2dxにて、Debug/Releaseビルドの処理を分岐したい時に使う手法について書きます。
この手法を取ることで、Debugビルド時のみDebug画面へ遷移可能にしたり、画面上へDebug表示させる等の仕組みを入れることが可能になります。
Google Playで配信していたAndroidアプリをAmazon App Storeへ配信してみました。
今回は実施方法を簡単に書いてみようかと思います。
Cocos2d-x を使って開発しているとEclipseが以下のエラーを吐くことがある。
An internal error occurred during: "Cleaning selected projects". java.lang.NullPointerException
'Serializing CDT Project settings.. ' has encountered a problem.
以下の方法で解決。
※ 上記またはcleanしても .cprojectファイル が再作成されない場合は、リネームしておいた .cprojectファイル を元に戻してください