incubator-weex icon indicating copy to clipboard operation
incubator-weex copied to clipboard

"[Android][0.28.0] error_code: -1001, degradeToH5|createInstance fail|wx_create_instance_error isJSFrameworkInit==false reInitCount == 1 " in gradle plugin version 4.0

Open Stanllley opened this issue 5 years ago • 2 comments
trafficstars

Stanllley avatar Jun 19 '20 11:06 Stanllley

同报错啊,onRenderError -1001,degradeToH5|createInstance fail|wx_create_instance_error isJSFrameworkInit==false reInitCount == 1,,,,求解决方案啊

YongshengLuan avatar Jun 22 '20 08:06 YongshengLuan

同报错啊,onRenderError -1001,degradeToH5|createInstance fail|wx_create_instance_error isJSFrameworkInit==false reInitCount == 1,,,,求解决方案啊

我加了 android:extractNativeLibs="true" 之后运行正常,不知道能不能解决你的问题。

Stanllley avatar Jun 23 '20 05:06 Stanllley

同报错啊,onRenderError -1001,degradeToH5|createInstance fail|wx_create_instance_error isJSFrameworkInit==false reInitCount == 1,,,,求解决方案啊

可以在onException里重新载入, createWeexInstance(); renderPage(); 这个错误的原因是因为页面加载时jsframework没加载完

franksun1988 avatar Jun 24 '20 02:06 franksun1988