-
Notifications
You must be signed in to change notification settings - Fork 25
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
> Could not find com.github.Gruzer:simple-gauge-android:0.3.1. #24
Comments
Make sure "maven { url 'https://jitpack.io' }" is also under allprojects { repositories in the project build.gradle :
This should go in the XML layout file where you would like the gauge to display. |
Thanks for responding. I installed the example successfully. I only want to use the half gauge. How can I extract the code from the example for just the one fragment? |
Hey..I wanna know where did you place that allProjects{...} in your gradle file. I'm doing that and getting this exception. |
I'm using Android Studio 2020.3.1. patch 3 and Gradle JDK 11.0.10 with Windows 11.
Attempting to reproduce the gauge widget in a Kotlin project, following the README, I added "maven { url 'https://jitpack.io' }" to the project build.gradle under buildscript { repositories
and I added the dependency to build.gradle (:app) :
but the build fails :
Execution failed for task ':app:checkDebugAarMetadata'.
Also, it's not clear to me where to put
<com.ekn.gruzer.gaugelibrary.HalfGauge
android:id="@+id/halfGauge"
android:layout_width="200dp"
android:layout_height="200dp" />
How can I get past this?
The text was updated successfully, but these errors were encountered: