angcyo / DslTabLayout

:hearts: Android界最万能的TabLayout(不仅仅是TabLayout), 支持任意类型的item, 支持Drawable类型的指示器,智能开启滚动,支持横竖向布局等
https://github.com/angcyo/DslAdapter
MIT License
1.55k stars 145 forks source link

Illegal char <:> at index 50 #70

Closed PixaMob closed 2 years ago

PixaMob commented 2 years ago

Hello, I get this error every time i run the app Illegal char <:> at index 50: MyPackageName.app-mergeDebugResources-85:/values/values.xml

thanks

angcyo commented 2 years ago

I need more detailed information.

PixaMob commented 2 years ago

Thanks for reply It seems that the Error coming from attr_dsl_tab_layout.xml file

`> Task :app:mergeDebugResources FAILED Execution failed for task ':app:mergeDebugResources'.

A failure occurred while executing com.android.build.gradle.internal.res.ResourceCompilerRunnable Resource compilation failed (Failed to compile values resource file C:\Users\pixam\AndroidStudioProjects\MyAppFolder\app\build\intermediates\incremental\debug\mergeDebugResources\merged.dir\values\values.xml. Cause: java.nio.file.InvalidPathException: Illegal char <:> at index 50: MyPackageName.app-mergeDebugResources-85:/values/values.xml). Check logs for more details.

angcyo commented 2 years ago

Give me the contents of the file

C:\Users\pixam\AndroidStudioProjects\MyAppFolder\app\build\intermediates\incremental\debug\mergeDebugResources\merged.dir\values\values.xml

PixaMob commented 2 years ago

The file content is too long so i uploaded it as a zip file , thanks for your time values.zip

angcyo commented 2 years ago

delete DslTabLayout can you succeed?

angcyo commented 2 years ago

image

Errors in this.

PixaMob commented 2 years ago

The problem accurs when use other tablayout libraries with DslTablayout