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

Resource linking failed gradle 3.6.2 #14

Open
BrunoLopardo opened this issue Apr 14, 2020 · 6 comments
Open

Resource linking failed gradle 3.6.2 #14

BrunoLopardo opened this issue Apr 14, 2020 · 6 comments

Comments

@BrunoLopardo
Copy link

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 BrunoLopardo changed the title Resource linking failed Resource linking failed gradle 3.6.2 Apr 14, 2020
@mirkamalg
Copy link

Same here, found a fix yet?

@artyomefimov
Copy link

Got the same error

@lnajla
Copy link

lnajla commented Jan 11, 2021

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

@Jakub-Kubkowski
Copy link

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

@dinkarkumardk
Copy link

dinkarkumardk commented May 13, 2021

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

@ahmadakhondy
Copy link

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

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

7 participants