Android crash after resume with minSdkVersion=16

Android crash after resume with minSdkVersion=16
0.0 0


After my app is paused (power button) and resumed, it crashes. After ndk stack trace, I get this message:

********** Crash dump: **********
Build fingerprint: 'google/bullhead/bullhead:7.1.1/N4F26T/3687331:user/release-keys'
pid: 16964, tid: 17695, name: GLThread 285  >>> cz.techsophia.mathtraining.story <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x30
Stack frame 03-29 13:43:29.310 17723 17723 F DEBUG   :     #00 pc 00675c68  /data/app/cz.techsophia.mathtraining.story-1/lib/arm/ Routine js::jit::AutoFlushICache::AutoFlushICache(char const*, bool) at libgcc2.c:?
Crash dump is completed

I have a minimal project where this happens, there is only one script:

    extends: cc.Component,

    properties: {


    // use this for initialization
    onLoad: function () {
        this.node.on( 'touchstart', this._onTouchStart, this );
        this.node.on( 'touchmove', this._onTouchMove, this );
        this.node.on( 'touchend', this._onTouchEnd, this );
        this.node.on( 'touchcancel', this._onTouchEnd, this );




    _onTouchEnd:function(event) {



I tried compiling with both android-16 and Android-25 SDKs.

I am attaching files to add to the assets folder of a new project. To replicate the issue, find the AndroidManifest and change minSdkVersion to 16. (4.8 KB)

The problem disappears when I set minSdkVersion in AndroidManifest back to 9.

I use cocos creator 1.3.3.

Thanks for any help!


Am I writing to the right forum?


Just keep with SDK 9 if you don’t have problems in performance, if your game is quite large, then try pausing before going inactive, it test in another device,