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

插件的服务中,xml中资源找不到 #162

Open
mengfantao opened this issue Feb 9, 2018 · 1 comment
Open

插件的服务中,xml中资源找不到 #162

mengfantao opened this issue Feb 9, 2018 · 1 comment

Comments

@mengfantao
Copy link

已经重写了服务中的getAssets 和getResources 但是在加载布局文件时,有一些颜色资源找不到直接报解析布局文件错误
android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class
Caused by: android.view.InflateException: Binary XML file line #2: Error inflating class

@mengfantao
Copy link
Author

mengfantao commented Feb 9, 2018

第二行是这样的


我把 android:background="@color/gamecat_color_00000000" 去掉就报下面行数错误了,这里就过去了,说明就是这里的资源引起的问题

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