Skip to content
This repository has been archived by the owner on Jun 6, 2019. It is now read-only.

invokeRegisterModules: framework.js uninitialized. #227

Open
LNeway opened this issue Jul 2, 2018 · 0 comments
Open

invokeRegisterModules: framework.js uninitialized. #227

LNeway opened this issue Jul 2, 2018 · 0 comments

Comments

@LNeway
Copy link

LNeway commented Jul 2, 2018

在Nexus 5, Android 5.1.1上运行无法显示页面,

07-02 20:13:37.385 5880-5880/? I/art: Late-enabling -Xcheck:jni
07-02 20:13:37.408 5880-5890/? I/art: Debugger is no longer active
07-02 20:13:37.709 5880-5880/? I/InstantRun: starting instant run server: is main process
07-02 20:13:37.757 5880-5880/? E/WXSDKEngine: WXEnvironment.sApplication is null
07-02 20:13:37.796 5880-5880/? D/weex_perf: [render time]SDKInitInvokeTime:49
07-02 20:13:37.803 5880-5905/? W/weex: weex so size check path :/data/app/com.baidu.tom.weexlearn-1/lib/arm/libweexjsc.so 1
07-02 20:13:37.804 5880-5905/? W/linker: libweexjsc.so: unused DT entry: type 0x6ffffffe arg 0x17b4
07-02 20:13:37.804 5880-5905/? W/linker: libweexjsc.so: unused DT entry: type 0x6fffffff arg 0x3
07-02 20:13:37.805 5880-5905/? D/weex_perf: [render time]SDKInitExecuteTime:20
07-02 20:13:37.806 5880-5905/? D/SimpleComponentHolder: Generate Component:WXText
07-02 20:13:37.812 5880-5905/? D/SimpleComponentHolder: Generate Component:WXDiv
07-02 20:13:37.818 5880-5905/? D/SimpleComponentHolder: Generate Component:WXImage
07-02 20:13:37.823 5880-5905/? D/SimpleComponentHolder: Generate Component:WXScroller
07-02 20:13:37.831 5880-5905/? D/SimpleComponentHolder: Generate Component:WXSlider
07-02 20:13:37.837 5880-5905/? D/SimpleComponentHolder: Generate Component:WXSliderNeighbor
07-02 20:13:37.845 5880-5905/? D/SimpleComponentHolder: Generate Component:SimpleListComponent
07-02 20:13:37.852 5880-5905/? D/SimpleComponentHolder: Generate Component:WXListComponent
07-02 20:13:37.861 5880-5905/? D/SimpleComponentHolder: Generate Component:WXRecyclerTemplateList
07-02 20:13:37.872 5880-5905/? D/SimpleComponentHolder: Generate Component:HorizontalListComponent
07-02 20:13:37.882 5880-5905/? D/SimpleComponentHolder: Generate Component:WXCell
07-02 20:13:37.887 5880-5905/? D/SimpleComponentHolder: Generate Component:WXCell
07-02 20:13:37.891 5880-5905/? D/SimpleComponentHolder: Generate Component:WXIndicator
07-02 20:13:37.895 5880-5905/? D/SimpleComponentHolder: Generate Component:WXVideo
07-02 20:13:37.899 5880-5905/? D/SimpleComponentHolder: Generate Component:WXInput
07-02 20:13:37.908 5880-5905/? D/SimpleComponentHolder: Generate Component:Textarea
07-02 20:13:37.917 5880-5905/? D/SimpleComponentHolder: Generate Component:WXSwitch
07-02 20:13:37.920 5880-5905/? D/SimpleComponentHolder: Generate Component:WXA
07-02 20:13:37.924 5880-5905/? D/SimpleComponentHolder: Generate Component:WXEmbed
07-02 20:13:37.930 5880-5905/? D/SimpleComponentHolder: Generate Component:WXWeb
07-02 20:13:37.933 5880-5905/? D/SimpleComponentHolder: Generate Component:WXRefresh
07-02 20:13:37.934 5880-5880/? W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
07-02 20:13:37.938 5880-5905/? D/SimpleComponentHolder: Generate Component:WXLoading
07-02 20:13:37.942 5880-5905/? D/SimpleComponentHolder: Generate Component:WXLoadingIndicator
07-02 20:13:37.945 5880-5905/? D/SimpleComponentHolder: Generate Component:WXHeader
07-02 20:13:37.949 5880-5905/? D/TypeModuleFactory: extractMethodNames:WXModalUIModule
07-02 20:13:37.953 5880-5905/? D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.
07-02 20:13:37.954 5880-5905/? D/TypeModuleFactory: extractMethodNames:WXInstanceWrap
07-02 20:13:37.955 5880-5905/? D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.
07-02 20:13:37.956 5880-5905/? D/TypeModuleFactory: extractMethodNames:WXAnimationModule
07-02 20:13:37.957 5880-5905/? D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.
07-02 20:13:37.958 5880-5905/? D/TypeModuleFactory: extractMethodNames:WXWebViewModule
07-02 20:13:37.961 5880-5905/? D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.
07-02 20:13:37.961 5880-5905/? D/TypeModuleFactory: extractMethodNames:WXNavigatorModule
07-02 20:13:37.966 5880-5905/? D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.
07-02 20:13:37.967 5880-5905/? D/TypeModuleFactory: extractMethodNames:WXStreamModule
07-02 20:13:37.969 5880-5905/? D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.
07-02 20:13:37.969 5880-5905/? D/TypeModuleFactory: extractMethodNames:WXTimerModule
07-02 20:13:37.972 5880-5905/? D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.
07-02 20:13:37.974 5880-5905/? D/TypeModuleFactory: extractMethodNames:WXStorageModule
07-02 20:13:37.978 5880-5905/? D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.
07-02 20:13:37.979 5880-5905/? D/TypeModuleFactory: extractMethodNames:WXClipboardModule
07-02 20:13:37.982 5880-5905/? D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.
07-02 20:13:37.982 5880-5905/? D/TypeModuleFactory: extractMethodNames:WXGlobalEventModule
07-02 20:13:37.983 5880-5905/? D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.
07-02 20:13:37.983 5880-5905/? D/TypeModuleFactory: extractMethodNames:WXPickersModule
07-02 20:13:37.985 5880-5905/? D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.
07-02 20:13:37.987 5880-5905/? D/TypeModuleFactory: extractMethodNames:WXMetaModule
07-02 20:13:37.989 5880-5905/? D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.
07-02 20:13:37.989 5880-5905/? D/TypeModuleFactory: extractMethodNames:WebSocketModule
07-02 20:13:37.993 5880-5905/? D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.
07-02 20:13:37.993 5880-5905/? D/TypeModuleFactory: extractMethodNames:WXLocaleModule
07-02 20:13:37.996 5880-5905/? D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.
07-02 20:13:38.000 5880-5905/? W/weex: app AvailMemory ---->>>614
07-02 20:13:38.000 5880-5905/? D/weex: weex JS framework from assets
07-02 20:13:38.002 5880-5880/? D/WXSDKInstance: Start render page: MainActivity
07-02 20:13:38.007 5880-5905/? D/weex: [WXBridgeManager] initFrameworkEnv crashFile:/data/data/com.baidu.tom.weexlearn/cache pieSupport:true
07-02 20:13:38.012 5880-5905/? E/jsengine: startupPie :1
07-02 20:13:38.152 5880-5880/? W/weex: Warning :Component tree has not build completely, onActivityResume can not be call!
07-02 20:13:38.167 5880-5911/? D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
07-02 20:13:38.173 5880-5880/? D/Atlas: Validating map...
07-02 20:13:38.180 5880-5880/? E/MainActivity: msg is degradeToH5|createInstance fail|wx_create_instance_error isJSFrameworkInit==false reInitCount == 1
07-02 20:13:38.197 5880-5911/? I/Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 01/14/15, ab0075f, Id3510ff6dc
07-02 20:13:38.198 5880-5911/? I/OpenGLRenderer: Initialized EGL, version 1.4
07-02 20:13:38.202 5880-5905/? D/jsLog: START JS FRAMEWORK 0.24.4, Build 2018-02-07 17:13. (Vue: 2.5.13-weex.5, Rax: 0.4.20)
07-02 20:13:38.210 5880-5911/? D/OpenGLRenderer: Enabling debug mode 0
07-02 20:13:38.270 5880-5905/? D/jsengine: init JSFrm version 0.24.4
07-02 20:13:38.271 5880-5905/? D/weex_perf: [render time]initFramework:264
07-02 20:13:38.271 5880-5905/? D/weex_perf: [render time]SDKInitTime:524
07-02 20:13:38.275 5880-5880/? W/art: Before Android 4.1, method int android.support.v7.widget.DropDownListView.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView

apply plugin: 'com.android.application'
android {
compileSdkVersion 27
defaultConfig {
applicationId "********"
minSdkVersion 17
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
ndk {
abiFilters "armeabi", "x86"
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:recyclerview-v7:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:2.2.2'
implementation 'com.alibaba:fastjson:1.1.46.android'
implementation 'com.taobao.android:weex_sdk:0.18.0@aar'
implementation 'com.github.bumptech.glide:glide:4.7.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'
}

上面是日志信息及相关的gradle配置

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant