andriod studio编译cpptests在手机上闪退

错误日志是


Build fingerprint: ‘Xiaomi/capricorn/capricorn:8.0.0/OPR1.170623.032/8.12.6:user/release-keys’
Revision: ‘0’
ABI: ‘arm’
pid: 5347, tid: 5382, name: GLThread 27071 >>> org.cocos2dx.cpp_tests <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
Cause: null pointer dereference
r0 d687ddc8 r1 00000400 r2 00000000 r3 00000000
r4 d1f3f864 r5 f39b33e0 r6 fbfbd9db r7 d687ec68
r8 00000056 r9 e4cfda00 sl d687ed70 fp d687ddd8
ip f4690d60 sp d687dd48 lr 00000000 pc d4601d54 cpsr 60070010

backtrace:
#00 pc 00f60d54 /data/app/org.cocos2dx.cpp_tests-Tyqj0YLSt4LHk_z-LapqPQ==/lib/arm/libcpp_tests.so (_ZN8TestList16tableCellAtIndexEPN7cocos2d9extension9TableViewEi+308)
#01 pc 01d08680 /data/app/org.cocos2dx.cpp_tests-Tyqj0YLSt4LHk_z-LapqPQ==/lib/arm/libcpp_tests.so (_ZN7cocos2d9extension9TableView17updateCellAtIndexEi+212)
#02 pc 01d0b510 /data/app/org.cocos2dx.cpp_tests-Tyqj0YLSt4LHk_z-LapqPQ==/lib/arm/libcpp_tests.so (_ZN7cocos2d9extension9TableView19scrollViewDidScrollEPNS0_10ScrollViewE+1912)
#03 pc 01cfd684 /data/app/org.cocos2dx.cpp_tests-Tyqj0YLSt4LHk_z-LapqPQ==/lib/arm/libcpp_tests.so (_ZN7cocos2d9extension10ScrollView16setContentOffsetENS_4Vec2Eb+632)
#04 pc 01d0744c /data/app/org.cocos2dx.cpp_tests-Tyqj0YLSt4LHk_z-LapqPQ==/lib/arm/libcpp_tests.so (_ZN7cocos2d9extension9TableView18_updateContentSizeEv+500)
#05 pc 00f601e8 /data/app/org.cocos2dx.cpp_tests-Tyqj0YLSt4LHk_z-LapqPQ==/lib/arm/libcpp_tests.so (_ZN19TestCustomTableView6createEPN7cocos2d9extension19TableViewDataSourceENS0_4SizeE+244)
#06 pc 00f5f5fc /data/app/org.cocos2dx.cpp_tests-Tyqj0YLSt4LHk_z-LapqPQ==/lib/arm/libcpp_tests.so (_ZN8TestList11runThisTestEv+140)
#07 pc 018cc6f0 /data/app/org.cocos2dx.cpp_tests-Tyqj0YLSt4LHk_z-LapqPQ==/lib/arm/libcpp_tests.so (_ZN14TestControllerC2Ev+384)
#08 pc 018d5608 /data/app/org.cocos2dx.cpp_tests-Tyqj0YLSt4LHk_z-LapqPQ==/lib/arm/libcpp_tests.so (_ZN14TestController11getInstanceEv+112)
#09 pc 00f5d598 /data/app/org.cocos2dx.cpp_tests-Tyqj0YLSt4LHk_z-LapqPQ==/lib/arm/libcpp_tests.so (_ZN11AppDelegate29applicationDidFinishLaunchingEv+5016)
#10 pc 01910655 /data/app/org.cocos2dx.cpp_tests-Tyqj0YLSt4LHk_z-LapqPQ==/lib/arm/libcpp_tests.so (_ZN7cocos2d11Application3runEv+18)
#11 pc 019168d1 /data/app/org.cocos2dx.cpp_tests-Tyqj0YLSt4LHk_z-LapqPQ==/lib/arm/libcpp_tests.so (Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit+196)
#12 pc 003e5d29 /system/lib/libart.so (art_quick_generic_jni_trampoline+40)
#13 pc 003e1fe1 /system/lib/libart.so (art_quick_invoke_stub_internal+64)
#14 pc 003e665b /system/lib/libart.so (art_quick_invoke_static_stub+226)
#15 pc 000ace47 /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+182)
#16 pc 001f2e53 /system/lib/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+238)
#17 pc 001ee403 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+574)
#18 pc 003ccf71 /system/lib/libart.so (MterpInvokeStatic+324)
#19 pc 003d4414 /system/lib/libart.so (ExecuteMterpImpl+14612)
#20 pc 001d5985 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+340)
#21 pc 001dad07 /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+142)
#22 pc 001ee3ed /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+552)
#23 pc 003ccaeb /system/lib/libart.so (MterpInvokeInterface+1198)
#24 pc 003d4494 /system/lib/libart.so (ExecuteMterpImpl+14740)
#25 pc 001d5985 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+340)
#26 pc 001dad07 /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+142)
#27 pc 001ee3ed /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+552)
#28 pc 003ccd75 /system/lib/libart.so (MterpInvokeDirect+360)
#29 pc 003d4394 /system/lib/libart.so (ExecuteMterpImpl+14484)
#30 pc 001d5985 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+340)
#31 pc 001dac55 /system/lib/libart.so (_ZN3art11interpreter30EnterInterpreterFromEntryPointEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameE+92)
#32 pc 003c25f9 /system/lib/libart.so (artQuickToInterpreterBridge+960)
#33 pc 003e5da1 /system/lib/libart.so (art_quick_to_interpreter_bridge+32)
#34 pc 003e1fe1 /system/lib/libart.so (art_quick_invoke_stub_internal+64)
#35 pc 003e6555 /system/lib/libart.so (art_quick_invoke_stub+228)
#36 pc 000ace1d /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+140)
#37 pc 0033392d /system/lib/libart.so (_ZN3artL18InvokeWithArgArrayERKNS_33ScopedObjectAccessAlreadyRunnableEPNS_9ArtMethodEPNS_8ArgArrayEPNS_6JValueEPKc+52)
#38 pc 003347a1 /system/lib/libart.so (_ZN3art35InvokeVirtualOrInterfaceWithJValuesERKNS_33ScopedObjectAccessAlreadyRunnableEP8_jobjectP10_jmethodIDP6jvalue+320)
#39 pc 003547f5 /system/lib/libart.so (_ZN3art6Thread14CreateCallbackEPv+868)
#40 pc 0004842f /system/lib/libc.so (_ZL15__pthread_startPv+22)
#41 pc 0001b56d /system/lib/libc.so (__start_thread+32)