Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

插件导入第三方aar,闪退 #386

Open
jwh18960733474 opened this issue Apr 26, 2021 · 0 comments
Open

插件导入第三方aar,闪退 #386

jwh18960733474 opened this issue Apr 26, 2021 · 0 comments

Comments

@jwh18960733474
Copy link

插件导入其他的sdk,其中只有一个aar的资源老是找不到

Process: com.nidong.cmswat.huawei, PID: 9124
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.nidong.cmswat.huawei/com.didi.virtualapk.core.A$2}: android.content.res.Resources$NotFoundException: Resource ID #0x0
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3507)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3661)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:140)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:100)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2232)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:238)
at android.app.ActivityThread.main(ActivityThread.java:7827)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:995)
Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x0
at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:254)
at android.content.res.Resources.loadXmlResourceParser(Resources.java:2296)
at android.content.res.Resources.getLayout(Resources.java:1183)
at android.view.LayoutInflater.inflate(LayoutInflater.java:532)
at android.view.LayoutInflater.inflate(LayoutInflater.java:481)
at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:446)
at android.app.Activity.setContentView(Activity.java:3403)
at com.bytedance.sdk.openadsdk.activity.base.TTBaseVideoActivity.e(TTBaseVideoActivity.java:380)
at com.bytedance.sdk.openadsdk.activity.base.TTBaseVideoActivity.onCreate(TTBaseVideoActivity.java:250)
at android.app.Activity.performCreate(Activity.java:7986)
at android.app.Activity.performCreate(Activity.java:7975)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1307)
at com.didi.virtualapk.internal.VAInstrumentation.callActivityOnCreate(VAInstrumentation.java:156)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3482)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3661) 
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83) 
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:140) 
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:100) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2232) 
at android.os.Handler.dispatchMessage(Handler.java:107) 
at android.os.Looper.loop(Looper.java:238) 
at android.app.ActivityThread.main(ActivityThread.java:7827) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:995) 

@jwh18960733474 jwh18960733474 changed the title 插件导入第三方aar,找不到资源 插件导入第三方aar,闪退 Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant