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错误 #52

Open
pcarm opened this issue Jul 26, 2019 · 5 comments
Open

运行时一直报xml错误 #52

pcarm opened this issue Jul 26, 2019 · 5 comments

Comments

@pcarm
Copy link

pcarm commented Jul 26, 2019

image

@leehuan
Copy link

leehuan commented Apr 16, 2020

+1

2 similar comments
@junwangInChina
Copy link

+1

@name-cpu
Copy link

+1

@kaanni-ru
Copy link

kaanni-ru commented Jul 3, 2020

Create a file called ids.xml under res/values folder of your project and it should have

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <item name="aspect_fit_parent" type="id" />
    <item name="input_options_basic" type="id" />
    <item name="input_options_bottom_type" type="id"/>
    <item name="input_options_color_blue" type="id"/>
    <item name="input_options_color_brown" type="id"/>
    <item name="input_options_color_current" type="id"/>
    <item name="input_options_color_drak_blue" type="id"/>
    <item name="input_options_color_green" type="id"/>
    <item name="input_options_color_group" type="id"/>
    <item name="input_options_color_light_green" type="id"/>
    <item name="input_options_color_lite_blue" type="id"/>
    <item name="input_options_color_more_icon" type="id"/>
    <item name="input_options_color_orange" type="id"/>
    <item name="input_options_color_pink" type="id"/>
    <item name="input_options_color_purple" type="id"/>
    <item name="input_options_color_red" type="id"/>
    <item name="input_options_color_white" type="id"/>
    <item name="input_options_color_yellow" type="id"/>
    <item name="input_options_group_textsize" type="id"/>
    <item name="input_options_group_type" type="id"/>
    <item name="input_options_medium_textsize" type="id"/>
    <item name="input_options_more" type="id"/>
    <item name="input_options_rl_type" type="id"/>
    <item name="input_options_small_textsize" type="id"/>
    <item name="input_options_top_type" type="id"/>
</resources>

@Damian007H
Copy link

我是将 playerview/src/main/res/values/ids.xml 中的内容删除,并在布局中将原来的 android:id="@id/input_options_group_textsize" 修改为 android:id="@+id/input_options_group_textsize"

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

6 participants