Installing com: android: support: percentage: 22.2.1 the library does not work in Android Studio

Installing the com: android: support: percent: 22.2.1 library does not work in Android Studio, although I have an Android support library and an Android support repository installed in the SDK manager.

Does anyone know how to fix this?

This is my gradle file:

dependencies {
    compile 'de.greenrobot:eventbus:2.4.0'
    compile 'com.android.support:support-v4:22.0.0'
    compile 'com.android.support:appcompat-v7:22.2.1'
    compile 'com.kbeanie:image-chooser-library:1.4.3@aar'
    compile 'com.android.support:recyclerview-v7:22.2.1'
    compile 'com.android.support:design:22.2.1'
    compile(name:'Chart-2015.1.423-dev-release', ext:'aar')
    compile(name:'Common-2015.1.423-dev-release', ext:'aar')
    compile(name:'Data-2015.1.423-dev-release', ext:'aar')
    compile(name:'Feedback-2015.1.423-dev-release', ext:'aar')
    compile(name:'Input-2015.1.423-dev-release', ext:'aar')
    compile(name:'List-2015.1.423-dev-release', ext:'aar')
    compile(name:'Primitives-2015.1.423-dev-release', ext:'aar')
    compile 'net.danlew:android.joda:2.7.1'
    compile 'com.google.android.gms:play-services:7.5.0'
    compile('com.crashlytics.sdk.android:crashlytics:2.3.2@aar') {
        transitive = true;
    }
    compile 'com.google.code.gson:gson:2.3.1'
    compile 'com.android.support:multidex:1.0.0'
 }
+4
source share
3 answers

com:android:support:percent:22.2.1 does not exist .

It has not been published with other libraries. If you check the sdk folder, you will find only 22.2.0.

UPDATE Now the library is officially published usingcom:android:support:percent:23.0.1

+10
source

Remember as stated in the documentation:

Android Android SDK Android SDK Manager.

SDK, " " com: android: support: 22.2.1. ...

gradle, .

+1

May 18, 2019 I use the library, and this:

com.android.support:percent:28.0.0

Use in file (Module: application) .gradle:

implementation 'com.android.support:percent:28.0.0'

Google Documentation Link: Percent Support Library

0
source

Source: https://habr.com/ru/post/1598857/


All Articles