GaugeSeekBar icon indicating copy to clipboard operation
GaugeSeekBar copied to clipboard

Failed to resolve: tenclouds:gaugeseekbar:1.0.1

Open sevenbitsriddhi opened this issue 6 years ago • 1 comments

When I tried to add the dependency in gradle file, I got the error "Failed to resolve: tenclouds:gaugeseekbar:1.0.1" I have also added following line into project level gradle maven { url 'http://repo.aws.10clouds.com:8081/artifactory/gradle-dev-local/' }

sevenbitsriddhi avatar Oct 26 '18 12:10 sevenbitsriddhi

Hey, I had issues as well. Here is a solution .

  1. Download the github repo as zip file.
  2. Move folder gaugeseekbar into your Android Folder (that has app as folder, not src)
  3. Edit settings.gradle in Android Folder to "include ':app', ':gaugeseekbar'"
  4. In build.gradle (module:app) type
dependencies {
...
// GaugeSeek Bar
    implementation project(':gaugeseekbar')
}

Try to "Sync Project".

  1. To use in res/layouts/layout.xml file - <com.tenclouds.gaugeseekbar.GaugeSeekBar
  2. You might get issues if you using androidx - If so, edit error files and press alt + enter to re-apply right imports.

To use: If you want progress colors as gradient.. use app:progressGradient="@array/progressColor" and in res/values/colors.xml add

<array name="progressColor">
<item>@color/fbutton_color_sun_flower</item>
        <item>@color/fbutton_color_orange</item>
        <item>@color/fbutton_color_sun_flower</item>
        <item>@color/fbutton_color_pumpkin</item>
</array>

every item indicate a color in colors.xml . <color name="fbutton_color_orange">#f39c12</color>

stephyswe avatar Nov 03 '18 13:11 stephyswe