Cocos Creator 生成安卓原生项目后修改包名,打包后黑屏!

Cocos Creator 生成安卓原生项目后,用默认包名无任何问题,修改包名后,既出现黑屏。
1)已修改AndroidManifest.xml文件中所有相关包名。
2)已修改 jni/heelojavascript/main.cpp 相关包名。
同时在jsb-default 目录中搜索替换所有的org.cocos2dx.javascirpt.

然后重新编译,重新生成,进入后能听到几秒的音乐然后直接黑屏退出。
logcat 日志如下:
04-27 14:32:36.136 1390 1794 I ActivityManager: Killing 14671:com.android.fileexplorer/u0a58 (adj 15): empty #17
04-27 14:32:36.146 2073 3034 D BroadcastLimitPolicy: [ALLOW] [broadcast] callerPackage com.pusmicgame.mahjong start process with Intent {

04-27 14:32:36.325 15531 15531 I Recovery.JniCrash: JNI_OnLoad
04-27 14:32:36.627 1390 1677 V AlarmManager: waited for alarm…
04-27 14:32:36.629 1390 3309 D DhcpClient: Broadcasting DHCPDISCOVER
04-27 14:32:36.821 15383 15451 D FLQG_LOG: Statistics: onActionResult(UserDebug,0,init success)
04-27 14:32:36.821 15383 15451 W FLQG_LOG: UserObject: callback of plugin UserDebug not set correctly
04-27 14:32:36.822 15383 15451 D FLQG_LOG: Statistics: onActionResult(CustomDebug,80000,CUSTOMRESULT_CUSTOMREXTENSION)
04-27 14:32:36.822 15383 15451 W FLQG_LOG: CustomObject: Listener of plugin CustomDebug not set correctly
04-27 14:32:36.822 15383 15451 D FLQG_LOG: Statistics: onActionResult(RECDebug,0,init success)
04-27 14:32:36.822 15383 15451 W FLQG_LOG: RECObject: Listener of plugin RECDebug not set correctly
04-27 14:32:36.971 1778 1778 D StatusBar.NetworkController: onSignalStrengthsChanged received on slotId :0signalStrength=SignalStrength: 99 0 -120 -160 -120 -1 -1 21 -106 -12 4 2147483647 2147483647 gsm|lte level=4 cdmdlevel=0 evdolevel=0
04-27 14:32:37.075 1390 1409 I art : Starting a blocking GC Explicit
04-27 14:32:37.171 686 798 D ThermalEngine: sensor_wait: case_therm Wait done.
04-27 14:32:37.172 686 798 D ThermalEngine: sensor_monitor: case_therm Reading 37000 .
04-27 14:32:37.172 686 798 I ThermalEngine: Sensor:case_therm:37000 mC
04-27 14:32:37.172 686 798 D ThermalEngine: update_active_thresh: case_therm Active(1), Hi(1) 42000, Lo(0) -2147483648, Interval(1) 1000
04-27 14:32:37.172 686 798 D ThermalEngine: sensor_monitor: case_therm Sensor wait.
04-27 14:32:37.172 686 798 D ThermalEngine: sensor_wait: case_therm Wait start. 1000ms
04-27 14:32:37.211 15531 15531 W jni crash monitor: JNI_OnLoad
04-27 14:32:37.234 15531 15531 E ActivityThread: Failed to find provider info for com.tencent.mm.coolassist.debugprovider
04-27 14:32:37.239 1390 1409 I art : Explicit concurrent mark sweep GC freed 55470(4MB) AllocSpace objects, 1(20KB) LOS objects, 33% free, 28MB/42MB, paused 2.011ms total 164.159ms

04-27 14:32:37.416 15383 15451 D cocos2d-x debug info: Success to load scene: db://assets/index.fire
04-27 14:32:37.432 1778 1778 D StatusBar.NetworkController: onSignalStrengthsChanged received on slotId :0signalStrength=SignalStrength: 99 0 -120 -160 -120 -1 -1 16 -102 -10 4 2147483647 2147483647 gsm|lte level=5 cdmdlevel=0 evdolevel=0
04-27 14:32:37.444 15383 15451 I AudioPlayerProvider: deviceSampleRate: 48000, bufferSizeInFrames: 192
04-27 14:32:37.444 15383 15451 D AudioPlayerProvider: Android API level: 23
04-27 14:32:37.458 676 1603 V AudioPolicyManagerCustom: getOutputForDevice() returns output 4
04-27 14:32:37.474 676 1569 W AudioFlinger: createEffect() error -2 from EffectGetDescriptor
04-27 14:32:37.474 676 1569 E AudioEffect: set(): AudioFlinger could not create effect, status: -2
04-27 14:32:37.474 676 1569 E AudioPolicyEffects: addOutputSessionEffects(): failed to create Fx music_helper on session 31
04-27 14:32:37.474 676 1569 V AudioPolicyManagerCustom: getNewOutputDevice() selected device 2
04-27 14:32:37.499 676 1595 D audio_hw_primary: out_set_parameters: enter: usecase(12: audio-ull-playback) kvpairs: routing=2
04-27 14:32:37.500 676 1569 V AudioPolicyManagerCustom: checkAndSetVolume() cannot set stream 6 volume with force use = 0 for comm
04-27 14:32:37.500 676 1704 E AudioFlinger: open /proc/15383/cmdline error
04-27 14:32:37.494 1704 1704 W Binder:676_2: type=1400 audit(0.0:39708): avc: denied { search } for name=“15383” dev=“proc” ino=52030 scontext=u:r:mediaserver:s0 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=dir permissive=0
04-27 14:32:37.500 676 1704 I AudioFlinger: setAppName(), name=[], active=[1]
04-27 14:32:37.502 15383 15451 D cocos2d-x debug info: ini index onload:
04-27 14:32:37.503 15383 15451 D cocos2d-x debug info: OS_ANDROID platam GPS:
04-27 14:32:37.503 15383 15451 D JniHelper: JniHelper::getJavaVM(), pthread_self() = 547445109840
04-27 14:32:37.503 15383 15451 D CCJavascriptJavaBridge: Classloader failed to find class of org/cocos2dx/javascript/AppActivity
04-27 14:32:37.512 676 1595 D audio_hw_primary: start_output_stream: enter: stream(0xab798c20)usecase(12: audio-ull-playback) devices(0x2)
04-27 14:32:37.515 2073 2073 D WtProcessStrategy: do trim { PackageName :com.miui.securitycenter Pid: 2060 Uid: 1000 Start by: unknown Score:50 Old score:50 state:0 mBackgroundTimeInMillis:1493274748273 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 14:32:37.516 2073 2073 D WtProcessStrategy: do trim { PackageName :com.miui.securitycenter Pid: 1951 Uid: 1000 Start by: unknown Score:50 Old score:50 state:0 mBackgroundTimeInMillis:1493274748273 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 14:32:37.531 676 1595 D audio_hw_primary: select_devices for use case (audio-ull-playback)
04-27 14:32:37.531 676 1595 D audio_hw_primary: select_devices: out_snd_device(2: speaker) in_snd_device(0: )
04-27 14:32:37.531 676 1595 I msm8916_platform: platform_check_and_set_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000, backend_idx 0 usecase = 12 device (speaker)
04-27 14:32:37.531 676 1595 I msm8916_platform: platform_check_codec_backend_cfg:becf: afe: Codec selected backend: 0 current bit width: 16 and sample rate: 48000
04-27 14:32:37.531 676 1595 D msm8916_platform: platform_check_codec_backend_cfg:becf: afe: playback on speakers Configure afe to default Sample Rate(48k)
04-27 14:32:37.531 676 1595 D msm8916_platform: platform_check_codec_backend_cfg:becf: afe: only 48KHZ sample rate is supported Configure afe to default Sample Rate(48k)
04-27 14:32:37.531 676 1595 I msm8916_platform: platform_check_codec_backend_cfg:becf: afe: Codec selected backend: 0 updated bit width: 16 and sample rate: 48000
04-27 14:32:37.531 676 1595 D audio_hw_primary: check_usecases_codec_backend:becf: force routing 0
04-27 14:32:37.531 676 1595 D audio_hw_primary: check_usecases_codec_backend:becf: check_usecases num.of Usecases to switch 0
04-27 14:32:37.531 676 1595 D hardware_info: hw_info_append_hw_type : device_name = speaker
04-27 14:32:37.531 676 1595 D audio_hw_primary: enable_snd_device: snd_device(2: speaker)
04-27 14:32:37.531 676 1595 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x2 of type 0 for Event 1, with Raise=0
04-27 14:32:37.535 676 1595 D aud_dev_arbi: acquireOneDevice: device owner for device 2 is 1
04-27 14:32:37.551 676 1595 I audio_hw_primary: select_devices Selected apptype: 69937
04-27 14:32:37.552 676 1704 I ExtendedNuUtils: printFileName fd(59) -> /data/app/com.pusmicgame.mahjong-1/base.apk
04-27 14:32:37.553 676 1595 E audio_hw_dolby: audio_extn_dolby_ds2_set_endpoint: Dolby set endpint :0x2
04-27 14:32:37.554 676 1595 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_id 12 of type 0 for Event 3, with Raise=0
04-27 14:32:37.557 676 1595 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 14, path = 0, app id = 0x11131, sample rate = 48000

04-27 14:32:37.562 676 1595 D msm8916_platform: platform_set_channel_map mixer_ctl_name:Playback Channel Map4
04-27 14:32:37.562 676 1595 D msm8916_platform: platform_set_channel_map: set mapping(1 2 0 0 0 0 0 0) for channel:2
04-27 14:32:37.580 15383 15451 F art : art/runtime/java_vm_ext.cc:410] JNI DETECTED ERROR IN APPLICATION: java_class == null
04-27 14:32:37.580 676 15569 I QComExtractorFactory: Sniff: Set key to use qti parser
04-27 14:32:37.580 15383 15451 F art : art/runtime/java_vm_ext.cc:410] in call to GetStaticMethodID
04-27 14:32:37.580 15383 15451 F art : art/runtime/java_vm_ext.cc:410] from void org.cocos2dx.lib.Cocos2dxRenderer.nativeRender()
04-27 14:32:37.580 15383 15451 F art : art/runtime/java_vm_ext.cc:410] “GLThread 885” prio=5 tid=11 Runnable
04-27 14:32:37.580 676 15569 I ExtendedExtractor: QTIParser is prefered
04-27 14:32:37.580 15383 15451 F art : art/runtime/java_vm_ext.cc:410] | group=“main” sCount=0 dsCount=0 obj=0x12e17980 self=0x558d33e1f0
04-27 14:32:37.580 15383 15451 F art : art/runtime/java_vm_ext.cc:410] | sysTid=15451 nice=0 cgrp=default sched=0/0 handle=0x7f76457450
04-27 14:32:37.580 15383 15451 F art : art/runtime/java_vm_ext.cc:410] | state=R schedstat=( 2267202128 56589633 856 ) utm=196 stm=30 core=6 HZ=100
04-27 14:32:37.580 15383 15451 F art : art/runtime/java_vm_ext.cc:410] | stack=0x7f76355000-0x7f76357000 stackSize=1037KB
04-27 14:32:37.580 15383 15451 F art : art/runtime/java_vm_ext.cc:410] | held mutexes= “mutator lock”(shared held)
04-27 14:32:37.580 676 15569 D MMParserExtractor: setExtraFlags called with flags 3 for paser instance ab8b6110
04-27 14:32:37.580 15383 15451 F art : art/runtime/java_vm_ext.cc:410] native: #00 pc 000000000048a288 /system/lib64/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+200)
04-27 14:32:37.580 15383 15451 F art : art/runtime/java_vm_ext.cc:410] native: #01 pc 0000000000459124 /system/lib64/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEP12BacktraceMap+224)
04-27 14:32:37.580 676 15569 D MMParserExtractor: using bigger parser buffers
04-27 14:32:37.580 15383 15451 F art : art/runtime/java_vm_ext.cc:410] native: #02 pc 000000000030d444 /system/lib64/libart.so (ZN3art9JavaVMExt8JniAbortEPKcS2+1004)
04-27 14:32:37.580 15383 15451 F art : art/runtime/java_vm_ext.cc:410] native: #03 pc 000000000030de18 /system/lib64/libart.so (_ZN3art9JavaVMExt9JniAbortFEPKcS2_z+224)
04-27 14:32:37.580 676 15569 I ExtendedExtractor: ExtendedExtractor::create 0xab8b6110
04-27 14:32:37.580 15383 15451 F art : art/runtime/java_vm_ext.cc:410] native: #04 pc 0000000000351b90 /system/lib64/libart.so (ZN3art3JNI17GetStaticMethodIDEP7_JNIEnvP7_jclassPKcS6+836)
04-27 14:32:37.580 15383 15451 F art : art/runtime/java_vm_ext.cc:410] native: #05 pc 0000000000464ab4 /data/app/com.pusmicgame.mahjong-1/lib/arm64/libcocos2djs.so (_ZN20JavascriptJavaBridge8CallInfo13getMethodInfoEv+196)
04-27 14:32:37.580 676 15569 I ExtendedExtractor: ExtendedExtractor::updateExtractor: Use default QTI parser
04-27 14:32:37.580 15383 15451 F art : art/runtime/java_vm_ext.cc:410] native: #06 pc 00000000004652c0 /data/app/com.pusmicgame.mahjong-1/lib/arm64/libcocos2djs.so (_ZN20JavascriptJavaBridge16callStaticMethodEP9JSContextjPN2JS5ValueE+1584)
04-27 14:32:37.580 15383 15451 F art : art/runtime/java_vm_ext.cc:410] native: #07 pc 000000000084789c /data/app/com.pusmicgame.mahjong-1/lib/arm64/libcocos2djs.so (???)
04-27 14:32:37.580 15383 15451 F art : art/runtime/java_vm_ext.cc:410] at org.cocos2dx.lib.Cocos2dxRenderer.nativeRender(Native method)
04-27 14:32:37.580 15383 15451 F art : art/runtime/java_vm_ext.cc:410] at org.cocos2dx.lib.Cocos2dxRenderer.onDrawFrame(Cocos2dxRenderer.java:104)
04-27 14:32:37.580 15383 15451 F art : art/runtime/java_vm_ext.cc:410] at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1535)
04-27 14:32:37.581 15383 15451 F art : art/runtime/java_vm_ext.cc:410] at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
04-27 14:32:37.581 15383 15451 F art : art/runtime/java_vm_ext.cc:410]
04-27 14:32:37.592 676 15569 D MMParserExtractor: Overiding Parser out buffer size = 262144
04-27 14:32:37.593 676 15568 D NuPlayerDriver: notifyListener_l(0xabb2ca30), (1, 0, 0)
04-27 14:32:37.594 676 1595 D audio_hw_primary: start_output_stream: exit
04-27 14:32:37.595 676 676 D NuPlayerDriver: start(0xabb2ca30), state is 4, eos is 0
04-27 14:32:37.595 676 15568 I GenericSource: start
04-27 14:32:37.604 676 15568 V AudioPolicyManagerCustom: isOffloadSupported: SR=48000, CM=0x3, Format=0x1000000, StreamType=3, BitRate=128000, duration=61248000 us, has_video=0
04-27 14:32:37.605 676 15568 I str_params: key: ‘SND_CARD_STATUS’ value: ‘’
04-27 14:32:37.607 676 15568 V AudioPolicyManagerCustom: isOffloadSupported: SR=48000, CM=0x3, Format=0x1a000001, StreamType=3, BitRate=128000, duration=61248000 us, has_video=0
04-27 14:32:37.607 676 15568 I AudioPolicyManagerCustom: PCM offload property is enabled
04-27 14:32:37.607 676 15568 I str_params: key: ‘SND_CARD_STATUS’ value: ‘’
04-27 14:32:37.608 676 15568 V AudioPolicyManagerCustom: isOffloadSupported: SR=48000, CM=0x3, Format=0x1000000, StreamType=3, BitRate=128000, duration=61248000 us, has_video=0
04-27 14:32:37.609 676 15568 I str_params: key: ‘SND_CARD_STATUS’ value: ‘’
04-27 14:32:37.609 676 15568 V AudioPolicyManagerCustom: isOffloadSupported: SR=48000, CM=0x3, Format=0x1a000001, StreamType=3, BitRate=128000, duration=61248000 us, has_video=0
04-27 14:32:37.609 676 15568 I AudioPolicyManagerCustom: PCM offload property is enabled
04-27 14:32:37.609 676 15568 I str_params: key: ‘SND_CARD_STATUS’ value: ‘’
04-27 14:32:37.609 676 15572 D audio_hw_spkr_prot: audio_extn_fbsp_get_parameters: Speaker protection disabled
04-27 14:32:37.612 676 15572 D audio_hw_extn: audio_extn_get_parameters: returns
04-27 14:32:37.612 676 15572 I str_params: key: ‘is_hw_dec_session_available’ value: ‘audio/mpeg’
04-27 14:32:37.658 15531 15531 I MMDB : Initialize JNI module (1/11) CursorWindow…
04-27 14:32:37.658 15531 15531 V JNIHelp : Registering com/tencent/mmdb/CursorWindow natives
04-27 14:32:37.659 15531 15531 I MMDB : Initialize JNI module (2/11) FileUtils…
04-27 14:32:37.659 15531 15531 V JNIHelp : Registering com/tencent/mmdb/FileUtils natives
04-27 14:32:37.659 15531 15531 I MMDB : Initialize JNI module (3/11) ChunkedCursorWindow…
04-27 14:32:37.659 15531 15531 V JNIHelp : Registering com/tencent/mmdb/database/ChunkedCursorWindow natives
04-27 14:32:37.660 15531 15531 V JNIHelp : Registering com/tencent/mmdb/database/SQLiteAsyncQuery natives
04-27 14:32:37.661 15531 15531 I MMDB : Initialize JNI module (4/11) SQLiteConnection…
04-27 14:32:37.663 15531 15531 V JNIHelp : Registering com/tencent/mmdb/database/SQLiteConnection natives
04-27 14:32:37.664 15531 15531 I MMDB : Initialize JNI module (5/11) SQLiteDebug…
04-27 14:32:37.664 15531 15531 V JNIHelp : Registering com/tencent/mmdb/database/SQLiteDebug natives
04-27 14:32:37.665 15531 15531 I MMDB : Initialize JNI module (6/11) SQLiteDirectCursor…
04-27 14:32:37.665 15531 15531 V JNIHelp : Registering com/tencent/mmdb/database/SQLiteDirectQuery natives
04-27 14:32:37.665 15531 15531 I MMDB : Initialize JNI module (7/11) SQLiteGlobal…
04-27 14:32:37.668 15531 15531 V JNIHelp : Registering com/tencent/mmdb/database/SQLiteGlobal natives
04-27 14:32:37.668 15531 15531 I MMDB : Initialize JNI module (8/11) DBBackup…
04-27 14:32:37.668 15531 15531 V JNIHelp : Registering com/tencent/mmdb/repair/BackupKit natives
04-27 14:32:37.668 15531 15531 V JNIHelp : Registering com/tencent/mmdb/repair/RecoverKit natives
04-27 14:32:37.669 15531 15531 I MMDB : Initialize JNI module (9/11) ShellUtil…
04-27 14:32:37.669 15531 15531 V JNIHelp : Registering com/tencent/mmdb/repair/DBDumpUtil natives
04-27 14:32:37.669 15531 15531 I MMDB : Initialize JNI module (10/11) DBRepair…
04-27 14:32:37.669 15531 15531 V JNIHelp : Registering com/tencent/mmdb/repair/RepairKit natives
04-27 14:32:37.669 15531 15531 I MMDB : Initialize JNI module (11/11) Log…
04-27 14:32:37.670 15531 15531 V JNIHelp : Registering com/tencent/mmdb/support/Log natives
04-27 14:32:37.710 15383 15451 F art : art/runtime/runtime.cc:366] Runtime aborting…
04-27 14:32:37.710 15383 15451 F art : art/runtime/runtime.cc:366] Aborting thread:
04-27 14:32:37.710 15383 15451 F art : art/runtime/runtime.cc:366] “GLThread 885” prio=5 tid=11 Native
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] | group="" sCount=0 dsCount=0 obj=0x12e17980 self=0x558d33e1f0
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] | sysTid=15451 nice=0 cgrp=default sched=0/0 handle=0x7f76457450
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] | state=R schedstat=( 2300620308 62944579 884 ) utm=198 stm=32 core=4 HZ=100
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] | stack=0x7f76355000-0x7f76357000 stackSize=1037KB
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] | held mutexes= “abort lock”
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #00 pc 000000000048a288 /system/lib64/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+200)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #01 pc 0000000000459124 /system/lib64/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEP12BacktraceMap+224)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #02 pc 0000000000432524 /system/lib64/libart.so (_ZNK3art10AbortState10DumpThreadERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEPNS_6ThreadE+48)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #03 pc 0000000000432908 /system/lib64/libart.so (_ZN3art7Runtime5AbortEv+852)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #04 pc 00000000001362a4 /system/lib64/libart.so (_ZN3art10LogMessageD2Ev+3136)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #05 pc 000000000030d87c /system/lib64/libart.so (ZN3art9JavaVMExt8JniAbortEPKcS2+2084)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #06 pc 000000000030de18 /system/lib64/libart.so (_ZN3art9JavaVMExt9JniAbortFEPKcS2_z+224)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #07 pc 0000000000351b90 /system/lib64/libart.so (ZN3art3JNI17GetStaticMethodIDEP7_JNIEnvP7_jclassPKcS6+836)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #08 pc 0000000000464ab4 /data/app/com.pusmicgame.mahjong-1/lib/arm64/libcocos2djs.so (_ZN20JavascriptJavaBridge8CallInfo13getMethodInfoEv+196)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #09 pc 00000000004652c0 /data/app/com.pusmicgame.mahjong-1/lib/arm64/libcocos2djs.so (_ZN20JavascriptJavaBridge16callStaticMethodEP9JSContextjPN2JS5ValueE+1584)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #10 pc 000000000084789c /data/app/com.pusmicgame.mahjong-1/lib/arm64/libcocos2djs.so (???)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] at org.cocos2dx.lib.Cocos2dxRenderer.nativeRender(Native method)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] at org.cocos2dx.lib.Cocos2dxRenderer.onDrawFrame(Cocos2dxRenderer.java:104)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1535)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] Pending exception java.lang.ClassNotFoundException: Didn’t find class “org/cocos2dx/javascript/AppActivity” on path: DexPathList[[zip file “/data/app/com.pusmicgame.mahjong-1/base.apk”],nativeLibraryDirectories=[/data/app/com.pusmicgame.mahjong-1/lib/arm64, /data/app/com.pusmicgame.mahjong-1/base.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]]
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:511)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:469)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] at void org.cocos2dx.lib.Cocos2dxRenderer.nativeRender() (Cocos2dxRenderer.java:-2)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] at void org.cocos2dx.lib.Cocos2dxRenderer.onDrawFrame(javax.microedition.khronos.opengles.GL10) (Cocos2dxRenderer.java:104)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] at void android.opengl.GLSurfaceView$GLThread.guardedRun() (GLSurfaceView.java:1535)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] at void android.opengl.GLSurfaceView$GLThread.run() (GLSurfaceView.java:1240)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] Dumping all threads without appropriate locks held: thread list lock mutator lock
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] All threads:
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] DALVIK THREADS (21):
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] “GLThread 885” prio=5 tid=11 Runnable
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] | group="" sCount=0 dsCount=0 obj=0x12e17980 self=0x558d33e1f0
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] | sysTid=15451 nice=0 cgrp=default sched=0/0 handle=0x7f76457450
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] | state=R schedstat=( 2333848692 63122185 890 ) utm=199 stm=34 core=4 HZ=100
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] | stack=0x7f76355000-0x7f76357000 stackSize=1037KB
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] | held mutexes= “abort lock” “mutator lock”(shared held)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #00 pc 000000000048a288 /system/lib64/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+200)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #01 pc 0000000000459124 /system/lib64/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEP12BacktraceMap+224)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #02 pc 0000000000465fc4 /system/lib64/libart.so (_ZN3art14DumpCheckpoint3RunEPNS_6ThreadE+692)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #03 pc 0000000000466ee0 /system/lib64/libart.so (_ZN3art10ThreadList13RunCheckpointEPNS_7ClosureE+276)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #04 pc 000000000046762c /system/lib64/libart.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+204)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #05 pc 00000000004327e4 /system/lib64/libart.so (_ZN3art7Runtime5AbortEv+560)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #06 pc 00000000001362a4 /system/lib64/libart.so (_ZN3art10LogMessageD2Ev+3136)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #07 pc 000000000030d87c /system/lib64/libart.so (ZN3art9JavaVMExt8JniAbortEPKcS2+2084)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #08 pc 000000000030de18 /system/lib64/libart.so (_ZN3art9JavaVMExt9JniAbortFEPKcS2_z+224)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #09 pc 0000000000351b90 /system/lib64/libart.so (ZN3art3JNI17GetStaticMethodIDEP7_JNIEnvP7_jclassPKcS6+836)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #10 pc 0000000000464ab4 /data/app/com.pusmicgame.mahjong-1/lib/arm64/libcocos2djs.so (_ZN20JavascriptJavaBridge8CallInfo13getMethodInfoEv+196)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #11 pc 00000000004652c0 /data/app/com.pusmicgame.mahjong-1/lib/arm64/libcocos2djs.so (_ZN20JavascriptJavaBridge16callStaticMethodEP9JSContextjPN2JS5ValueE+1584)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #12 pc 000000000084789c /data/app/com.pusmicgame.mahjong-1/lib/arm64/libcocos2djs.so (???)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] at org.cocos2dx.lib.Cocos2dxRenderer.nativeRender(Native method)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] at org.cocos2dx.lib.Cocos2dxRenderer.onDrawFrame(Cocos2dxRenderer.java:104)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1535)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366]
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] “main” prio=5 tid=1 Native
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] | group="" sCount=1 dsCount=0 obj=0x76381fb0 self=0x558d001d80
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] | sysTid=15383 nice=-1 cgrp=default sched=0/0 handle=0x7f8ec72fc8
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] | state=S schedstat=( 289105484 62380518 612 ) utm=20 stm=8 core=6 HZ=100
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] | stack=0x7ff3e47000-0x7ff3e49000 stackSize=8MB
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] | held mutexes=
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] kernel: (couldn’t read /proc/self/task/15383/stack)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #00 pc 0000000000069c54 /system/lib64/libc.so (__epoll_pwait+8)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #01 pc 000000000001cca4 /system/lib64/libc.so (epoll_pwait+32)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #02 pc 000000000001be88 /system/lib64/libutils.so (_ZN7android6Looper9pollInnerEi+144)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #03 pc 000000000001c268 /system/lib64/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+80)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #04 pc 00000000000d5610 /system/lib64/libandroid_runtime.so (_ZN7android18NativeMessageQueue8pollOnceEP7_JNIEnvP8_jobjecti+48)
04-27 14:32:37.711 15383 15451 F art : art/runtime/runtime.cc:366] native: #05 pc 000000000000082c

一直报这个错,这个应该怎么设置?怎么还是调用原始的包名啊??
我在main.cpp中已改成:
void Java_com_pusmicgame_mahjong_SDKWrapper_nativeLoadAllPlugins(JNIEnv* env, jobject thiz)

有没有人知道如何修复这个BUG?

解决了吗?我也碰到这个问题[quote="_1231, post:3, topic:46006, full:true"]
有没有人知道如何修复这个BUG?
[/quote]

:cry: