Resource linking failed gradle 3.6.2
BrunoLopardo opened this issue ยท 6 comments
gradle:
implementation 'com.github.hakobast:dropdown-textview:0.3.1'
layout file:
<hakobastvatsatryan.DropdownTextView
android:id="@+id/first_dropdown_text_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:title_text="Text"
app:content_text="Text2"
app:arrow_drawable="@drawable/ic_teacher"
app:title_text_color="@color/colorPrimary" />
errors:
Android resource linking failed
AAPT: \app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:4155: error: resource attr/title_text (aka com.example.test:attr/title_text) not found.
\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:4156: error: resource attr/content_text (aka com.example.test:attr/content_text) not found.
app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:4160: error: resource attr/title_text_color (aka com.example.test:attr/title_text_color) not found.
\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:4161: error: resource attr/title_text_color_expanded (aka com.example.test:attr/title_text_color_expanded) not found.
\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:4165: error: resource attr/content_text_color (aka com.example.test:attr/content_text_color) not found.
\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:4166: error: resource attr/link_text_color (aka com.example.test:attr/link_text_color) not found.
error: failed linking references.
Same here, found a fix yet?
Got the same error
It worked when I changed the library version to: implementation 'com.github.hakobast:dropdown-textview:0.1.1'
Is anything change about com.github.hakobast:dropdown-textview:0.3.1 version ?
I have fixed the issue please see StackOverflow and if that helps please upvote the all answer, it will motivate.
As I cannot directly contribute to this repo I have to fork it and then fix and release the SDK.
https://github.com/dk19121991/DropdownTextView
https://stackoverflow.com/a/67520594/4828650
hi
Could not GET 'https://jitpack.io/com/github/hakobast/dropdown-textview/0.3.1/dropdown-textview-0.3.1.pom'. Received status code 401 from server: Unauthorized
please help ....