vitorhugods / AvatarView

A circular Image View with a lot of perks. Including progress animation and highlight state with borders and gradient color.
Apache License 2.0
549 stars 39 forks source link

Class referenced in the layout file, `xyz.schwaab.avvylib.AvatarView`, was not found in the project or the libraries. #14

Closed TrueKage closed 3 years ago

TrueKage commented 3 years ago

Cannot resolve class xyz.schwaab.avvylib.AvatarView

--In my new project I'm not able to resolve the avatar view while using gradle dependency.

vitorhugods commented 3 years ago

Is this the build output or just the IDE's inspection?

There's no obvious reason for the class not to be found when declaring the dependency correctly.

How is your configuration? Can you share logs/stacktrace?

TrueKage commented 3 years ago

yeah it is build output. I'm not able to proceed further distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip classpath "com.android.tools.build:gradle:4.1.1"

vitorhugods commented 3 years ago

By build output, is this the gradlew build task you're running? It sounds like Android Lint being buggy to me, which is just ignorable.

What are the steps you're doing to trigger this error? Can you post a sample project reproducing this issue?

I fail to see how this is reproducible. Some clarification is needed.

vitorhugods commented 3 years ago

@TrueKage I figured this out!

The problem is that I fucked up before. The version 1.1.0 available in JCenter is broken, and the AvatarView class is missing.

I wasn't able to reproduce this, because I didn't have jCenter included in my repositories.

I released a new version called 1.1.1, can you try with this one?

vitorhugods commented 3 years ago

I'll close this for now, as I managed to test the 1.1.1 version in multiple projects, in different CI/CD tools and the dependency was downloaded successfuly, even without needing to declare the bintray repository. JCenter is enough now.

If you face this issue again, please come here and I'll re-open the issue.

TrueKage commented 3 years ago

It's Working. Thanks and Sorry for the late reply