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

after adding your library in project these errors come up #53

Closed
tjnapster555 opened this issue Jan 4, 2018 · 10 comments
Closed

after adding your library in project these errors come up #53

tjnapster555 opened this issue Jan 4, 2018 · 10 comments
Labels

Comments

@tjnapster555
Copy link

build error

Information:Gradle tasks [:app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar]
C:\Users\tariq\.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.0.2.aar\d8468f24b31c24ee8d29575dc26584f6\res\values-v26\values-v26.xml
Error:(9, 5) error: resource android:attr/colorError not found.
Error:(13, 5) error: resource android:attr/colorError not found.
Error:(17, 5) error: style attribute 'android:attr/keyboardNavigationCluster' not found.
C:\Users\tariq\.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.0.2.aar\d8468f24b31c24ee8d29575dc26584f6\res\values\values.xml
Error:(252, 5) error: resource android:attr/fontStyle not found.
Error:(252, 5) error: resource android:attr/font not found.
Error:(252, 5) error: resource android:attr/fontWeight not found.
C:\Users\tariq\Desktop\adnan laravel android pharamacy\materiallogindemo-master\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values-v26\values-v26.xml
Error:(7) resource android:attr/colorError not found.
Error:(11) resource android:attr/colorError not found.
Error:(15) style attribute 'android:attr/keyboardNavigationCluster' not found.
C:\Users\tariq\Desktop\adnan laravel android pharamacy\materiallogindemo-master\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml
Error:(438) resource android:attr/fontStyle not found.
Error:(438) resource android:attr/font not found.
Error:(438) resource android:attr/fontWeight not found.
Error:failed linking references.
Error:java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
Error:java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
Error:com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
Error:Execution failed for task ':app:processDebugResources'.
> Failed to execute aapt
Information:BUILD FAILED in 13s
Information:17 errors
Information:0 warnings
Information:See complete output in console
@GrenderG
Copy link
Owner

GrenderG commented Jan 4, 2018

I don't think this issue is directly related to Toasty. Have you tried invalidating cache and restarting Android Studio?

@tjnapster555
Copy link
Author

@GrenderG yes i try to rebuild the project also clean the project restart android studio too nothing works but when i add the library android studio give me error on this
compile 'com.android.support:appcompat-v7:25.4.0'
but when i remove the toasty lbrary then no error comes up

@tjnapster555
Copy link
Author

image
@GrenderG

@GrenderG
Copy link
Owner

GrenderG commented Jan 4, 2018

I'm not talking about rebuild / clean, I'm talking about File > Invalidate Caches / Restart....

@GrenderG
Copy link
Owner

GrenderG commented Jan 4, 2018

Why don't you use the latest version? (27.0.02)

@tjnapster555
Copy link
Author

i try
compile 'com.android.support:appcompat-v7:25.4.0'
compile 'com.android.support:design:25.4.0'
but then i get error on this compile 'com.android.support:design:25.4.0'

@tjnapster555
Copy link
Author

@GrenderG is your library support the older version if i use the old version of your library ?

@GrenderG
Copy link
Owner

GrenderG commented Jan 4, 2018

As I said, try to use the latest version. However, this problem is not related to Toasty; a quick look around tells you how to solve it. 😜

@tjnapster555
Copy link
Author

well if anyone else has this problem then the solution is to use the old version of Toasty
i use this compile 'com.github.GrenderG:Toasty:1.2.5'

@GrenderG
Copy link
Owner

GrenderG commented Jan 4, 2018

@tjnapster555 even if that solves this specific issue, that's not a good solution. This is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants