华为mate10 android 8.0 奔溃日志

creator版本 1.4.0
2dx版本 安装默认
ndk 10e

11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: log:奔溃日志是:2017-11-07 19:28:56
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: BOARD=ALP
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: CPU_ABI2=armeabi
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: HOST=shajk0209cna
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: versionName=1.0
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: IS_TREBLE_ENABLED=true
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: SUPPORTED_64_BIT_ABIS=[Ljava.lang.String;@a54476f
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: CPU_ABI=armeabi-v7a
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: PERMISSIONS_REVIEW_REQUIRED=false
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: IS_USERDEBUG=false
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: DISPLAY=ALP-TL00 8.0.0.106(C01)
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: SUPPORTED_ABIS=[Ljava.lang.String;@2806c7c
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: FINGERPRINT=HUAWEI/ALP-TL00/HWALP:8.0.0/HUAWEIALP-TL00/106(C01):user/release-keys
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: PRODUCT=ALP-TL00
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: HIDE_PRODUCT_INFO=false
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: ID=HUAWEIALP-TL00
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: replacements=[Ljava.lang.String;@a432d5a
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: TYPE=user
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: SERIAL=NDF0217A14000270
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: NO_HOTA=false
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: IS_CONTAINER=false
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: IS_ENG=false
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: DEVICE=HWALP
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: TIME=1506362476000
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: IS_USER=true
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: MODEL=ALP-TL00
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: MANUFACTURER=HUAWEI
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: USER=test
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: versionCode=1
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: BRAND=HUAWEI
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: SUPPORTED_32_BIT_ABIS=[Ljava.lang.String;@e81ba4e
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: matchers=[Ljava.lang.String;@5a42905
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: HARDWARE=kirin970
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: IS_DEBUGGABLE=false
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: BOOTLOADER=unknown
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: RADIO=unknown
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: TAG=Build
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: UNKNOWN=unknown
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: IS_EMULATOR=false
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: TAGS=release-keys
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: java.lang.StackOverflowError: stack size 8MB
11-07 19:34:03.086 17199 17461 D cocos2d-x debug info: at android.os.M

@dumganhar @minggo @jare 求解决!着急

惨淡呀!没有回复。。。不知道怎么解决

java.lang.StackOverflowError: stack size 8MB 百度这一段试试

有没有复现方式?

获取权限!弹出出错了!不知道怎么解决,前搁置了!android8.0系统问题

权限必须用户点击接受 才能用了 不然就会崩溃

连框都没有弹出就奔溃了

我们掉了原始平台语音!弹出框就奔溃,android8.0用户反馈的!

授权 用的时候检测授权

我的游戏现在也有用户反馈Android8.0也会崩溃,问题是一样的也是调用授权的时候~

能够在原生 android 8.0 设备上复现么?
我们这里没有 华为mate10 呢。

此版本太低了。

目测是一个已知堆栈溢出问题。我找找 PR

参考这个 PR 修改一下:

https://github.com/cocos-creator/cocos2d-x-lite/pull/1024

这两个文件在 master 分支已经没了。我看到新版本的 CCJavascriptJavaBridge.cpp 和 Java_org_cocos2dx_lib_Cocos2dxHelper.cpp 里头并未带上这个 PR 的改动。为什么新版本不带上呢?我还是会经常遇到 reference table overflow 错误,导致应用卡死。