So I am trying to setup the dev env. and I have some problems when I run the default HelloWorld project.
Everything compiles and builds I don’t have any errors.
I am targetting platform 2.2 480x800, using host GPU, but no errors there.
What I get when I run in emulator is a black empty screen. LogCat says: “App freeze timeout expired. Force clearing freeze: AppWindowToken… etc”
This is all default setup and it should work out of the box since I followed the setup on the Wiki.
What could be wrong here?
Also what I find weird is the generated jni/hellocpp/main.cpp I don’t see anywhere the HelloWorldScene. Is there a problem with the default project generation?
Thanks a lot for helping me out.
#define LOG_TAG “main”
#define LOGD (...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,VA_ARGS)
using namespace cocos2d;
jint JNI_OnLoad(JavaVM vm, voidreserved)
void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit(JNIEnv* env, jobject thiz, jint w, jint h)
CCEGLView view = CCEGLView::sharedOpenGLView;
AppDelegatepAppDelegate = new AppDelegate();