Forums

OverviewV-Play 1 SupportReports of several app-crashes – can't figure out why › Reply To: Reports of several app-crashes – can't figure out why

OverviewV-Play 1 SupportReports of several app-crashes – can't figure out why › Reply To: Reports of several app-crashes – can't figure out why
#4717

andiii

Maybe it’s time to switch from cocos2d-x 0.99 to cocos2d-x 2.0/2.1.
Cocos2d-x 2.0 and higher is based on OpenGL ES 2.0 which runs on Android 2.2 and higher.
Many new devices don’t support OpenGL ES 1.0/1.1 or have a poor performance (emulated by ES 2.0).
OR: when scene states change, “onPause” and “onResume” is called in the background (I imagine).
The mglView’s corresponding methods “onPause” and “onResume” must be called also.
OR: cheaper devices (like the Galaxy Ace) have less maximum heap -> textures must be decoded into
heap memory before it is sent to an OpenGL texture -> bottleneck. Try also using pvr textured, ccz compressed,
I imagine you are now using png images.

 

The unsatisfied link error may be a problem of the update.
Maybe some armeabi .so libraries are not copied into the apk? -> check Android NDK
Maybe you build the library for ARM v7 (i.e. with APP_ABI=armeabi-v7a) but not for ARM v6 (APP_ABI=armeabi) -> cheaper/older devices?
-> build for both architectures?
Maybe error in Android.mk (LOCAL_LDLIBS)
The last resort is that users must uninstall and reinstall the app -> clears cache.
(Android works like that -> uninstall and reinstall to fix problems :) )

 

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support