You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot find the bundle with package id '0x00'. Please check if you had declare it in 'bundle.json'!
Activity assets:
- /system/framework/framework-res.apk (system)
- /product/overlay/frameworkResOverlay.apk (system)
- /system/framework/framework-res-hwext.apk (system)
- base.apk (host)
- split_lib_dependencies_apk.apk (host)
- split_lib_slice_0_apk.apk (host)
- split_lib_slice_1_apk.apk (host)
- split_lib_slice_2_apk.apk (host)
- split_lib_slice_3_apk.apk (host)
- split_lib_slice_4_apk.apk (host)
- split_lib_slice_5_apk.apk (host)
- split_lib_slice_6_apk.apk (host)
- split_lib_slice_7_apk.apk (host)
- split_lib_slice_8_apk.apk (host)
- split_lib_slice_9_apk.apk (host)
- /system/app/WebViewGoogle/WebViewGoogle.apk (system)
Cannot find the bundle with package id '0x00'. Please check if you had declare it in 'bundle.json'!
04-07 10:53:11.949 19728-19728/xxxbeyond.all D/AndroidRuntime: Shutting down VM
04-07 10:53:11.950 19728-19728/xxxbeyond.all E/AndroidRuntime: FATAL EXCEPTION: main
Process: xxxbeyond.all, PID: 19728
java.lang.RuntimeException: Unable to start activity ComponentInfo{xxxbeyond.all/xxxbeyond.all.app.main.ui.activity.SplashActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x77040002
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3303)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3411)
at android.app.ActivityThread.-wrap12(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1994)
at android.os.Handler.dispatchMessage(Handler.java:108)
at android.os.Looper.loop(Looper.java:166)
at android.app.ActivityThread.main(ActivityThread.java:7529)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x77040002
at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:279)
at android.content.res.Resources.loadXmlResourceParser(Resources.java:2310)
at android.content.res.Resources.getLayout(Resources.java:1293)
at android.view.LayoutInflater.inflate(LayoutInflater.java:421)
at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
at xxxbeyond.all.app.main.base.BaseActivity.createView(BaseActivity.java:61)
at xxxbeyond.all.app.main.base.BaseActivity.onCreate(BaseActivity.java:37)
at xxxbeyond.all.app.main.base.mvp.BaseMVPActivity.onCreate(BaseMVPActivity.java:17)
at android.app.Activity.performCreate(Activity.java:7383)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1218)
at net.wequick.small.ApkBundleLauncher$InstrumentationWrapper.callActivityOnCreate(ApkBundleLauncher.java:387)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3256)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3411)
at android.app.ActivityThread.-wrap12(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1994)
at android.os.Handler.dispatchMessage(Handler.java:108)
at android.os.Looper.loop(Looper.java:166)
at android.app.ActivityThread.main(ActivityThread.java:7529)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
Small环境
Compile-time
gradle-small plugin : 1.5.0-beta2 (maven)
small aar : 1.5.0-beta2 (maven)
gradle core : 3.3
android plugin : 2.3.3
OS : Windows 10 10.0 (amd64)
错误报告
你做了什么?
构建一个APP,创建了app.main和lib.net,然后cleanLib、buildLib、buildBundle,提示successful,然后点击run,运行APP。(已确认宿主app的bundle.json无误)
你期望的结果是什么?
APP正常运行
实际结果是什么?
APP运行报错,没有进入闪屏页。报错日志如下:
04-07 10:53:11.375 19728-19728/xxxbeyond.all W/System.err: android.content.pm.PackageManager$NameNotFoundException: xxxbeyond.all.app.main
04-07 10:53:11.375 19728-19728/xxxbeyond.all W/System.err: at android.app.ApplicationPackageManager.getApplicationInfoAsUser(ApplicationPackageManager.java:392)
04-07 10:53:11.375 19728-19728/xxxbeyond.all W/System.err: at android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java:372)
04-07 10:53:11.375 19728-19728/xxxbeyond.all W/System.err: at com.tendcloud.tenddata.zz.a(td:204)
04-07 10:53:11.375 19728-19728/xxxbeyond.all W/System.err: at com.tendcloud.tenddata.ac.a(td:50)
04-07 10:53:11.375 19728-19728/xxxbeyond.all W/System.err: at com.tendcloud.tenddata.TCAgent.init(td:49)
04-07 10:53:11.375 19728-19728/xxxbeyond.all W/System.err: at xxxbeyond.all.app.main.base.MyApplication.onCreate(MyApplication.java:35)
04-07 10:53:11.375 19728-19728/xxxbeyond.all W/System.err: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1122)
04-07 10:53:11.375 19728-19728/xxxbeyond.all W/System.err: at net.wequick.small.ApkBundleLauncher$2.run(ApkBundleLauncher.java:875)
04-07 10:53:11.375 19728-19728/xxxbeyond.all W/System.err: at net.wequick.small.Bundle$1.run(Bundle.java:833)
04-07 10:53:11.375 19728-19728/xxxbeyond.all W/System.err: at android.os.Handler.handleCallback(Handler.java:808)
04-07 10:53:11.375 19728-19728/xxxbeyond.all W/System.err: at android.os.Handler.dispatchMessage(Handler.java:101)
04-07 10:53:11.375 19728-19728/xxxbeyond.all W/System.err: at android.os.Looper.loop(Looper.java:166)
04-07 10:53:11.375 19728-19728/xxxbeyond.all W/System.err: at android.app.ActivityThread.main(ActivityThread.java:7529)
04-07 10:53:11.375 19728-19728/xxxbeyond.all W/System.err: at java.lang.reflect.Method.invoke(Native Method)
04-07 10:53:11.375 19728-19728/xxxbeyond.all W/System.err: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
04-07 10:53:11.375 19728-19728/xxxbeyond.all W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
04-07 10:53:11.377 19728-19728/xxxbeyond.all I/TDLog: setReportUncaughtExceptions: true
04-07 10:53:11.946 19728-19728/xxxbeyond.all E/HealthManager: xxxbeyond.all.app.main.ui.activity.SplashActivity throws android.content.res.Resources$NotFoundException exception.
04-07 10:53:11.949 19728-19728/xxxbeyond.all E/HealthManager: The activity assets are different from application.
Application assets:
- /system/framework/framework-res.apk (system)
- /product/overlay/frameworkResOverlay.apk (system)
- /system/framework/framework-res-hwext.apk (system)
- base.apk (host)
- split_lib_dependencies_apk.apk (host)
- split_lib_slice_0_apk.apk (host)
- split_lib_slice_1_apk.apk (host)
- split_lib_slice_2_apk.apk (host)
- split_lib_slice_3_apk.apk (host)
- split_lib_slice_4_apk.apk (host)
- split_lib_slice_5_apk.apk (host)
- split_lib_slice_6_apk.apk (host)
- split_lib_slice_7_apk.apk (host)
- split_lib_slice_8_apk.apk (host)
- split_lib_slice_9_apk.apk (host)
- /system/app/WebViewGoogle/WebViewGoogle.apk (system)
- libxxxbeyond_all_app_main.so (builtin)
04-07 10:53:11.949 19728-19728/xxxbeyond.all D/AndroidRuntime: Shutting down VM
04-07 10:53:11.950 19728-19728/xxxbeyond.all E/AndroidRuntime: FATAL EXCEPTION: main
Process: xxxbeyond.all, PID: 19728
java.lang.RuntimeException: Unable to start activity ComponentInfo{xxxbeyond.all/xxxbeyond.all.app.main.ui.activity.SplashActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x77040002
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3303)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3411)
at android.app.ActivityThread.-wrap12(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1994)
at android.os.Handler.dispatchMessage(Handler.java:108)
at android.os.Looper.loop(Looper.java:166)
at android.app.ActivityThread.main(ActivityThread.java:7529)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x77040002
at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:279)
at android.content.res.Resources.loadXmlResourceParser(Resources.java:2310)
at android.content.res.Resources.getLayout(Resources.java:1293)
at android.view.LayoutInflater.inflate(LayoutInflater.java:421)
at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
at xxxbeyond.all.app.main.base.BaseActivity.createView(BaseActivity.java:61)
at xxxbeyond.all.app.main.base.BaseActivity.onCreate(BaseActivity.java:37)
at xxxbeyond.all.app.main.base.mvp.BaseMVPActivity.onCreate(BaseMVPActivity.java:17)
at android.app.Activity.performCreate(Activity.java:7383)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1218)
at net.wequick.small.ApkBundleLauncher$InstrumentationWrapper.callActivityOnCreate(ApkBundleLauncher.java:387)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3256)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3411)
at android.app.ActivityThread.-wrap12(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1994)
at android.os.Handler.dispatchMessage(Handler.java:108)
at android.os.Looper.loop(Looper.java:166)
at android.app.ActivityThread.main(ActivityThread.java:7529)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
Small环境
Compile-time
Bundles
Runtime
The text was updated successfully, but these errors were encountered: