anastr / SpeedView

Dynamic Speedometer and Gauge for Android. amazing, powerful, and multi shape :zap:
Apache License 2.0
1.29k stars 324 forks source link

Error. AAPT: error: attribute #166

Closed sermyagin closed 4 years ago

sermyagin commented 4 years ago

Error help me...

activity_control.xml:14: AAPT: error: attribute sv_highSpeedColor (aka com.github.anastr.speedview:sv_highSpeedColor) not found.

activity_control.xml:14: AAPT: error: attribute sv_lowSpeedColor (aka com.github.anastr.speedview:sv_lowSpeedColor) not found.

activity_control.xml:14: AAPT: error: attribute sv_mediumSpeedColor (aka com.github.anastr.speedview:sv_mediumSpeedColor) not found. AAPT: error: attribute sv_highSpeedColor (aka com.github.anastr.speedview:sv_highSpeedColor) not found.

activity_ray.xml:14: AAPT: error: attribute sv_lowSpeedColor (aka com.github.anastr.speedview:sv_lowSpeedColor) not found.

ray.xml:14: AAPT: error: attribute sv_mediumSpeedColor (aka com.github.anastr.speedview:sv_mediumSpeedColor) not found.

activity_work_with_indicator.xml:16: AAPT: error: attribute sv_highSpeedColor (aka com.github.anastr.speedview:sv_highSpeedColor) not found.

activity_work_with_indicator.xml:16: AAPT: error: attribute sv_lowSpeedColor (aka com.github.anastr.speedview:sv_lowSpeedColor) not found.

activity_work_with_indicator.xml:16: AAPT: error: attribute sv_lowSpeedPercent (aka com.github.anastr.speedview:sv_lowSpeedPercent) not found.

activity_work_with_indicator.xml:16: AAPT: error: attribute sv_mediumSpeedColor (aka com.github.anastr.speedview:sv_mediumSpeedColor) not found.

activity_work_with_indicator.xml:16: AAPT: error: attribute sv_mediumSpeedPercent (aka com.github.anastr.speedview:sv_mediumSpeedPercent) not found.

activity_work_with_note.xml:15: AAPT: error: attribute sv_highSpeedColor (aka com.github.anastr.speedview:sv_highSpeedColor) not found.

activity_work_with_note.xml:15: AAPT: error: attribute sv_lowSpeedColor (aka com.github.anastr.speedview:sv_lowSpeedColor) not found.

activity_work_with_note.xml:15: AAPT: error: attribute sv_mediumSpeedColor (aka com.github.anastr.speedview:sv_mediumSpeedColor) not found.

anastr commented 4 years ago

Clearly you have clone the project with the latest commit, be aware that this one isn't stable. As error said:

activity_control.xml:14: AAPT: error: attribute sv_highSpeedColor (aka com.github.anastr.speedview:sv_highSpeedColor) not found.

sv_highSpeedColor attribute not found, this attribute will be deprecated in the next version. Simply go to every xml file and remove all attributes that aren't exist anymore.