aajiwani / EasyNDK-for-cocos2dx

NDK is always a problem. Writing such a code that can become a breeze in connecting with other platforms is always a problem when working with cocos2dx. This repo is a step made forward to make this pain a simple step.
MIT License
171 stars 107 forks source link

android 4.2 run , it will crash #5

Open kyo9999 opened 11 years ago

kyo9999 commented 11 years ago

android 4.2 run , it will crash

kyo9999 commented 11 years ago
  1. EasyNDK.java -- need follow import to add import android.app.AlertDialog; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; import android.view.ViewGroup.LayoutParams; import android.widget.Button; import android.widget.FrameLayout;
  2. run error: is am new to android so i don't know how to fix it 09-30 04:06:27.145: W/dalvikvm(800): threadid=11: thread exiting with uncaught exception (group=0x414c4700) 09-30 04:06:27.155: E/AndroidRuntime(800): FATAL EXCEPTION: GLThread 75 09-30 04:06:27.155: E/AndroidRuntime(800): java.lang.IllegalArgumentException: No config chosen 09-30 04:06:27.155: E/AndroidRuntime(800): at android.opengl.GLSurfaceView$BaseConfigChooser.chooseConfig(GLSurfaceView.java:874) 09-30 04:06:27.155: E/AndroidRuntime(800): at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1024) 09-30 04:06:27.155: E/AndroidRuntime(800): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1401) 09-30 04:06:27.155: E/AndroidRuntime(800): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
kyo9999 commented 11 years ago

Android real device can run, but Android simulator will crash