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

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.baronzhang.android.weather/com.baronzhang.android.weather.activitiy.WelcomeActivity}: android.content.res.Resources$NotFoundException: File res/drawable/bg_launch_window.xml from drawable resource ID #0x7f020055 #14

Closed
miloDev-android opened this issue Mar 10, 2017 · 4 comments

Comments

@miloDev-android
Copy link

应用安装报异常

@BaronZ88
Copy link
Owner

clean后重新build看看

@wb12581
Copy link

wb12581 commented Mar 12, 2017

报同样的异常 rebuild 未解决 请问你解决了吗?

@gallonyin
Copy link

@20141125 @wb12581
BaseActivity
@OverRide
protected void onCreate(Bundle savedInstanceState) {
AppCompatDelegate.setCompatVectorFromResourcesEnabled(true);
super.onCreate(savedInstanceState);
}

AppCompatDelegate.setCompatVectorFromResourcesEnabled(true);
It works for me. : )

@BaronZ88
Copy link
Owner

@gallonyin gallonyin同学正解,这是由于Vector的兼容性问题导致的,最近一次提交已经修复,大家更新下代码吧。

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

4 participants