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

7.0分屏模式崩溃,resources$notfoundexception,必现。 #548

Closed
1 task done
ameryzhu opened this issue Nov 15, 2017 · 0 comments
Closed
1 task done

7.0分屏模式崩溃,resources$notfoundexception,必现。 #548

ameryzhu opened this issue Nov 15, 2017 · 0 comments

Comments

@ameryzhu
Copy link

ameryzhu commented Nov 15, 2017

  • 我已阅读并理解 贡献指南,严格遵循其约定。

错误报告

你做了什么?

Android 7.0 手机开启分屏模式下,启动必然崩溃。
报出resources$notfoundexception,加载app.xxx中的任崩溃。

你期望的结果是什么?

分屏模式正常启动应用。

实际结果是什么?

开启分屏模式崩溃。必现。

Small环境

Compile-time

  gradle-small plugin : 1.1.0-alpha2 (project)
            small aar : 1.2.0-beta3 (project)
          gradle core : 3.3
       android plugin : 2.3.1
                   OS : Mac OS X 10.12.6 (x86_64)

11-15 10:48:51.133 15662-15662/? E/CrashHandler: 处理崩溃: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.paxunke.linkme/com.paxunke.linkme.app.main.MainActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x5d030000 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2712) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2773) at android.app.ActivityThread.-wrap12(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1520) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:163) at android.app.ActivityThread.main(ActivityThread.java:6267) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:788) Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x5d030000 at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:201) at android.content.res.MiuiResourcesImpl.getValue(MiuiResourcesImpl.java:92) at android.content.res.Resources.loadXmlResourceParser(Resources.java:2130) at android.content.res.Resources.getLayout(Resources.java:1133) at android.view.LayoutInflater.inflate(LayoutInflater.java:428) at android.view.LayoutInflater.inflate(LayoutInflater.java:377) at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:412) at android.app.Activity.setContentView(Activity.java:2496) at com.paxunke.linkme.lib.widget.activity.BasicActivity.onCreate(BasicActivity.java:73) at com.paxunke.linkme.lib.widget.activity.BaseMVPActivity.onCreate(BaseMVPActivity.java:21) at com.paxunke.linkme.app.main.MainActivity.onCreate(MainActivity.java:152) at android.app.Activity.performCreate(Activity.java:6861) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119) at net.wequick.small.ApkBundleLauncher$InstrumentationWrapper.callActivityOnCreate(ApkBundleLauncher.java:265) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2665) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2773)  at android.app.ActivityThread.-wrap12(ActivityThread.java)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1520)  at android.os.Handler.dispatchMessage(Handler.java:102)  at android.os.Looper.loop(Looper.java:163)  at android.app.ActivityThread.main(ActivityThread.java:6267)  at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:788) 

Runtime

  Device : XiaoMi Max MDE40, nexus 6P
     SDK : Android 7.0
     ABI : armeabi-v7a
galenlin added a commit that referenced this issue Nov 18, 2017
galenlin added a commit that referenced this issue Nov 19, 2017
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