峰业昳
峰业昳
  • 发布:2019-02-17 13:16
  • 更新:2020-06-22 10:36
  • 阅读:4503

离线打包白屏

分类:uni-app

使用工具:


build.gradle

apply plugin: 'com.android.application'  

android {  
    compileSdkVersion 26  
    buildToolsVersion '28.0.3'  
    defaultConfig {  
        applicationId "com.zx.emold.dapeng"  
        minSdkVersion 16  
        targetSdkVersion 21  
        versionCode 1  
        versionName "1.0"  

        multiDexEnabled true  
        ndk {  
            abiFilters 'x86','armeabi'  //使用uniapp时必须同时选择二者或选其一  
        }  
    }  
    buildTypes {  
        release {  
            minifyEnabled false  
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'  
        }  
    }  

    lintOptions {  
        checkReleaseBuilds false  
        abortOnError false  
    }  
    //使用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(include: ['*.jar'], dir: 'libs')  
    implementation fileTree(include: ['*.aar'], dir: 'libs')  
    implementation 'com.android.support:appcompat-v7:26.1.0'  
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'  
    //    添加uniapp时需要添加recycler,bindingingx-core和bindingx_weex_plugin库  
    implementation 'com.android.support:recyclerview-v7:26.1.0'  
    implementation 'com.android.support:support-v4:26.1.0'  
    implementation 'com.alibaba.android:bindingx-core:1.0.3'  
    implementation 'com.alibaba.android:bindingx_weex_plugin:1.0.3'  
}  

appid修改情况:

在androidstudio中运行时只是白屏没有任何其他反应点返回后没有关闭,只能强制关闭。

报错:

02-17 13:30:16.914 14154-14154/com.zx.emold.dapeng:pushservice E/platform: ClassNotFoundException io.dcloud.feature.weex.WeexDevtoolImpl initDebugEnvironment  
02-17 13:30:16.918 14154-14154/com.zx.emold.dapeng:pushservice E/WXSDKEngine: WXEnvironment.sApplication is null  
02-17 13:30:16.958 14154-14179/com.zx.emold.dapeng:pushservice E/WeexCore: failed find class WMBridge  
02-17 13:30:17.374 14154-14179/com.zx.emold.dapeng:pushservice E/WXParams: setCrashFilePath: /data/user/0/com.zx.emold.dapeng/app_crash  
02-17 13:30:17.375 14154-14179/com.zx.emold.dapeng:pushservice E/weex: weexjss's Path is/data/app/com.zx.emold.dapeng-z00zY1ad87Ke7wWQt3yJjQ==/lib/arm/libweexjss.so  
02-17 13:30:17.375 14154-14179/com.zx.emold.dapeng:pushservice E/weex: findLibJssRealPath /data/app/com.zx.emold.dapeng-z00zY1ad87Ke7wWQt3yJjQ==/lib/arm/libweexjss.so  
02-17 13:30:17.394 14154-14179/com.zx.emold.dapeng:pushservice E/weex: getLibLdPath is /data/app/com.zx.emold.dapeng-z00zY1ad87Ke7wWQt3yJjQ==/lib/arm:/system/fake-libs:/data/app/com.zx.emold.dapeng-z00zY1ad87Ke7wWQt3yJjQ==/base.apk!/lib/armeabi  
02-17 13:30:17.394 14154-14179/com.zx.emold.dapeng:pushservice E/weex: JavaScriptCore's Path is/data/app/com.zx.emold.dapeng-z00zY1ad87Ke7wWQt3yJjQ==/lib/arm/libJavaScriptCore.so  
02-17 13:30:17.394 14154-14179/com.zx.emold.dapeng:pushservice E/weex: findLibJscRealPath /data/app/com.zx.emold.dapeng-z00zY1ad87Ke7wWQt3yJjQ==/lib/arm/libJavaScriptCore.so  
02-17 13:30:17.395 14154-14179/com.zx.emold.dapeng:pushservice E/WeexCore: initFromParam is running   
02-17 13:30:17.396 14154-14179/com.zx.emold.dapeng:pushservice E/weex: getUseSingleProcess is running false  
02-17 13:30:17.396 14154-14179/com.zx.emold.dapeng:pushservice E/WeexCore: g_use_single_process is false   
02-17 13:30:17.396 14154-14179/com.zx.emold.dapeng:pushservice E/weex: getLibJscPath is running /data/app/com.zx.emold.dapeng-z00zY1ad87Ke7wWQt3yJjQ==/lib/arm  
02-17 13:30:17.396 14154-14179/com.zx.emold.dapeng:pushservice E/WeexCore: g_jscSoPath is /data/app/com.zx.emold.dapeng-z00zY1ad87Ke7wWQt3yJjQ==/lib/arm   
02-17 13:30:17.396 14154-14179/com.zx.emold.dapeng:pushservice E/weex: getLibJssPath is running /data/app/com.zx.emold.dapeng-z00zY1ad87Ke7wWQt3yJjQ==/lib/arm/libweexjss.so  
02-17 13:30:17.396 14154-14179/com.zx.emold.dapeng:pushservice E/WeexCore: g_jssSoPath is /data/app/com.zx.emold.dapeng-z00zY1ad87Ke7wWQt3yJjQ==/lib/arm/libweexjss.so   
02-17 13:30:17.396 14154-14179/com.zx.emold.dapeng:pushservice E/WXParams: getCrashFilePath:/data/user/0/com.zx.emold.dapeng/app_crash  
02-17 13:30:17.396 14154-14179/com.zx.emold.dapeng:pushservice E/WeexCore: g_crashFilePath is /data/user/0/com.zx.emold.dapeng/app_crash   
02-17 13:30:17.396 14154-14179/com.zx.emold.dapeng:pushservice E/weex: getLibIcuPath is running /system/usr/icu/icudt58l.dat  
02-17 13:30:17.397 14154-14179/com.zx.emold.dapeng:pushservice E/WeexCore: g_jssIcuPath is /system/usr/icu/icudt58l.dat   
02-17 13:30:17.397 14154-14179/com.zx.emold.dapeng:pushservice E/weex: getLibLdPath is running /data/app/com.zx.emold.dapeng-z00zY1ad87Ke7wWQt3yJjQ==/lib/arm:/system/fake-libs:/data/app/com.zx.emold.dapeng-z00zY1ad87Ke7wWQt3yJjQ==/base.apk!/lib/armeabi  
02-17 13:30:17.397 14154-14179/com.zx.emold.dapeng:pushservice E/WeexCore: lib_ld_path is /data/app/com.zx.emold.dapeng-z00zY1ad87Ke7wWQt3yJjQ==/lib/arm:/system/fake-libs:/data/app/com.zx.emold.dapeng-z00zY1ad87Ke7wWQt3yJjQ==/base.apk!/lib/armeabi   
02-17 13:30:17.402 14154-14179/com.zx.emold.dapeng:pushservice E/WeexCore: xxx set_core_side is runing and 0xe67998a0  
02-17 13:30:17.402 14154-14179/com.zx.emold.dapeng:pushservice E/WeexCore: ScriptBridgeInMultiProcess  
02-17 13:30:17.402 14154-14179/com.zx.emold.dapeng:pushservice E/WeexCore: MultiProcessAndSoInitializer IS IN init  
02-17 13:30:17.402 14154-14179/com.zx.emold.dapeng:pushservice E/WeexCore: RegisterIPCCallback is running  
02-17 13:30:17.402 14154-14179/com.zx.emold.dapeng:pushservice E/WeexCore: RegisterIPCCallback is running2  
02-17 13:30:17.403 14154-14179/com.zx.emold.dapeng:pushservice E/WeexCore: WeexJSConnection g_crashFileName: /data/user/0/com.zx.emold.dapeng/app_crash/crash_dump.log  
02-17 13:30:17.403 14154-14179/com.zx.emold.dapeng:pushservice E/WeexCore: startupPie :1  
02-17 13:30:17.592 14154-14179/com.zx.emold.dapeng:pushservice E/WeexCore: ScriptBridgeInMultiProcess finish da5eae80 0  
02-17 13:30:17.709 14154-14179/com.zx.emold.dapeng:pushservice E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:modal  
02-17 13:30:17.712 14154-14179/com.zx.emold.dapeng:pushservice E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:instanceWrap  
02-17 13:30:17.722 14154-14179/com.zx.emold.dapeng:pushservice E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:animation  
02-17 13:30:17.733 14154-14179/com.zx.emold.dapeng:pushservice E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:webview  
02-17 13:30:17.744 14154-14179/com.zx.emold.dapeng:pushservice E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:navigator  
02-17 13:30:17.747 14154-14179/com.zx.emold.dapeng:pushservice E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:stream  
02-17 13:30:17.753 14154-14179/com.zx.emold.dapeng:pushservice E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:timer  
02-17 13:30:17.764 14154-14179/com.zx.emold.dapeng:pushservice E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:storage  
02-17 13:30:17.766 14154-14179/com.zx.emold.dapeng:pushservice E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:clipboard  
02-17 13:30:17.769 14154-14179/com.zx.emold.dapeng:pushservice E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:globalEvent  
02-17 13:30:17.773 14154-14179/com.zx.emold.dapeng:pushservice E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:picker  
02-17 13:30:17.776 14154-14179/com.zx.emold.dapeng:pushservice E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:meta  
02-17 13:30:17.787 14154-14179/com.zx.emold.dapeng:pushservice E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:webSocket  
02-17 13:30:17.792 14154-14179/com.zx.emold.dapeng:pushservice E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:locale  
02-17 13:30:17.806 14154-14179/com.zx.emold.dapeng:pushservice E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:dom  
02-17 13:30:17.863 14154-14179/com.zx.emold.dapeng:pushservice E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:plus  
02-17 13:30:17.886 14154-14179/com.zx.emold.dapeng:pushservice E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:plusstorage  
02-17 13:30:17.916 14154-14179/com.zx.emold.dapeng:pushservice E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:expressionBinding  
02-17 13:30:17.933 14154-14179/com.zx.emold.dapeng:pushservice E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:binding  
02-17 13:30:17.950 14154-14179/com.zx.emold.dapeng:pushservice E/weex: [WXBridgeManager]invokeRegisterModules METHOD_REGISTER_MODULES success module:bindingx  
02-17 13:32:03.970 14154-14225/com.zx.emold.dapeng:pushservice E/ActivityThread: Failed to find provider info for com.sina.weibo.sdkProvider
2019-02-17 13:16 负责人:无 分享
已邀请:
DCloud_Android_zl

DCloud_Android_zl

SDK是否是最新?assets/data/下文件是否更新?当前错误日志不明确,请重新上传错误日志(最好能展示错误类型)

  • 峰业昳 (作者)

    SDK版本是:Android-SDK@1.9.9.58073_20190121

    assets/data/下文件已经更新了

    日志文件是logcat筛选了所有的Error出来的,因为这些错误都比较陌生所以全贴上来了。

    2019-03-05 10:29

  • 峰业昳 (作者)

    最近在忙别的事情,所以现在才回

    2019-03-05 10:30

  • DCloud_Android_zl

    回复 峰业昳:麻烦提供一下整个Android项目。

    2019-03-05 14:59

  • 峰业昳 (作者)

    回复 DCloud_Android_zl:怎么提供呢?

    2019-03-05 17:08

mingchen7

mingchen7

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

4***@qq.com

4***@qq.com

同样的问题,gradle文件如下:
android {
compileSdkVersion 29
defaultConfig {
multiDexEnabled true
applicationId "com.adtech.hecd.webapp"
minSdkVersion 21
targetSdkVersion 29
versionCode 1
versionName "1.0"
// testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
ndk {
abiFilters 'x86','armeabi' //使用uniapp时必须同时选择二者或选其一
}
}

lintOptions {  
    checkReleaseBuilds false  
    abortOnError false  
}  

aaptOptions {  
    additionalParameters '--auto-add-overlay'  
    //noCompress 'foo', 'bar'  
    ignoreAssetsPattern "!.svn:!.git:.*:!CVS:!thumbs.db:!picasa.ini:!*.scc:*~"  
}  

buildTypes {  
    release {  
        minifyEnabled false  
        proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'  
    }  
}  

}
repositories {
flatDir {
dirs 'libs'
}
}
dependencies {
implementation(name: 'lib.5plus.base-release', ext: 'aar')
implementation(name: 'uniapp-release', ext: 'aar')
implementation 'com.android.support:appcompat-v7:29.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.support:recyclerview-v7:29.0.0'
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:1.13.0'
implementation "com.facebook.fresco:animated-gif:1.13.0"
implementation 'androidx.appcompat:appcompat:1.0.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
implementation 'com.github.bumptech.glide:glide:4.9.0'
}

异常,白屏
Connected to the target VM, address: 'localhost:8601', transport: 'socket'
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: debugger has settled (1318)
E/platform: ClassNotFoundException io.dcloud.feature.weex.WeexDevtoolImpl registerReloadReceiver
E/platform: ClassNotFoundException io.dcloud.feature.weex.WeexDevtoolImpl initDebugEnvironment
D/SoLoader: init start
adding system library source: /vendor/lib
adding system library source: /system/lib
adding application source: com.facebook.soloader.DirectorySoSource[root = /data/app/com.adtech.hecd.webapp-1/lib/arm flags = 0]
adding backup source from : com.facebook.soloader.ApkSoSource[root = /data/data/com.adtech.hecd.webapp/lib-main flags = 1]
Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /system/lib flags = 2]
Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /system/vendor/lib flags = 2]
Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /data/app/com.adtech.hecd.webapp-1/lib/arm flags = 0]
Preparing SO source: com.facebook.soloader.ApkSoSource[root = /data/data/com.adtech.hecd.webapp/lib-main flags = 1]
V/fb-UnpackingSoSource: locked dso store /data/data/com.adtech.hecd.webapp/lib-main
deps mismatch on deps store: regenerating
so store dirty: regenerating
D/ApkSoSource: not allowing consideration of lib/armeabi/libdaemon.so: deferring to libdir
not allowing consideration of lib/armeabi/libpl_droidsonroids_gif.so: deferring to libdir
not allowing consideration of lib/armeabi/libso.so: deferring to libdir
V/fb-UnpackingSoSource: regenerating DSO store com.facebook.soloader.ApkSoSource
Finished regenerating DSO store com.facebook.soloader.ApkSoSource
starting syncer worker
releasing dso store lock for /data/data/com.adtech.hecd.webapp/lib-main (from syncer thread)
not releasing dso store lock for /data/data/com.adtech.hecd.webapp/lib-main (syncer thread started)
D/SoLoader: init finish: 4 SO sources prepared
init exiting
E/platform: Exception io.dcloud.feature.weex.WeexInstanceMgr initWeexEnv
I/Timeline: Timeline: Activity_launch_request id:com.adtech.hecd.webapp time:105475444
D/PhoneWindow: DEBUG_SYSTEMUI:origin statusbar style
DEBUG_SYSTEMUI:windowDrawsFlag set
DEBUG_SYSTEMUI:IconColor=1
DEBUG_SYSTEMUI:StatusBarColor final set ff757575
I/ViewRootImpl: CPU Rendering VSync enable = true
D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
D/Atlas: Validating map...
I/Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: Nondeterministic_AU_msm8916_32_LA.BR.1.1.3.C14__release_AU (Ic4528faa6f)
OpenGL ES Shader Compiler Version: E031.25.03.04
Build Date: 06/14/16 Tue
Local Branch: mybranch20312125
Remote Branch: quic/LA.BR.1.1.3.c14_1
Local Patches: NONE
Reconstruct Branch: NOTHING
I/OpenGLRenderer: Initialized EGL, version 1.4
D/OpenGLRenderer: Enabling debug mode 0
E/Html5Plus-onCreate: 1568682823900
D/WebAppActivity: onCreate
I/DCloud_LOG: initPath isStreamSDK=false
W/ContextImpl: Failed to ensure directory: /storage/sdcard1/Android/data/com.adtech.hecd.webapp/cache
I/DeviceInfo: sPackageName=com.adtech.hecd.webapp;
sDeviceRootDir=/storage/emulated/0;
sBaseFsRootPath=/storage/emulated/0/Android/data/com.adtech.hecd.webapp/;
sBaseFsRootFullPath=file:///storage/emulated/0/Android/data/com.adtech.hecd.webapp/;
sBaseResRootFullPath=file:///android_asset/;
I/DCloud_LOG: createNewFile 0:/storage/emulated/0/Android/data/com.adtech.hecd.webapp/apps/
createNewFile 0:/storage/emulated/0/Android/data/com.adtech.hecd.webapp/sitemap/
I/DeviceInfo: old_apk_modify_date=1568681855000
I/DeviceInfo: new_apk_modify_date=1568682809000
Apk Modify Date=20190917 09:13:29.000;_ret=true
E/DCloud_LOG: channel:com.adtech.hecd.webapp;ver:1.9.9.68191;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
discCache(), discCacheSize() and discCacheFileCount calls overlap each other
W/ContextImpl: Failed to ensure directory: /storage/sdcard1/Android/data/com.adtech.hecd.webapp/cache
E/platform: Exception android.telephony.TelephonyManager getImei
NoSuchMethodException android.telephony.TelephonyManager getImei2
Exception android.telephony.TelephonyManager getImei
E/platform: Exception android.telephony.TelephonyManager getImei
E/TelephonyUtil: getIMEI exception==Neither user 10310 nor current process has android.permission.READ_PHONE_STATE.
W/System.err: java.lang.SecurityException: WifiService: Neither user 10310 nor current process has android.permission.ACCESS_WIFI_STATE.
at android.os.Parcel.readException(Parcel.java:1546)
at android.os.Parcel.readException(Parcel.java:1499)
at android.net.wifi.IWifiManager$Stub$Proxy.getConnectionInfo(IWifiManager.java:1135)
at android.net.wifi.WifiManager.getConnectionInfo(WifiManager.java:1229)
at io.dcloud.common.util.TelephonyUtil.getIMEI(TelephonyUtil.java:156)
at io.dcloud.feature.ad.a.a.a(ADHandler.java:111)
at io.dcloud.feature.ad.a.g.a(AdFeatureImpl.java:27)
at io.dcloud.feature.ad.AdFeatureImplMgr.doForFeature(AdFeatureImplMgr.java:22)
at io.dcloud.a.a(AdMgr.java:34)
W/System.err: at io.dcloud.b.a(BaseActivity.java:94)
at io.dcloud.b.onCreate(BaseActivity.java:56)
at io.dcloud.WebAppActivity.onCreate(WebAppActivity.java:118)
at android.app.Activity.performCreate(Activity.java:6074)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1112)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2392)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2500)
at android.app.ActivityThread.access$900(ActivityThread.java:167)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1374)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5401)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:919)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:714)
W/ContextImpl: Failed to ensure directory: /storage/sdcard1/Android/data/com.adtech.hecd.webapp/cache
W/System.err: java.lang.SecurityException: Requires READ_PHONE_STATE: Neither user 10310 nor current process has android.permission.READ_PHONE_STATE.
at android.os.Parcel.readException(Parcel.java:1546)
at android.os.Parcel.readException(Parcel.java:1499)
at com.android.internal.telephony.IPhoneSubInfo$Stub$Proxy.getIccSerialNumberForSubscriber(IPhoneSubInfo.java:590)
at android.telephony.TelephonyManager.getSimSerialNumber(TelephonyManager.java:1905)
at android.telephony.TelephonyManager.getSimSerialNumber(TelephonyManager.java:1891)
at io.dcloud.feature.ad.a.a.g(ADHandler.java:249)
at io.dcloud.feature.ad.a.a.a(ADHandler.java:134)
at io.dcloud.feature.ad.a.g.a(AdFeatureImpl.java:27)
at io.dcloud.feature.ad.AdFeatureImplMgr.doForFeature(AdFeatureImplMgr.java:22)
W/System.err: at io.dcloud.a.a(AdMgr.java:34)
at io.dcloud.b.a(BaseActivity.java:94)
at io.dcloud.b.onCreate(BaseActivity.java:56)
at io.dcloud.WebAppActivity.onCreate(WebAppActivity.java:118)
at android.app.Activity.performCreate(Activity.java:6074)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1112)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2392)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2500)
at android.app.ActivityThread.access$900(ActivityThread.java:167)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1374)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5401)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:919)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:714)
D/download_manager: BaseActivity onCreate
D/: onRuntimePreCreate appid=Main_App
W/ContextImpl: Failed to ensure directory: /storage/sdcard1/Android/data/com.adtech.hecd.webapp/cache

  • 1***@qq.com

    大佬 这个解决了吗

    2020-04-01 16:08

l***@163.com

l***@163.com

问题解决了么

1***@qq.com

1***@qq.com

请问解决了吗

zhychen

zhychen

我去 我也是。虽然能运行但是打包无法打包成relase版本的,看真机运行的log
E/platform: ClassNotFoundException io.dcloud.feature.weex.WeexDevtoolImpl initDebugEnvironment
E/platform: ClassNotFoundException io.dcloud.feature.weex.WeexDevtoolImpl registerReloadReceiver
E/DCloud_LOG: PlatformUtil.getResInputStream RuntimeException pFilePath=data/dcloud_control.xml
E/AwareLog: AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@1f37063
等等一堆找不到weex taobao相关的log我就奇怪了我也没有引用 weex和taobao的东西啊

  • 2***@qq.com

    我也出现了这个,有解决办法吗

    2020-09-05 10:13

3***@qq.com

3***@qq.com

大佬。这个问题最后咋解决的?我也是白屏

该问题目前已经被锁定, 无法添加新回复