DropdownTextView icon indicating copy to clipboard operation
DropdownTextView copied to clipboard

Resource linking failed gradle 3.6.2

Open BrunoLopardo opened this issue 5 years ago • 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.

BrunoLopardo avatar Apr 14 '20 20:04 BrunoLopardo

Same here, found a fix yet?

mirkamalg avatar Oct 29 '20 07:10 mirkamalg

Got the same error

artyomefimov avatar Nov 11 '20 14:11 artyomefimov

It worked when I changed the library version to: implementation 'com.github.hakobast:dropdown-textview:0.1.1'

lnajla avatar Jan 11 '21 03:01 lnajla

Is anything change about com.github.hakobast:dropdown-textview:0.3.1 version ?

Jakub-Kubkowski avatar May 10 '21 09:05 Jakub-Kubkowski

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

https://stackoverflow.com/a/67528570/4828650

https://stackoverflow.com/a/67520693/4828650

dinkarkumardk avatar May 13 '21 14:05 dinkarkumardk

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 ....

ahmadakhondy avatar Dec 29 '22 16:12 ahmadakhondy