按照以上步骤修改包名后还是出现出现闪退。
报错:
04-27 12:48:43.257 31613 31634 D CCJavascriptJavaBridge: Classloader failed to find class of org/cocos2dx/javascript/AppActivity
04-27 12:48:43.466 31613 31634 F art : art/runtime/runtime.cc:366] - locked <0x06029950> (a java.lang.Object)
04-27 12:48:43.466 31613 31634 F art : art/runtime/runtime.cc:366] at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2013)
04-27 12:48:43.466 31613 31634 F art : art/runtime/runtime.cc:366] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1098)
04-27 12:48:43.466 31613 31634 F art : art/runtime/runtime.cc:366] native: #01 pc 00000000001396d4 /system/lib64/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+136)
04-27 12:48:43.467 31613 31634 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 31634 (GLThread 8061)
04-27 12:48:43.498 676 1561 D AudioFlinger: mixer(0xefbe6008) throttle end: throttle time(38)
04-27 12:48:43.531 2072 2072 D WtProcessStrategy: do trim { PackageName :com.ss.android.ugc.live Pid: 27661 Uid: 10121 Start by: broadcast Score:50 Old score:50 state:0 mBackgroundTimeInMillis:1493264653616 WakelockCount:0 wakelogsize:0 ActivityDestroied:false Activity size: 0 PackageInfo:{WhetstonePackageInfo#PacakgeName:com.ss.android.ugc.live uid:10121 uiMemoryThresold:0 nonUiMemoryThresold:0 Flag:5312,0x14c0 [,TRIMHEAPS,SOFT_RESET,ZRAM,FLAG_DEAL_SCHEDULE] Type:0[] } tasknum:-1}
04-27 12:48:43.531 2072 2072 D WtProcessStrategy: do trim { PackageName :com.tencent.mm Pid: 17216 Uid: 10123 Start by: service Score:50 Old score:50 state:0 mBackgroundTimeInMillis:1493262944381 WakelockCount:0 wakelogsize:0 ActivityDestroied:false Activity size: 0 PackageInfo:{WhetstonePackageInfo#PacakgeName:com.tencent.mm uid:10123 uiMemoryThresold:0 nonUiMemoryThresold:0 Flag:1073746112,0x400010c0 [,TRIMHEAPS,ZRAM,FLAG_DEAL_SCHEDULE] Type:64[,AUTO_START] } tasknum:-1}
04-27 12:48:43.531 2072 2072 D WtProcessStrategy: do trim { PackageName :com.miui.securitycenter Pid: 2084 Uid: 1000 Start by: unknown Score:50 Old score:50 state:0 mBackgroundTimeInMillis:1493266038882 WakelockCount:0 wakelogsize:0 ActivityDestroied:false Activity size: 0 PackageInfo:{WhetstonePackageInfo#PacakgeName:com.miui.securitycenter uid:1000 uiMemoryThresold:0 nonUiMemoryThresold:0 Flag:-2147479612,0x80000fc4 [,DestoryActivity,TRIMHEAPS,TRIM_OPENGL,SOFT_RESET,APP_SYSTEM,ZRAM,TRIMPROCESS_BY_ACTIVITY] Type:0[] } tasknum:-1}
04-27 12:48:43.570 673 673 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-27 12:48:43.570 673 673 F DEBUG : Build fingerprint: ‘Xiaomi/santoni/santoni:6.0.1/MMB29M/V8.2.9.0.MAMCNEA:user/release-keys’
04-27 12:48:43.570 673 673 F DEBUG : Revision: ‘0’
04-27 12:48:43.570 673 673 F DEBUG : ABI: ‘arm64’
04-27 12:48:43.571 673 673 F DEBUG : pid: 31613, tid: 31634, name: GLThread 8061 >>> com.pusmicgame.mahjong <<<
04-27 12:48:43.571 673 673 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
04-27 12:48:43.603 673 673 F DEBUG : Abort message: ‘art/runtime/java_vm_ext.cc:410] JNI DETECTED ERROR IN APPLICATION: java_class == null’
04-27 12:48:43.603 673 673 F DEBUG : x0 0000000000000000 x1 0000000000007b92 x2 0000000000000006 x3 0000000000000000
04-27 12:48:43.603 673 673 F DEBUG : x4 0000000000000000 x5 0000000000000001 x6 0000000000000000 x7 0000000000000000
04-27 12:48:43.603 673 673 F DEBUG : x8 0000000000000083 x9 0000007f97aaca70 x10 0000000000000003 x11 000000000000ffff
04-27 12:48:43.603 673 673 F DEBUG : x12 000000000000000e x13 000000000000c000 x14 0000000000000001 x15 0000000000000000
04-27 12:48:43.604 673 673 F DEBUG : x16 0000007f97aa56a8 x17 0000007f97a67bdc x18 0000000000000008 x19 0000007f7f6af510
04-27 12:48:43.604 673 673 F DEBUG : x20 0000007f7f6af450 x21 000000000000000b x22 0000000000000006 x23 00000055abda24d0
04-27 12:48:43.604 673 673 F DEBUG : x24 00000055acb53e10 x25 0000000000000000 x26 00000055aba38530 x27 0000000000000000
04-27 12:48:43.604 673 673 F DEBUG : x28 00000055abda24d0 x29 0000007f7f6aca30 x30 0000007f97a65378
04-27 12:48:43.604 673 673 F DEBUG : sp 0000007f7f6aca30 pc 0000007f97a67be4 pstate 0000000020000000
04-27 12:48:43.617 673 673 F DEBUG :
04-27 12:48:43.617 673 673 F DEBUG : backtrace:
04-27 12:48:43.617 673 673 F DEBUG : #00 pc 000000000006abe4 /system/lib64/libc.so (tgkill+8)
04-27 12:48:43.617 673 673 F DEBUG : #01 pc 0000000000068374 /system/lib64/libc.so (pthread_kill+68)
04-27 12:48:43.618 673 673 F DEBUG : #02 pc 00000000000212f8 /system/lib64/libc.so (raise+28)
04-27 12:48:43.618 673 673 F DEBUG : #03 pc 000000000001ba98 /system/lib64/libc.so (abort+60)
04-27 12:48:43.618 673 673 F DEBUG : #04 pc 00000000004326f8 /system/lib64/libart.so (_ZN3art7Runtime5AbortEv+324)
04-27 12:48:43.618 673 673 F DEBUG : #05 pc 00000000001362a4 /system/lib64/libart.so (_ZN3art10LogMessageD2Ev+3136)
04-27 12:48:43.618 673 673 F DEBUG : #06 pc 000000000030d87c /system/lib64/libart.so (ZN3art9JavaVMExt8JniAbortEPKcS2+2084)
04-27 12:48:43.618 673 673 F DEBUG : #07 pc 000000000030de18 /system/lib64/libart.so (_ZN3art9JavaVMExt9JniAbortFEPKcS2_z+224)
04-27 12:48:43.618 673 673 F DEBUG : #08 pc 0000000000351b90 /system/lib64/libart.so (ZN3art3JNI17GetStaticMethodIDEP7_JNIEnvP7_jclassPKcS6+836)
04-27 12:48:43.618 673 673 F DEBUG : #09 pc 0000000000464ab4 /data/app/com.pusmicgame.mahjong-1/lib/arm64/libcocos2djs.so (_ZN20JavascriptJavaBridge8CallInfo13getMethodInfoEv+196)
04-27 12:48:43.619 673 673 F DEBUG : #10 pc 00000000004652c0 /data/app/com.pusmicgame.mahjong-1/lib/arm64/libcocos2djs.so (_ZN20JavascriptJavaBridge16callStaticMethodEP9JSContextjPN2JS5ValueE+1584)
04-27 12:48:43.619 673 673 F DEBUG : #11 pc 000000000084789c /data/app/com.pusmicgame.mahjong-1/lib/arm64/libcocos2djs.so
04-27 12:48:43.634 1778 1778 D StatusBar.NetworkController: onSignalStrengthsChanged received on slotId :0signalStrength=SignalStrength: 99 0 -120 -160 -120 -1 -1 21 -104 -13 4 2147483647 2147483647 gsm|lte level=4 cdmdlevel=0 evdolevel=0
04-27 12:48:43.683 685 685 W cnss_diag: type=1400 audit(0.0:982737): avc: denied { read } for name=“primary” dev=“tmpfs” ino=23858 scontext=u:r:wcnss_service:s0 tcontext=u:object_r:mnt_user_file:s0 tclass=lnk_file permissive=0
04-27 12:48:43.683 685 685 W cnss_diag: type=1400 audit(0.0:982738): avc: denied { read } for name=“primary” dev=“tmpfs” ino=23858 scontext=u:r:wcnss_service:s0 tcontext=u:object_r:mnt_user_file:s0 tclass=lnk_file permissive=0
04-27 12:48:43.922 2135 2135 D wpa_supplicant: wlan0: Control interface command ‘SIGNAL_POLL’
请问如何解决???
我已搜索jsb-default目录下的所有org/cocos2dx/javasciprt包名并替换。