n***@163.com
n***@163.com
  • 发布:2019-04-30 16:20
  • 更新:2020-02-11 17:02
  • 阅读:8222

android 离线打包 启动白屏 4.27更新的sdk

分类:uni-app

,更新SDK目录/SDK/assets/data/下所有文件(尤其是目录下.dat文件) 更新
如果出现白屏问题,请检测appid是否一致。 确定一致
如果在appid一致的情况下仍旧出现白屏现象,请确保Androidmanifest.xml中manifest节点下的package属性与build.gradle中的applicationId一致! 确定一致

启动图已经显示 只是启动图关闭后 就白屏

2019-04-30 16:20 负责人:无 分享
已邀请:
1***@qq.com

1***@qq.com

我只是安卓10出现,其他版本不出现。请问楼主解决了吗。

  • 1***@qq.com

    TMD,谁能想到是缺aar,引用miitmdid****.aar就行了。官网离线打包的文档简直是坑。

    2020-01-09 13:51

  • 逞英雄

    回复 1***@qq.com: 正解,出现Didn't find class "com.bun.miitmdid.core.JLibrary" on path: DexPathList[的时候也需要加入miit_mdid......aar

    2020-04-09 09:20

n***@163.com

n***@163.com (作者)

logcat 日志

2019-04-30 16:21:19.631 19440-19454/? E/zygote: Failed writing handshake bytes (-1 of 14): Broken pipe  
2019-04-30 16:21:19.815 19440-19440/? E/platform: Exception io.dcloud.feature.weex.WeexInstanceMgr initWeexEnv  
2019-04-30 16:21:20.190 19440-19440/? E/Html5Plus-onCreate: 1556612480190  
2019-04-30 16:21:20.253 19440-19440/? E/DCloud_LOG: channel:com.hua366.lehua;ver:1.9.9.62327;ssdk:false;max:3;trim:0;dg:false  
2019-04-30 16:21:20.284 19440-19440/? E/platform: NoSuchMethodException android.telephony.TelephonyManager getImei2  
2019-04-30 16:21:20.397 19440-19440/? E/platform: ClassNotFoundException io.dcloud.appstream.actionbar.StreamAppActionBarUtil checkNeedTitleView  
2019-04-30 16:21:20.406 19440-19440/? E/Html5Plus-onResume: 1556612480406  
2019-04-30 16:21:20.600 19440-19440/? E/DCloud_LOG: fmgr no dp  
2019-04-30 16:21:20.687 19440-19440/com.hua366.lehua E/Main_Path: FeatureMgr.loadBootOptions io.dcloud.feature.aps.APSFeatureImpl  
2019-04-30 16:21:20.688 19440-19440/com.hua366.lehua E/Main_Path: FeatureMgr.loadBootOptions io.dcloud.feature.statistics.StatisticsBootImpl  
2019-04-30 16:21:20.690 19440-19440/com.hua366.lehua E/DCloud_LOG: channel:com.hua366.lehua;ver:1.9.9.62327;ssdk:false;max:3;trim:0;dg:false  
2019-04-30 16:21:20.968 19440-19440/com.hua366.lehua E/shutao: new -- JSNWindow=__uniappview.html  
2019-04-30 16:21:31.095 19440-19440/com.hua366.lehua E/Html5Plus-SplashClosed: 1556612491095  
2019-04-30 16:21:31.095 19440-19440/com.hua366.lehua E/Main_Path: closeSplashScreen0 appid=__UNI__B68C88F0;true;closeSplashDid=false
DCloud_Android_zl

DCloud_Android_zl

uni-app还是5+应用?

n***@163.com

n***@163.com (作者)

apply plugin: 'com.android.application'  

android {  
    compileSdkVersion 28  
    buildToolsVersion '28.0.3'  
    defaultConfig {  
        applicationId "com.hua366.lehua"  

        minSdkVersion 16  
        targetSdkVersion 28 //建议此属性值设为21 io.dcloud.PandoraEntry 作为apk入口时   必须设置 targetSDKVersion>=21 沉浸式才生效  

        versionCode 1  
        versionName "1.0"  
        multiDexEnabled true  
        ndk {  
            abiFilters 'x86','armeabi'  //使用uniapp时必须同时选择二者或选其一  
        }  
        manifestPlaceholders = [  
            "plus.unipush.appid" : "pPyZWvH3Fa6PXba19ID009",  
            "plus.unipush.appkey" : "b7dOGlNPHR7pqwUxcXPVi4",  
            "plus.unipush.appsecret": "IxVYAT9qws8dlNElacmSg1",  
            "apk.applicationId":"com.hua366.lehua",  
                "XIAOMI_APP_ID":"IxVYAT9qws8dlNElacmSg1",  
                "XIAOMI_APP_KEY":"IxVYAT9qws8dlNElacmSg1",  
        ]  
    }  
    lintOptions {  
        abortOnError false  
    }  
    buildTypes {  
        release {  
            minifyEnabled false  
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'  
        }  
    }  
    compileOptions {  
        sourceCompatibility 1.8  
        targetCompatibility 1.8  
    }  
    //使用uniapp时,需复制下面代码  
    /*代码开始*/  
    aaptOptions {  
        additionalParameters '--auto-add-overlay'  
        //noCompress 'foo', 'bar'  
        ignoreAssetsPattern "!.svn:!.git:.*:!CVS:!thumbs.db:!picasa.ini:!*.scc:*~"  
    }  
    /*代码结束*/  
}  
repositories {  
    flatDir {  
        dirs 'libs'  
    }  
}  
dependencies {  
    implementation fileTree(dir: 'libs', include: ['*.jar'])  
    implementation fileTree(dir: 'libs', include: ['*.aar'])  

//    implementation "com.android.support:recyclerview-v7:25.3.1"  
//    implementation "com.android.support:support-v4:25.3.1"  
//    implementation "com.android.support:appcompat-v7:25.3.1"  
    configurations {  
//        all*.exclude group: 'com.google.android', module: 'support-v4'  
         all*.exclude module: 'support-v4'  
         all*.exclude module: 'appcompat-v7'  
        all*.exclude module: 'okhttp'  
        all*.exclude module: 'okhttp-ws'  
        all*.exclude module: 'bindingx_weex_plugin'  
        all*.exclude module: 'bindingx-core'  
        all*.exclude module: 'fresco'  
        all*.exclude group: 'com.alibaba', module: 'fastjson'  
        all*.exclude group: 'com.meituan.android.walle', module: 'plugin'  
    }  
//    configurations.all {exclude group: 'com.android.support', module: 'support-v4'}  
//    configurations.all {exclude group: 'com.android.support', module: 'appcompat-v7'}  
//    implementation 'com.alibaba.android:bindingx-core:1.0.3'  
//    implementation 'com.alibaba.android:bindingx_weex_plugin:1.0.3'  
//    implementation 'com.squareup.okhttp:okhttp:2.3.0'  
//    implementation 'com.squareup.okhttp:okhttp-ws:2.3.0'  
//    implementation 'com.alibaba:fastjson:1.1.46.android'  
//    implementation 'com.facebook.fresco:fresco:0.12.0'  
    // 基座需要,必须添加  
    implementation 'com.github.bumptech.glide:glide:4.9.0'  

    // 添加uni-app插件  
//    implementation project(':uniplugin_richalert')  
//    implementation project(':uniplugin_walle')  
}  
  • DCloud_Android_zl

    exclude我记得是排除的意思,你这样写不还是没把fastjson的库引入吗?

    2019-04-30 17:30

  • n***@163.com (作者)

    回复 DCloud_Android_zl: implementation "com.android.support:recyclerview-v7:25.3.1"

    implementation "com.android.support:support-v4:25.3.1"

    implementation "com.android.support:appcompat-v7:25.3.1"


    implementation 'com.alibaba.android:bindingx-core:1.0.3'  
    implementation 'com.alibaba.android:bindingx_weex_plugin:1.0.3'
    implementation 'com.squareup.okhttp:okhttp:2.3.0'
    implementation 'com.squareup.okhttp:okhttp-ws:2.3.0'
    implementation 'com.alibaba:fastjson:1.1.46.android'
    implementation 'com.facebook.fresco:fresco:0.12.0'
    // 基座需要,必须添加
    implementation 'com.github.bumptech.glide:glide:4.9.0'

    我现在已经改成这样了

    2019-04-30 17:31

  • DCloud_Android_zl

    回复 n***@163.com: 还是白屏?

    2019-04-30 17:40

  • n***@163.com (作者)

    回复 DCloud_Android_zl:稍等

    2019-04-30 17:41

  • n***@163.com (作者)

    回复 DCloud_Android_zl:

    04/30 17:42:54: Launching app

    $ adb shell am start -n "com.hua366.lehua/io.dcloud.PandoraEntry" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER

    Client not ready yet..Waiting for process to come online

    Connected to process 32536 on device xiaomi-mi_6-28d6e535

    Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.

    W/ResourceType: No package identifier when getting name for resource number 0x00000000

    I/MultiDex: VM with version 2.1.0 has multidex support

    I/MultiDex: Installing application

    VM has multidex support, MultiDex support library is disabled.

    E/platform: ClassNotFoundException io.dcloud.feature.weex.WeexDevtoolImpl initDebugEnvironment

    E/WXSDKEngine: WXEnvironment.sApplication is null

    E/platform: Exception io.dcloud.feature.weex.WeexInstanceMgr initWeexEnv

    E/WeexCore: failed find class WMBridge

    W/System.err: java.lang.ClassNotFoundException: Didn't find class "com.taobao.windmill.bridge.WMLBridge" on path: DexPathList[[zip file "/data/app/com.hua366.lehua-kddwvYIfrHPFsfeIG0Zxhg==/base.apk"],nativeLibraryDirectories=[/data/app/com.hua366.lehua-kddwvYIfrHPFsfeIG0Zxhg==/lib/arm, /data/app/com.hua366.lehua-kddwvYIfrHPFsfeIG0Zxhg==/base.apk!/lib/armeabi, /system/lib, /system/vendor/lib]]

    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:93)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:379)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)

    at java.lang.Runtime.nativeLoad(Native Method)

    at java.lang.Runtime.doLoad(Runtime.java:1099)

    W/System.err: at java.lang.Runtime.loadLibrary0(Runtime.java:1014)

    W/System.err: at java.lang.System.loadLibrary(System.java:1657)

    at com.taobao.weex.utils.WXSoInstallMgrSdk.initSo(WXSoInstallMgrSdk.java:140)

    at com.taobao.weex.WXSDKEngine$1.run(WXSDKEngine.java:232)

    at com.taobao.weex.common.WXThread$SafeRunnable.run(WXThread.java:48)

    at android.os.Handler.handleCallback(Handler.java:793)

    at android.os.Handler.dispatchMessage(Handler.java:98)

    at android.os.Looper.loop(Looper.java:176)

    at android.os.HandlerThread.run(HandlerThread.java:65)

    D/SimpleComponentHolder: Generate Component:WXText

    W/ResourceType: No package identifier when getting name for resource number 0x00000000

    D/SimpleComponentHolder: Generate Component:WXDiv

    I/Timeline: Timeline: Activity_launch_request time:822564927 intent:Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.hua366.lehua/io.dcloud.PandoraEntryActivity (has extras) }

    D/SimpleComponentHolder: Generate Component:WXImage

    D/SimpleComponentHolder: Generate Component:WXScroller

    W/ResourceType: No package identifier when getting name for resource number 0x00000000

    D/AccessibilityManager: AccessibilityManager status: mPackageName = com.hua366.lehua, mOptimizeEnabled = false, mIsEnabled = false, mIsUiAutomationEnabled = false, mIsInterestedPackage =false

    D/SimpleComponentHolder: Generate Component:WXSlider

    D/SimpleComponentHolder: Generate Component:WXSliderNeighbor

    D/SimpleComponentHolder: Generate Component:WXCell

    D/SimpleComponentHolder: Generate Component:WXListComponent

    D/OpenGLRenderer: HWUI GL Pipeline

    D/SimpleComponentHolder: Generate Component:WXRichText

    D/SimpleComponentHolder: Generate Component:SimpleListComponent

    I/zygote: Do partial code cache collection, code=29KB, data=21KB

    I/zygote: After code cache collection, code=29KB, data=21KB

    Increasing code cache capacity to 128KB

    D/ViewContentFactory: initViewContentFetcherClass

    getInterceptorPackageInfo

    D/ViewContentFactory: getInitialApplication took 1ms

    packageInfo.packageName: com.miui.catcherpatch

    W/ResourceType: No package identifier when getting name for resource number 0x00000000

    D/SimpleComponentHolder: Generate Component:WXRecyclerTemplateList

    D/ViewContentFactory: initViewContentFetcherClass took 14ms

    I/ContentCatcher: ViewContentFetcher : ViewContentFetcher

    D/ViewContentFactory: createInterceptor took 14ms

    I/ContentCatcher: Interceptor : Catcher list invalid for com.hua366.lehua@io.dcloud.PandoraEntry@92527208

    I/ContentCatcher: Interceptor : Get featureInfo from config pick_mode

    D/SimpleComponentHolder: Generate Component:HorizontalListComponent

    D/SimpleComponentHolder: Generate Component:WXCell

    D/SimpleComponentHolder: Generate Component:WXIndicator

    D/SimpleComponentHolder: Generate Component:WXVideo

    D/SimpleComponentHolder: Generate Component:WXInput

    I/Adreno: QUALCOMM build : 9c9b012, I92eb381bc9

    Build Date : 12/31/17

    OpenGL ES Shader Compiler Version: EV031.22.00.01

    Local Branch :

    Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.6.4.R1.08.00.00.309.049

    Remote Branch : NONE

    Reconstruct Branch : NOTHING

    I/vndksupport: sphal namespace is not configured for this process. Loading /vendor/lib/hw/gralloc.msm8998.so from the current namespace instead.

    D/SimpleComponentHolder: Generate Component:Textarea

    I/Adreno: PFP: 0x005ff087, ME: 0x005ff063

    D/SimpleComponentHolder: Generate Component:WXSwitch

    I/OpenGLRenderer: Initialized EGL, version 1.4

    D/OpenGLRenderer: Swap behavior 2

    D/SimpleComponentHolder: Generate Component:WXA

    D/SimpleComponentHolder: Generate Component:WXEmbed

    E/Html5Plus-onCreate: 1556617378516

    D/SimpleComponentHolder: Generate Component:WXWeb

    W/System.err: java.io.FileNotFoundException: /system/build.prop (Permission denied)

    at java.io.FileInputStream.open0(Native Method)

    at java.io.FileInputStream.open(FileInputStream.java:200)

    at java.io.FileInputStream.<init>(FileInputStream.java:150)

    at io.dcloud.common.util.BuildProperties.<init>(BuildProperties.java:33)

    at io.dcloud.common.util.BuildProperties.getInstance(BuildProperties.java:39)

    at io.dcloud.common.adapter.util.MobilePhoneModel.getDeviceRomVersionName(MobilePhoneModel.java:330)

    at io.dcloud.common.adapter.util.MobilePhoneModel.checkDeviceHtml5Geo(MobilePhoneModel.java:178)

    at io.dcloud.WebAppActivity.deviceInjectionGeoLocationJs(WebAppActivity.java:1194)

    at io.dcloud.WebAppActivity.onCreate(WebAppActivity.java:111)

    at android.app.Activity.performCreate(Activity.java:7050)

    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)

    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2809)

    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2931)

    W/System.err: at android.app.ActivityThread.-wrap11(Unknown Source:0)

    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1620)

    at android.os.Handler.dispatchMessage(Handler.java:105)

    at android.os.Looper.loop(Looper.java:176)

    at android.app.ActivityThread.main(ActivityThread.java:6704)

    at java.lang.reflect.Method.invoke(Native Method)

    at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:249)

    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:783)

    D/SimpleComponentHolder: Generate Component:WXRefresh

    D/SimpleComponentHolder: Generate Component:WXLoading

    D/WebAppActivity: onCreate

    D/SimpleComponentHolder: Generate Component:WXLoadingIndicator

    D/ViewContentFactory: initViewContentFetcherClass

    I/ContentCatcher: ViewContentFetcher : ViewContentFetcher

    D/ViewContentFactory: createInterceptor took 1ms

    D/SimpleComponentHolder: Generate Component:WXHeader

    I/ContentCatcher: Interceptor : Catcher list invalid for com.hua366.lehua@io.dcloud.PandoraEntryActivity@40426681

    Interceptor : Get featureInfo from config pick_mode

    W/weex: WXComponentRegistry Duplicate the Module name: modal

    D/TypeModuleFactory: extractMethodNames:WXModalUIModule

    D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.

    W/weex: WXComponentRegistry Duplicate the Module name: instanceWrap

    D/TypeModuleFactory: extractMethodNames:WXInstanceWrap

    D/WeexScanConfigRegister: auto preload class's methods count 33

    D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.

    W/weex: WXComponentRegistry Duplicate the Module name: animation

    D/TypeModuleFactory: extractMethodNames:WXAnimationModule

    D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.

    W/weex: WXComponentRegistry Duplicate the Module name: webview

    D/TypeModuleFactory: extractMethodNames:WXWebViewModule

    D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.

    W/weex: WXComponentRegistry Duplicate the Module name: navigator

    D/TypeModuleFactory: extractMethodNames:WXNavigatorModule

    D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.

    W/weex: WXComponentRegistry Duplicate the Module name: stream

    D/TypeModuleFactory: extractMethodNames:WXStreamModule

    D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.

    W/weex: WXComponentRegistry Duplicate the Module name: timer

    D/TypeModuleFactory: extractMethodNames:WXTimerModule

    I/DCloud_LOG: initPath isStreamSDK=false

    D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.

    W/weex: WXComponentRegistry Duplicate the Module name: storage

    D/TypeModuleFactory: extractMethodNames:WXStorageModule

    D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.

    W/weex: WXComponentRegistry Duplicate the Module name: clipboard

    D/TypeModuleFactory: extractMethodNames:WXClipboardModule

    D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.

    W/weex: WXComponentRegistry Duplicate the Module name: globalEvent

    D/TypeModuleFactory: extractMethodNames:WXGlobalEventModule

    D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.

    I/DeviceInfo: sPackageName=com.hua366.lehua;

    sDeviceRootDir=/storage/emulated/0;

    sBaseFsRootPath=/storage/emulated/0/Android/data/com.hua366.lehua/;

    sBaseFsRootFullPath=file:///storage/emulated/0/Android/data/com.hua366.lehua/;

    sBaseResRootFullPath=file:///android_asset/;

    I/DCloud_LOG: createNewFile 0:/storage/emulated/0/Android/data/com.hua366.lehua/apps/

    createNewFile 0:/storage/emulated/0/Android/data/com.hua366.lehua/sitemap/

    W/weex: WXComponentRegistry Duplicate the Module name: picker

    D/TypeModuleFactory: extractMethodNames:WXPickersModule

    D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.

    W/weex: WXComponentRegistry Duplicate the Module name: meta

    D/TypeModuleFactory: extractMethodNames:WXMetaModule

    D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.

    W/weex: WXComponentRegistry Duplicate the Module name: webSocket

    D/TypeModuleFactory: extractMethodNames:WebSocketModule

    D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.

    W/weex: WXComponentRegistry Duplicate the Module name: locale

    D/TypeModuleFactory: extractMethodNames:WXLocaleModule

    I/DeviceInfo: old_apk_modify_date=1556616944000

    D/weex: [WXinvokeRegisterModulesBridgeManager] invokeRegisterModules: framework.js uninitialized.

    W/weex: app AvailMemory ---->>>2078

    D/weex: weex JS framework from assets

    D/weex: [WXBridgeManager] initFrameworkEnv crashFile:/data/user/0/com.hua366.lehua/cache pieSupport:true

    I/DeviceInfo: new_apk_modify_date=1556617374000

    Apk Modify Date=20190430 17:42:54.000;_ret=true

    E/DCloud_LOG: channel:com.hua366.lehua;ver:1.9.9.62327;ssdk:false;max:3;trim:0;dg:false

    W/ImageLoader: memoryCache() and memoryCacheSize() calls overlap each other

    W/ImageLoader: memoryCache() and memoryCacheSize() calls overlap each other

    W/ImageLoader: discCache(), discCacheSize() and discCacheFileCount calls overlap each other

    E/WXParams: setCrashFilePath: /data/user/0/com.hua366.lehua/app_crash

    E/weex: weexjss's Path is/data/app/com.hua366.lehua-kddwvYIfrHPFsfeIG0Zxhg==/lib/arm/libweexjss.so

    findLibJssRealPath /data/app/com.hua366.lehua-kddwvYIfrHPFsfeIG0Zxhg==/lib/arm/libweexjss.so

    E/weex: getLibLdPath is /data/app/com.hua366.lehua-kddwvYIfrHPFsfeIG0Zxhg==/lib/arm:/data/app/com.hua366.lehua-kddwvYIfrHPFsfeIG0Zxhg==/base.apk!/lib/armeabi

    JavaScriptCore's Path is/data/app/com.hua366.lehua-kddwvYIfrHPFsfeIG0Zxhg==/lib/arm/libJavaScriptCore.so

    E/weex: findLibJscRealPath /data/app/com.hua366.lehua-kddwvYIfrHPFsfeIG0Zxhg==/lib/arm/libJavaScriptCore.so

    E/WeexCore: initFromParam is running

    E/weex: getUseSingleProcess is running false

    E/WeexCore: g_use_single_process is false

    E/weex: getLibJscPath is running /data/app/com.hua366.lehua-kddwvYIfrHPFsfeIG0Zxhg==/lib/arm

    E/WeexCore: g_jscSoPath is /data/app/com.hua366.lehua-kddwvYIfrHPFsfeIG0Zxhg==/lib/arm

    E/weex: getLibJssPath is running /data/app/com.hua366.lehua-kddwvYIfrHPFsfeIG0Zxhg==/lib/arm/libweexjss.so

    E/WeexCore: g_jssSoPath is /data/app/com.hua366.lehua-kddwvYIfrHPFsfeIG0Zxhg==/lib/arm/libweexjss.so

    E/WXParams: getCrashFilePath:/data/user/0/com.hua366.lehua/app_crash

    E/WeexCore: g_crashFilePath is /data/user/0/com.hua366.lehua/app_crash

    E/weex: getLibIcuPath is running /system/usr/icu/icudt58l.dat

    E/WeexCore: g_jssIcuPath is /system/usr/icu/icudt58l.dat

    E/weex: getLibLdPath is running /data/app/com.hua366.lehua-kddwvYIfrHPFsfeIG0Zxhg==/lib/arm:/data/app/com.hua366.lehua-kddwvYIfrHPFsfeIG0Zxhg==/base.apk!/lib/armeabi

    E/WeexCore: lib_ld_path is /data/app/com.hua366.lehua-kddwvYIfrHPFsfeIG0Zxhg==/lib/arm:/data/app/com.hua366.lehua-kddwvYIfrHPFsfeIG0Zxhg==/base.apk!/lib/armeabi

    E/WeexCore: xxx set_core_side is runing and 0xe893a090

    ScriptBridgeInMultiProcess

    MultiProcessAndSoInitializer IS IN init

    RegisterIPCCallback is running

    RegisterIPCCallback is running2

    WeexJSConnection g_crashFileName: /data/user/0/com.hua366.lehua/app_crash/crash_dump.log

    startupPie :1

    E/WeexCore: ScriptBridgeInMultiProcess finish e8921b00 0

    E/platform: NoSuchMethodException android.telephony.TelephonyManager getImei2

    E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:modal

    E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:instanceWrap

    E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:animation

    E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:webview

    E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:navigator

    E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:stream

    E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:timer

    E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:storage

    E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:clipboard

    [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:globalEvent

    E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:picker

    E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:meta

    E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:webSocket

    E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:locale

    E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:dom

    D/download_manager: BaseActivity onCreate

    D/: onRuntimePreCreate appid=Main_App

    D/NetworkSecurityConfig: No Network Security Config specified, using platform default

    I/splash: WebAppActivity.onCreateSplash().appid=null this.appid=Main_App this=io.dcloud.PandoraEntryActivity@268dcb9

    WebAppActivity.onCreateSplash().mSplashView is Null =true

    I/WebAppActivity: onCreateSplash;intent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.hua366.lehua/io.dcloud.PandoraEntryActivity (has extras) }

    onCreateSplash hasSplash=true

    onCreateSplash splash_mode=auto

    I/console: [DEBUG]Start JS Framework 0.29.0, Build at 2018-10-02 14:30. (Vue: 2.5.16-weex.5, Rax: 0.4.20)

    D/jsLog: Start JS Framework 0.29.0, Build at 2018-10-02 14:30. (Vue: 2.5.16-weex.5, Rax: 0.4.20)

    D/jsLog: Start windmill weex-vue-plugin (0.3.2) framework. Build at 2018-09-18 13:06
    LOG

    D/WeexCore: init JSFrm version 0.29.0

    E/platform: ClassNotFoundException io.dcloud.appstream.actionbar.StreamAppActionBarUtil checkNeedTitleView

    D/WebAppActivity: checkAutoHide false

    I/: onResume appid=Main_App

    E/Html5Plus-onResume: 1556617378883

    W/Looper: Slow Frame: doFrame is 375ms late because of 2 msg, msg 1 took 381ms (target=android.app.ActivityThread$H what=100)

    I/SplashView: paint() before DeviceInfo.updateScreenInfo()

    I/SplashView: dispatchDraw.....

    I/vndksupport: sphal namespace is not configured for this process. Loading /vendor/lib/hw/gralloc.msm8998.so from the current namespace instead.

    I/Main_Path_Main_App: onCreate appid=Main_App

    I/Main_Path_Main_App: onRuntimeCreate appid=Main_App

    E/DCloud_LOG: fmgr no dp

    I/zygote: Do partial code cache collection, code=61KB, data=50KB

    After code cache collection, code=61KB, data=50KB

    Increasing code cache capacity to 256KB

    E/Main_Path: FeatureMgr.loadBootOptions io.dcloud.feature.aps.APSFeatureImpl

    E/DCloud_LOG: channel:com.hua366.lehua;ver:1.9.9.62327;ssdk:false;max:3;trim:0;dg:false

    I/ylyl: AppMGr START_APP
    UNIB68C88F0

    startOneApp
    UNIB68C88F0

    W/ResourceType: No package identifier when getting name for resource number 0x00000000

    I/WebViewFactory: Loading com.google.android.webview version 72.0.3626.105 (code 362610550)

    I/cr_LibraryLoader: Time to load native libraries: 1 ms (timestamps 5853-5854)

    W/ResourceType: No package identifier when getting name for resource number 0x00000000

    W/ResourceType: No package identifier when getting name for resource number 0x00000000

    I/chromium: [INFO:library_loader_hooks.cc(42)] Chromium logging enabled: level = 0, default verbosity = 0

    I/cr_LibraryLoader: Expected native library version number "72.0.3626.105", actual native library version number "72.0.3626.105"

    W/cr_ChildProcLH: Create a new ChildConnectionAllocator with package name = com.google.android.webview, sandboxed = true

    I/cr_BrowserStartup: Initializing chromium process, singleProcess=false

    W/om.hua366.lehua: type=1400 audit(0.0:681891): avc: denied { read } for name="vmstat" dev="proc" ino=4026532155 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:proc:s0 tclass=file permissive=0

    D/EgretLoader: EgretLoader(Context context)

    D/EgretLoader: The context is not activity

    W/System.err: java.lang.NoSuchMethodException: setWebContentsDebuggingEnabled [boolean]

    at java.lang.Class.getMethod(Class.java:2068)

    W/System.err: at java.lang.Class.getDeclaredMethod(Class.java:2047)

    at io.dcloud.common.adapter.ui.WebViewImpl.setWebViewData(AdaWebview.java:2529)

    at io.dcloud.common.adapter.ui.WebViewImpl.init(AdaWebview.java:2213)

    at io.dcloud.common.adapter.ui.AdaWebview.init(AdaWebview.java:330)

    at io.dcloud.common.b.b.m.a(WindowMgr.java:1808)

    at io.dcloud.common.b.b.m.processEvent(WindowMgr.java:499)

    at io.dcloud.common.b.b.m.b(WindowMgr.java:1204)

    at io.dcloud.common.b.b.m.processEvent(WindowMgr.java:418)

    at io.dcloud.common.b.a.dispatchEvent(Core.java:555)

    at io.dcloud.common.a.a.processEvent(AppMgr.java:215)

    at io.dcloud.common.a.d.a(WebApp.java:2160)

    at io.dcloud.common.a.d.c(WebApp.java:2112)

    at io.dcloud.common.a.a$2.onCallBack(AppMgr.java:798)

    at io.dcloud.common.a.d.a(WebApp.java:2092)

    at io.dcloud.common.a.a.a(AppMgr.java:788)

    at io.dcloud.common.a.a.processEvent(AppMgr.java:549)

    at io.dcloud.common.b.a.dispatchEvent(Core.java:543)

    at io.dcloud.common.b.a.a(Core.java:395)

    at io.dcloud.common.b.a.a(Core.java:356)

    W/System.err: at io.dcloud.common.b.a$3$1.execute(Core.java:425)

    at io.dcloud.common.adapter.util.MessageHandler$1.handleMessage(MessageHandler.java:23)

    at android.os.Handler.dispatchMessage(Handler.java:105)

    at android.os.Looper.loop(Looper.java:176)

    at android.app.ActivityThread.main(ActivityThread.java:6704)

    at java.lang.reflect.Method.invoke(Native Method)

    at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:249)

    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:783)

    E/shutao: new -- JSNWindow=
    uniappview.html

    D/EgretLoader: EgretLoader(Context context)

    The context is not activity

    W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc

    Unrecognized profile 2130706434 for video/avc

    W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc

    Unrecognized profile 2130706434 for video/avc

    W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc

    Unrecognized profile 2130706434 for video/avc

    W/VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2

    W/VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2

    W/VideoCapabilities: Unsupported mime video/x-ms-wmv

    W/VideoCapabilities: Unsupported mime video/x-ms-wmv

    W/VideoCapabilities: Unsupported mime video/divx

    I/zygote: Do full code cache collection, code=125KB, data=104KB

    I/zygote: After code cache collection, code=101KB, data=66KB

    W/VideoCapabilities: Unsupported mime video/divx311

    W/VideoCapabilities: Unsupported mime video/divx4

    W/AudioCapabilities: Unsupported mime audio/dsd

    W/AudioCapabilities: Unsupported mime audio/dts

    Unsupported mime audio/32KADPCM

    W/VideoCapabilities: Unsupported mime video/mp4v-esdp

    I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es

    W/cr_CrashFileManager: /data/user/0/com.hua366.lehua/cache/WebView/Crash Reports does not exist or is not a directory

    E/WeexCore: ReportException : Exception: ReferenceError: Can't find variable: WeexPlus

    (global function):7:60

    (global function):7:80068

    anonymous@(global function):3670:7

    (weex framework):1:41074

    createInstance@(weex framework):1:41085

    (weex framework):1:177648

    E/weex: reportJSException >>>> instanceId:1, exception function:createInstance, exception:Exception: ReferenceError: Can't find variable: WeexPlus

    (global function):7:60

    (global function):7:80068

    anonymous@(global function):3670:7

    (weex framework):1:41074

    createInstance@(weex framework):1:41085

    (weex framework):1:177648

    I/zygote: Do partial code cache collection, code=113KB, data=85KB

    I/zygote: After code cache collection, code=113KB, data=85KB

    Increasing code cache capacity to 512KB

    E/Html5Plus-SplashClosed: 1556617389615

    E/Main_Path: closeSplashScreen0 appid=UNIB68C88F0;true;closeSplashDid=false

    W/Bitmap: Called hasAlpha() on a recycle()'d bitmap! This is undefined behavior!

    2019-04-30 17:43

  • n***@163.com (作者)

    报错

    2019-04-30 17:43

n***@163.com

n***@163.com (作者)

Logcat 日志

2019-04-30 17:19:55.035 29294-29294/com.hua366.lehua E/platform: ClassNotFoundException io.dcloud.feature.weex.WeexDevtoolImpl initDebugEnvironment  
2019-04-30 17:19:55.051 29294-29294/com.hua366.lehua E/WXSDKEngine: WXEnvironment.sApplication is null  
2019-04-30 17:19:55.100 29294-29294/com.hua366.lehua E/platform: Exception io.dcloud.feature.weex.WeexInstanceMgr initWeexEnv  
2019-04-30 17:19:55.108 29294-29342/com.hua366.lehua E/WeexCore: failed find class WMBridge  
2019-04-30 17:19:55.276 29294-29294/com.hua366.lehua E/Html5Plus-onCreate: 1556615995276  
2019-04-30 17:19:55.327 29294-29294/com.hua366.lehua E/DCloud_LOG: channel:com.hua366.lehua;ver:1.9.9.62327;ssdk:false;max:3;trim:0;dg:false  
2019-04-30 17:19:55.489 29294-29342/com.hua366.lehua E/WXParams: setCrashFilePath: /data/user/0/com.hua366.lehua/app_crash  
2019-04-30 17:19:55.490 29294-29342/com.hua366.lehua E/weex: weexjss's Path is/data/app/com.hua366.lehua-zFEavNKVkDp7ZkFl32GoJQ==/lib/arm/libweexjss.so  
2019-04-30 17:19:55.490 29294-29342/com.hua366.lehua E/weex: findLibJssRealPath /data/app/com.hua366.lehua-zFEavNKVkDp7ZkFl32GoJQ==/lib/arm/libweexjss.so  
2019-04-30 17:19:55.491 29294-29294/com.hua366.lehua E/platform: NoSuchMethodException android.telephony.TelephonyManager getImei2  
2019-04-30 17:19:55.499 29294-29342/com.hua366.lehua E/weex: getLibLdPath is /data/app/com.hua366.lehua-zFEavNKVkDp7ZkFl32GoJQ==/lib/arm:/data/app/com.hua366.lehua-zFEavNKVkDp7ZkFl32GoJQ==/base.apk!/lib/armeabi  
2019-04-30 17:19:55.499 29294-29342/com.hua366.lehua E/weex: JavaScriptCore's Path is/data/app/com.hua366.lehua-zFEavNKVkDp7ZkFl32GoJQ==/lib/arm/libJavaScriptCore.so  
2019-04-30 17:19:55.499 29294-29342/com.hua366.lehua E/weex: findLibJscRealPath /data/app/com.hua366.lehua-zFEavNKVkDp7ZkFl32GoJQ==/lib/arm/libJavaScriptCore.so  
2019-04-30 17:19:55.500 29294-29342/com.hua366.lehua E/WeexCore: initFromParam is running   
2019-04-30 17:19:55.500 29294-29342/com.hua366.lehua E/weex: getUseSingleProcess is running false  
2019-04-30 17:19:55.500 29294-29342/com.hua366.lehua E/WeexCore: g_use_single_process is false   
2019-04-30 17:19:55.500 29294-29342/com.hua366.lehua E/weex: getLibJscPath is running /data/app/com.hua366.lehua-zFEavNKVkDp7ZkFl32GoJQ==/lib/arm  
2019-04-30 17:19:55.500 29294-29342/com.hua366.lehua E/WeexCore: g_jscSoPath is /data/app/com.hua366.lehua-zFEavNKVkDp7ZkFl32GoJQ==/lib/arm   
2019-04-30 17:19:55.500 29294-29342/com.hua366.lehua E/weex: getLibJssPath is running /data/app/com.hua366.lehua-zFEavNKVkDp7ZkFl32GoJQ==/lib/arm/libweexjss.so  
2019-04-30 17:19:55.500 29294-29342/com.hua366.lehua E/WeexCore: g_jssSoPath is /data/app/com.hua366.lehua-zFEavNKVkDp7ZkFl32GoJQ==/lib/arm/libweexjss.so   
2019-04-30 17:19:55.500 29294-29342/com.hua366.lehua E/WXParams: getCrashFilePath:/data/user/0/com.hua366.lehua/app_crash  
2019-04-30 17:19:55.500 29294-29342/com.hua366.lehua E/WeexCore: g_crashFilePath is /data/user/0/com.hua366.lehua/app_crash   
2019-04-30 17:19:55.500 29294-29342/com.hua366.lehua E/weex: getLibIcuPath is running /system/usr/icu/icudt58l.dat  
2019-04-30 17:19:55.500 29294-29342/com.hua366.lehua E/WeexCore: g_jssIcuPath is /system/usr/icu/icudt58l.dat   
2019-04-30 17:19:55.500 29294-29342/com.hua366.lehua E/weex: getLibLdPath is running /data/app/com.hua366.lehua-zFEavNKVkDp7ZkFl32GoJQ==/lib/arm:/data/app/com.hua366.lehua-zFEavNKVkDp7ZkFl32GoJQ==/base.apk!/lib/armeabi  
2019-04-30 17:19:55.500 29294-29342/com.hua366.lehua E/WeexCore: lib_ld_path is /data/app/com.hua366.lehua-zFEavNKVkDp7ZkFl32GoJQ==/lib/arm:/data/app/com.hua366.lehua-zFEavNKVkDp7ZkFl32GoJQ==/base.apk!/lib/armeabi   
2019-04-30 17:19:55.503 29294-29342/com.hua366.lehua E/WeexCore: xxx set_core_side is runing and 0xefa75fe0  
2019-04-30 17:19:55.503 29294-29342/com.hua366.lehua E/WeexCore: ScriptBridgeInMultiProcess  
2019-04-30 17:19:55.503 29294-29342/com.hua366.lehua E/WeexCore: MultiProcessAndSoInitializer IS IN init  
2019-04-30 17:19:55.503 29294-29342/com.hua366.lehua E/WeexCore: RegisterIPCCallback is running  
2019-04-30 17:19:55.503 29294-29342/com.hua366.lehua E/WeexCore: RegisterIPCCallback is running2  
2019-04-30 17:19:55.503 29294-29342/com.hua366.lehua E/WeexCore: WeexJSConnection g_crashFileName: /data/user/0/com.hua366.lehua/app_crash/crash_dump.log  
2019-04-30 17:19:55.511 29294-29342/com.hua366.lehua E/WeexCore: startupPie :1  
2019-04-30 17:19:55.545 29294-29342/com.hua366.lehua E/WeexCore: ScriptBridgeInMultiProcess finish e3509000 0  
2019-04-30 17:19:55.563 29294-29342/com.hua366.lehua E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:modal  
2019-04-30 17:19:55.565 29294-29342/com.hua366.lehua E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:instanceWrap  
2019-04-30 17:19:55.566 29294-29342/com.hua366.lehua E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:animation  
2019-04-30 17:19:55.569 29294-29342/com.hua366.lehua E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:webview  
2019-04-30 17:19:55.571 29294-29342/com.hua366.lehua E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:navigator  
2019-04-30 17:19:55.572 29294-29342/com.hua366.lehua E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:stream  
2019-04-30 17:19:55.575 29294-29342/com.hua366.lehua E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:timer  
2019-04-30 17:19:55.576 29294-29342/com.hua366.lehua E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:storage  
2019-04-30 17:19:55.582 29294-29342/com.hua366.lehua E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:clipboard  
2019-04-30 17:19:55.584 29294-29342/com.hua366.lehua E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:globalEvent  
2019-04-30 17:19:55.587 29294-29342/com.hua366.lehua E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:picker  
2019-04-30 17:19:55.590 29294-29342/com.hua366.lehua E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:meta  
2019-04-30 17:19:55.596 29294-29342/com.hua366.lehua E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:webSocket  
2019-04-30 17:19:55.597 29294-29342/com.hua366.lehua E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:locale  
2019-04-30 17:19:55.598 29294-29342/com.hua366.lehua E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:dom  
2019-04-30 17:19:55.637 29294-29294/com.hua366.lehua E/platform: ClassNotFoundException io.dcloud.appstream.actionbar.StreamAppActionBarUtil checkNeedTitleView  
2019-04-30 17:19:55.648 29294-29294/com.hua366.lehua E/Html5Plus-onResume: 1556615995648  
2019-04-30 17:19:55.839 29294-29294/com.hua366.lehua E/DCloud_LOG: fmgr no dp  
2019-04-30 17:19:55.929 29294-29294/com.hua366.lehua E/Main_Path: FeatureMgr.loadBootOptions io.dcloud.feature.aps.APSFeatureImpl  
2019-04-30 17:19:55.930 29294-29294/com.hua366.lehua E/DCloud_LOG: channel:com.hua366.lehua;ver:1.9.9.62327;ssdk:false;max:3;trim:0;dg:false  
2019-04-30 17:19:56.223 29294-29294/com.hua366.lehua E/shutao: new -- JSNWindow=__uniappview.html  
2019-04-30 17:19:56.427 29294-29352/com.hua366.lehua E/WeexCore:  ReportException : Exception: ReferenceError: Can't find variable: WeexPlus  
    (global function):7:60  
    (global function):7:80068  
    anonymous@(global function):3670:7  
    (weex framework):1:41074  
    createInstance@(weex framework):1:41085  
    (weex framework):1:177648  
2019-04-30 17:19:56.427 29294-29342/com.hua366.lehua E/weex: reportJSException >>>> instanceId:1, exception function:createInstance, exception:Exception: ReferenceError: Can't find variable: WeexPlus  
    (global function):7:60  
    (global function):7:80068  
    anonymous@(global function):3670:7  
    (weex framework):1:41074  
    createInstance@(weex framework):1:41085  
    (weex framework):1:177648  
2019-04-30 17:20:06.352 29294-29294/com.hua366.lehua E/Html5Plus-SplashClosed: 1556616006352  
2019-04-30 17:20:06.353 29294-29294/com.hua366.lehua E/Main_Path: closeSplashScreen0 appid=__UNI__B68C88F0;true;closeSplashDid=false  
mingchen7

mingchen7

你好,我这边也遇到了这个问题,将libJavaScriptCore.so和libweexjss.so打包到apk就会报这样的错,但是放到system/lib下就不会,请问你的问题解决了么?

1***@qq.com

1***@qq.com

请问最后结论是什么?报错日志后面官方可有回复?遇到类似的问题,望作者分享一下

要回复问题请先登录注册