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
not found library #3
Comments
Read the documentation carefully again before using the example and
|
Definitely compile 'com.github.pavlospt:roundedletterview:1.1' not found. I've tried other as 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1' and found perfect. RoundedLetterView does not recognize me :( Thanks, for your time. |
I have the same issue. |
compile 'com.github.pavlospt:roundedletterview:1.1' Try this and tell me! It's uploaded and working fine! |
I try this before. gradle android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
defaultConfig {
minSdkVersion 14
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
}
dependencies {
compile 'com.github.pavlospt:roundedletterview:1.1'
} xml: <com.github.pavlospt.roundedletterview.RoundedLetterView
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/rlv_name_view"
android:layout_width="56dp"
android:layout_height="56dp"
app:rlv_backgroundColorValue="@color/green"
app:rlv_titleColor="@android:color/white"
app:rlv_titleSize="35dp"
app:rlv_titleText="A" /> error:
|
I need to see your full layout file. |
I create a new activity and it also throw error. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin"
tools:context="com.example.scarlex.eyecare_android.activities.SelectUpperActivity">
<com.github.pavlospt.roundedletterview.RoundedLetterView
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/rlv_name_view"
android:layout_width="56dp"
android:layout_height="56dp"
app:rlv_backgroundColorValue="@color/pink"
app:rlv_titleColor="@android:color/white"
app:rlv_titleSize="35dp"
app:rlv_titleText="A" />
</RelativeLayout>
|
I really can not understand why you get this error. Try moving the xmlns:app="http://schemas.android.com/apk/res-auto" |
Haved try it, still do not work. Does it related to SDK ? android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "id"
minSdkVersion 14
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
} |
Ohh just noticed your minSdkVersion. This library supports minSdkVersion 18! |
I try to create a new project, and minSdkVersion is 21.... |
There is no apparent reason! Are you including jcenter() on your project's build.gradle? |
No, but it still error after add jcenter(). This is a new project.
XML: <RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity">
<com.github.pavlospt.roundedletterview.RoundedLetterView
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/rlv_name_view"
android:layout_width="56dp"
android:layout_height="56dp"
app:rlv_backgroundColorValue="@android:color/black"
app:rlv_titleColor="@android:color/white"
app:rlv_titleSize="35dp"
app:rlv_titleText="A" />
</RelativeLayout>
error:
Do I miss anything? |
Please post the build.gradle of your project as well, not just the build.gradle of your module! |
Oh, sorry, I miss it. Here is the
|
I still can't seem to find what is the cause of this error! Will have to check it when i find more time! Get the .java and .xml file from values for now till i get to fix it! |
In the new project, I haven't change the |
Yes i mean go to the "roundedletterview" folder in github and get the On Wed, May 6, 2015 at 1:02 PM, scarletsky notifications@github.com wrote:
[image: --] Android Developer & Software Engineer |
Error:(9) No resource identifier found for attribute 'backgroundColorValue' in package 'com.example.app'
Error:(9) No resource identifier found for attribute 'titleColor' in package 'com.example.app'
Error:(9) No resource identifier found for attribute 'titleSize' in package 'com.example.app'
Error:(9) No resource identifier found for attribute 'titleText' in package 'com.example.app'
Error:(13, 35) No resource found that matches the given name (at 'backgroundColorValue' with value '@color/green').
And I have added, compile 'com.github.pavlospt:roundedletterview:1.1' but android studio did not find the library.
The text was updated successfully, but these errors were encountered: