用于响应本机apk的java.lang.StringIndexOutOfBoundsException错误

时间:2020-03-25 20:08:26

标签: java android react-native react-native-android expo

我已经开发了一个反应本机应用程序,该应用程序在开发中运行良好,但是当我构建一个签名的apk并在android模拟器上运行(在Oreo上运行)时,它仅显示启动屏幕几秒钟,然后显示空白屏幕。运行adb logcat *:E会出现以下错误:

03-25 19:17:09.674 19041 19085 E eglCodecCommon: glUtilsParamSize: unknow param 0x00008cdf
03-25 19:17:09.683 19041 19085 E eglCodecCommon: glUtilsParamSize: unknow param 0x00008cdf
03-25 19:17:09.686 19041 19085 E eglCodecCommon: glUtilsParamSize: unknow param 0x00008824
03-25 19:17:09.686 19041 19085 E eglCodecCommon: glUtilsParamSize: unknow param 0x00008824
03-25 19:17:09.825 19041 19066 E Fabric  : Failed to retrieve settings from https://settings.crashlytics.com/spi/v2/platforms/android/apps/com.company.app/settings
03-25 19:17:09.830 19041 19065 E Answers : Failed to retrieve settings

03-25 19:17:11.080  1408  1633 E SurfaceFlinger: Failed to find layer (Splash Screen com.company.app#0) in layer parent (no-parent).
03-25 19:17:14.482 19041 19041 E c       : java.lang.StringIndexOutOfBoundsException: length=0; index=0

我不确定其中大多数含义是什么,尤其是我猜测最后一部分java.lang.StringIndexOutOfBoundsException: length=0; index=0会导致应用崩溃。请有人能解释这些错误是什么意思吗?

0 个答案:

没有答案