Failed to resolve: com.android.support:support-v4:23.0.0












18















After update with the latest Android support library 23.1 i get this error




Failed to resolve: com.android.support:support-v4:23.0.0




I tried all combination of 23.+ and 23.1.0 and 23.1.+ etc. How to make it run properly?



apply plugin: 'com.android.application'

android {
compileSdkVersion 23
buildToolsVersion "23.0.1"

defaultConfig {
applicationId "ua.g.tfinder"
minSdkVersion 14
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.0.+'
compile 'com.android.support:support-v4:23.+'
compile 'com.android.support:recyclerview-v7:23.0.+'
compile 'com.android.support:cardview-v7:23.0.+'
compile 'com.android.support:design:23.0.+'
compile 'com.google.android.gms:play-services:7.5.+'
compile 'com.squareup.retrofit:retrofit:1.9.0'
compile 'com.squareup.picasso:picasso:2.5.2'
}









share|improve this question

























  • After updated the sdk-manager try to clean and rebuild the project.

    – Gabriele Mariotti
    Oct 17 '15 at 12:41
















18















After update with the latest Android support library 23.1 i get this error




Failed to resolve: com.android.support:support-v4:23.0.0




I tried all combination of 23.+ and 23.1.0 and 23.1.+ etc. How to make it run properly?



apply plugin: 'com.android.application'

android {
compileSdkVersion 23
buildToolsVersion "23.0.1"

defaultConfig {
applicationId "ua.g.tfinder"
minSdkVersion 14
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.0.+'
compile 'com.android.support:support-v4:23.+'
compile 'com.android.support:recyclerview-v7:23.0.+'
compile 'com.android.support:cardview-v7:23.0.+'
compile 'com.android.support:design:23.0.+'
compile 'com.google.android.gms:play-services:7.5.+'
compile 'com.squareup.retrofit:retrofit:1.9.0'
compile 'com.squareup.picasso:picasso:2.5.2'
}









share|improve this question

























  • After updated the sdk-manager try to clean and rebuild the project.

    – Gabriele Mariotti
    Oct 17 '15 at 12:41














18












18








18


3






After update with the latest Android support library 23.1 i get this error




Failed to resolve: com.android.support:support-v4:23.0.0




I tried all combination of 23.+ and 23.1.0 and 23.1.+ etc. How to make it run properly?



apply plugin: 'com.android.application'

android {
compileSdkVersion 23
buildToolsVersion "23.0.1"

defaultConfig {
applicationId "ua.g.tfinder"
minSdkVersion 14
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.0.+'
compile 'com.android.support:support-v4:23.+'
compile 'com.android.support:recyclerview-v7:23.0.+'
compile 'com.android.support:cardview-v7:23.0.+'
compile 'com.android.support:design:23.0.+'
compile 'com.google.android.gms:play-services:7.5.+'
compile 'com.squareup.retrofit:retrofit:1.9.0'
compile 'com.squareup.picasso:picasso:2.5.2'
}









share|improve this question
















After update with the latest Android support library 23.1 i get this error




Failed to resolve: com.android.support:support-v4:23.0.0




I tried all combination of 23.+ and 23.1.0 and 23.1.+ etc. How to make it run properly?



apply plugin: 'com.android.application'

android {
compileSdkVersion 23
buildToolsVersion "23.0.1"

defaultConfig {
applicationId "ua.g.tfinder"
minSdkVersion 14
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.0.+'
compile 'com.android.support:support-v4:23.+'
compile 'com.android.support:recyclerview-v7:23.0.+'
compile 'com.android.support:cardview-v7:23.0.+'
compile 'com.android.support:design:23.0.+'
compile 'com.google.android.gms:play-services:7.5.+'
compile 'com.squareup.retrofit:retrofit:1.9.0'
compile 'com.squareup.picasso:picasso:2.5.2'
}






android android-studio android-support-library






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 15 '15 at 18:59







SERG

















asked Oct 17 '15 at 9:40









SERGSERG

97862348




97862348













  • After updated the sdk-manager try to clean and rebuild the project.

    – Gabriele Mariotti
    Oct 17 '15 at 12:41



















  • After updated the sdk-manager try to clean and rebuild the project.

    – Gabriele Mariotti
    Oct 17 '15 at 12:41

















After updated the sdk-manager try to clean and rebuild the project.

– Gabriele Mariotti
Oct 17 '15 at 12:41





After updated the sdk-manager try to clean and rebuild the project.

– Gabriele Mariotti
Oct 17 '15 at 12:41












7 Answers
7






active

oldest

votes


















19














I ran into the same problem today. Although the SDK Manager marked a few libraries as installed, investigating the location of the files showed me the correct folder structure, without any files in them.



For example, checking out the location of 23.1.0 appcompat-v7 on my Mac:
.../sdk/extras/android/m2repository/com/android/support/appcompat-v7
turned out to be an empty folder.



I suspect the update I ran minutes before went wrong somehow.



What solved it for me:




  1. in Android Studio, open Appearance and Behaviour -> System Settings -> SDK Manager

  2. under tab "SDK Tools" un-check the libraries causing problems

  3. click "apply" to uninstall them

  4. re-check the same libraries

  5. click "apply" to reinstall them

  6. close SDK Manager and run Gradle sync / build






share|improve this answer


























  • There is no Android tab under Tools in Android Studio 3.0.1. Please precise your version when submitting this kind of answer

    – hardworker
    Oct 24 '18 at 14:13











  • Will do so next time, thanks for the heads-up.

    – Emil Korngold
    Oct 25 '18 at 12:33






  • 1





    @EmilKorngold androidSDK is under appearance and behavior > system Settings

    – Mukul Kumar
    Nov 23 '18 at 8:48



















16














The support libraries are now available through Google's Maven repository.



Step 1: Open the build.gradle file of your project.



Step 2: Make sure that the repositories section includes a maven section with the "https://maven.google.com" url in it.



allprojects {
repositories {
jcenter()
maven { url 'https://maven.google.com' }
}
}





share|improve this answer
























  • this is what works as of today.

    – prembhaskal
    Sep 2 '17 at 15:13



















14














Had to add "Android Support Repository" from SDK Manager.






share|improve this answer































    11














    As you already have v7 dependency added in your gradle file no need to add dependency for v4 because it is already included in v7 library.



    gradle file should looks like this



    apply plugin: 'com.android.application'

    android {
    compileSdkVersion 23
    buildToolsVersion "23.0.1"

    defaultConfig {
    applicationId "ua.guru.lvivflatfinder"
    minSdkVersion 14
    targetSdkVersion 23
    versionCode 1
    versionName "1.0"
    multiDexEnabled true
    }
    buildTypes {
    release {
    minifyEnabled false
    proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
    }
    }

    dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:23.1.0'
    compile 'com.android.support:recyclerview-v7:23.1.0'
    compile 'com.android.support:cardview-v7:23.1.0'
    compile 'com.google.android.gms:play-services:8.1.0'
    }


    .......




    1. (build.gradle (MOdule.app)

    2. implementation 'com.android.support:cardview-v7:28.0.0-rc01'






    share|improve this answer


























    • now i get Error:Failed to resolve: com.android.support:support-v4:23.1.0 Install Repository and sync project

      – SERG
      Oct 17 '15 at 10:37








    • 1





      you have to install it using sdk manager

      – Kaushik
      Oct 17 '15 at 10:39











    • but i already installed latest Android support library 23.1 and support repo 24

      – SERG
      Oct 17 '15 at 10:42






    • 1





      please double check it because my app is working fine with these dependencies i.imgur.com/fFErM1h.png?1

      – Kaushik
      Oct 17 '15 at 10:50








    • 1





      here is what i got prntscr.com/8s883u

      – SERG
      Oct 17 '15 at 10:58



















    3














    In my case, opening SDK manager and installing Local Maven Repository for Support Libraries fixed my issue.






    share|improve this answer































      0














      Go to File -> Project Structure then select Dependencies tab and remove com.android.support:support-v4:23.0.0



      It worked for me






      share|improve this answer































        0















        1. Gradle sync / build

        2. implementation 'com.android.support:cardview-v7:28.0.0-rc01'


        ready and go!






        share|improve this answer
























          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f33185086%2ffailed-to-resolve-com-android-supportsupport-v423-0-0%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          7 Answers
          7






          active

          oldest

          votes








          7 Answers
          7






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          19














          I ran into the same problem today. Although the SDK Manager marked a few libraries as installed, investigating the location of the files showed me the correct folder structure, without any files in them.



          For example, checking out the location of 23.1.0 appcompat-v7 on my Mac:
          .../sdk/extras/android/m2repository/com/android/support/appcompat-v7
          turned out to be an empty folder.



          I suspect the update I ran minutes before went wrong somehow.



          What solved it for me:




          1. in Android Studio, open Appearance and Behaviour -> System Settings -> SDK Manager

          2. under tab "SDK Tools" un-check the libraries causing problems

          3. click "apply" to uninstall them

          4. re-check the same libraries

          5. click "apply" to reinstall them

          6. close SDK Manager and run Gradle sync / build






          share|improve this answer


























          • There is no Android tab under Tools in Android Studio 3.0.1. Please precise your version when submitting this kind of answer

            – hardworker
            Oct 24 '18 at 14:13











          • Will do so next time, thanks for the heads-up.

            – Emil Korngold
            Oct 25 '18 at 12:33






          • 1





            @EmilKorngold androidSDK is under appearance and behavior > system Settings

            – Mukul Kumar
            Nov 23 '18 at 8:48
















          19














          I ran into the same problem today. Although the SDK Manager marked a few libraries as installed, investigating the location of the files showed me the correct folder structure, without any files in them.



          For example, checking out the location of 23.1.0 appcompat-v7 on my Mac:
          .../sdk/extras/android/m2repository/com/android/support/appcompat-v7
          turned out to be an empty folder.



          I suspect the update I ran minutes before went wrong somehow.



          What solved it for me:




          1. in Android Studio, open Appearance and Behaviour -> System Settings -> SDK Manager

          2. under tab "SDK Tools" un-check the libraries causing problems

          3. click "apply" to uninstall them

          4. re-check the same libraries

          5. click "apply" to reinstall them

          6. close SDK Manager and run Gradle sync / build






          share|improve this answer


























          • There is no Android tab under Tools in Android Studio 3.0.1. Please precise your version when submitting this kind of answer

            – hardworker
            Oct 24 '18 at 14:13











          • Will do so next time, thanks for the heads-up.

            – Emil Korngold
            Oct 25 '18 at 12:33






          • 1





            @EmilKorngold androidSDK is under appearance and behavior > system Settings

            – Mukul Kumar
            Nov 23 '18 at 8:48














          19












          19








          19







          I ran into the same problem today. Although the SDK Manager marked a few libraries as installed, investigating the location of the files showed me the correct folder structure, without any files in them.



          For example, checking out the location of 23.1.0 appcompat-v7 on my Mac:
          .../sdk/extras/android/m2repository/com/android/support/appcompat-v7
          turned out to be an empty folder.



          I suspect the update I ran minutes before went wrong somehow.



          What solved it for me:




          1. in Android Studio, open Appearance and Behaviour -> System Settings -> SDK Manager

          2. under tab "SDK Tools" un-check the libraries causing problems

          3. click "apply" to uninstall them

          4. re-check the same libraries

          5. click "apply" to reinstall them

          6. close SDK Manager and run Gradle sync / build






          share|improve this answer















          I ran into the same problem today. Although the SDK Manager marked a few libraries as installed, investigating the location of the files showed me the correct folder structure, without any files in them.



          For example, checking out the location of 23.1.0 appcompat-v7 on my Mac:
          .../sdk/extras/android/m2repository/com/android/support/appcompat-v7
          turned out to be an empty folder.



          I suspect the update I ran minutes before went wrong somehow.



          What solved it for me:




          1. in Android Studio, open Appearance and Behaviour -> System Settings -> SDK Manager

          2. under tab "SDK Tools" un-check the libraries causing problems

          3. click "apply" to uninstall them

          4. re-check the same libraries

          5. click "apply" to reinstall them

          6. close SDK Manager and run Gradle sync / build







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 26 '18 at 13:09

























          answered Oct 20 '15 at 11:34









          Emil KorngoldEmil Korngold

          38238




          38238













          • There is no Android tab under Tools in Android Studio 3.0.1. Please precise your version when submitting this kind of answer

            – hardworker
            Oct 24 '18 at 14:13











          • Will do so next time, thanks for the heads-up.

            – Emil Korngold
            Oct 25 '18 at 12:33






          • 1





            @EmilKorngold androidSDK is under appearance and behavior > system Settings

            – Mukul Kumar
            Nov 23 '18 at 8:48



















          • There is no Android tab under Tools in Android Studio 3.0.1. Please precise your version when submitting this kind of answer

            – hardworker
            Oct 24 '18 at 14:13











          • Will do so next time, thanks for the heads-up.

            – Emil Korngold
            Oct 25 '18 at 12:33






          • 1





            @EmilKorngold androidSDK is under appearance and behavior > system Settings

            – Mukul Kumar
            Nov 23 '18 at 8:48

















          There is no Android tab under Tools in Android Studio 3.0.1. Please precise your version when submitting this kind of answer

          – hardworker
          Oct 24 '18 at 14:13





          There is no Android tab under Tools in Android Studio 3.0.1. Please precise your version when submitting this kind of answer

          – hardworker
          Oct 24 '18 at 14:13













          Will do so next time, thanks for the heads-up.

          – Emil Korngold
          Oct 25 '18 at 12:33





          Will do so next time, thanks for the heads-up.

          – Emil Korngold
          Oct 25 '18 at 12:33




          1




          1





          @EmilKorngold androidSDK is under appearance and behavior > system Settings

          – Mukul Kumar
          Nov 23 '18 at 8:48





          @EmilKorngold androidSDK is under appearance and behavior > system Settings

          – Mukul Kumar
          Nov 23 '18 at 8:48













          16














          The support libraries are now available through Google's Maven repository.



          Step 1: Open the build.gradle file of your project.



          Step 2: Make sure that the repositories section includes a maven section with the "https://maven.google.com" url in it.



          allprojects {
          repositories {
          jcenter()
          maven { url 'https://maven.google.com' }
          }
          }





          share|improve this answer
























          • this is what works as of today.

            – prembhaskal
            Sep 2 '17 at 15:13
















          16














          The support libraries are now available through Google's Maven repository.



          Step 1: Open the build.gradle file of your project.



          Step 2: Make sure that the repositories section includes a maven section with the "https://maven.google.com" url in it.



          allprojects {
          repositories {
          jcenter()
          maven { url 'https://maven.google.com' }
          }
          }





          share|improve this answer
























          • this is what works as of today.

            – prembhaskal
            Sep 2 '17 at 15:13














          16












          16








          16







          The support libraries are now available through Google's Maven repository.



          Step 1: Open the build.gradle file of your project.



          Step 2: Make sure that the repositories section includes a maven section with the "https://maven.google.com" url in it.



          allprojects {
          repositories {
          jcenter()
          maven { url 'https://maven.google.com' }
          }
          }





          share|improve this answer













          The support libraries are now available through Google's Maven repository.



          Step 1: Open the build.gradle file of your project.



          Step 2: Make sure that the repositories section includes a maven section with the "https://maven.google.com" url in it.



          allprojects {
          repositories {
          jcenter()
          maven { url 'https://maven.google.com' }
          }
          }






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Aug 10 '17 at 18:03









          vovahostvovahost

          11.2k85461




          11.2k85461













          • this is what works as of today.

            – prembhaskal
            Sep 2 '17 at 15:13



















          • this is what works as of today.

            – prembhaskal
            Sep 2 '17 at 15:13

















          this is what works as of today.

          – prembhaskal
          Sep 2 '17 at 15:13





          this is what works as of today.

          – prembhaskal
          Sep 2 '17 at 15:13











          14














          Had to add "Android Support Repository" from SDK Manager.






          share|improve this answer




























            14














            Had to add "Android Support Repository" from SDK Manager.






            share|improve this answer


























              14












              14








              14







              Had to add "Android Support Repository" from SDK Manager.






              share|improve this answer













              Had to add "Android Support Repository" from SDK Manager.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Apr 16 '16 at 15:53









              AlexAlex

              16116




              16116























                  11














                  As you already have v7 dependency added in your gradle file no need to add dependency for v4 because it is already included in v7 library.



                  gradle file should looks like this



                  apply plugin: 'com.android.application'

                  android {
                  compileSdkVersion 23
                  buildToolsVersion "23.0.1"

                  defaultConfig {
                  applicationId "ua.guru.lvivflatfinder"
                  minSdkVersion 14
                  targetSdkVersion 23
                  versionCode 1
                  versionName "1.0"
                  multiDexEnabled true
                  }
                  buildTypes {
                  release {
                  minifyEnabled false
                  proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
                  }
                  }
                  }

                  dependencies {
                  compile fileTree(dir: 'libs', include: ['*.jar'])
                  compile 'com.android.support:appcompat-v7:23.1.0'
                  compile 'com.android.support:recyclerview-v7:23.1.0'
                  compile 'com.android.support:cardview-v7:23.1.0'
                  compile 'com.google.android.gms:play-services:8.1.0'
                  }


                  .......




                  1. (build.gradle (MOdule.app)

                  2. implementation 'com.android.support:cardview-v7:28.0.0-rc01'






                  share|improve this answer


























                  • now i get Error:Failed to resolve: com.android.support:support-v4:23.1.0 Install Repository and sync project

                    – SERG
                    Oct 17 '15 at 10:37








                  • 1





                    you have to install it using sdk manager

                    – Kaushik
                    Oct 17 '15 at 10:39











                  • but i already installed latest Android support library 23.1 and support repo 24

                    – SERG
                    Oct 17 '15 at 10:42






                  • 1





                    please double check it because my app is working fine with these dependencies i.imgur.com/fFErM1h.png?1

                    – Kaushik
                    Oct 17 '15 at 10:50








                  • 1





                    here is what i got prntscr.com/8s883u

                    – SERG
                    Oct 17 '15 at 10:58
















                  11














                  As you already have v7 dependency added in your gradle file no need to add dependency for v4 because it is already included in v7 library.



                  gradle file should looks like this



                  apply plugin: 'com.android.application'

                  android {
                  compileSdkVersion 23
                  buildToolsVersion "23.0.1"

                  defaultConfig {
                  applicationId "ua.guru.lvivflatfinder"
                  minSdkVersion 14
                  targetSdkVersion 23
                  versionCode 1
                  versionName "1.0"
                  multiDexEnabled true
                  }
                  buildTypes {
                  release {
                  minifyEnabled false
                  proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
                  }
                  }
                  }

                  dependencies {
                  compile fileTree(dir: 'libs', include: ['*.jar'])
                  compile 'com.android.support:appcompat-v7:23.1.0'
                  compile 'com.android.support:recyclerview-v7:23.1.0'
                  compile 'com.android.support:cardview-v7:23.1.0'
                  compile 'com.google.android.gms:play-services:8.1.0'
                  }


                  .......




                  1. (build.gradle (MOdule.app)

                  2. implementation 'com.android.support:cardview-v7:28.0.0-rc01'






                  share|improve this answer


























                  • now i get Error:Failed to resolve: com.android.support:support-v4:23.1.0 Install Repository and sync project

                    – SERG
                    Oct 17 '15 at 10:37








                  • 1





                    you have to install it using sdk manager

                    – Kaushik
                    Oct 17 '15 at 10:39











                  • but i already installed latest Android support library 23.1 and support repo 24

                    – SERG
                    Oct 17 '15 at 10:42






                  • 1





                    please double check it because my app is working fine with these dependencies i.imgur.com/fFErM1h.png?1

                    – Kaushik
                    Oct 17 '15 at 10:50








                  • 1





                    here is what i got prntscr.com/8s883u

                    – SERG
                    Oct 17 '15 at 10:58














                  11












                  11








                  11







                  As you already have v7 dependency added in your gradle file no need to add dependency for v4 because it is already included in v7 library.



                  gradle file should looks like this



                  apply plugin: 'com.android.application'

                  android {
                  compileSdkVersion 23
                  buildToolsVersion "23.0.1"

                  defaultConfig {
                  applicationId "ua.guru.lvivflatfinder"
                  minSdkVersion 14
                  targetSdkVersion 23
                  versionCode 1
                  versionName "1.0"
                  multiDexEnabled true
                  }
                  buildTypes {
                  release {
                  minifyEnabled false
                  proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
                  }
                  }
                  }

                  dependencies {
                  compile fileTree(dir: 'libs', include: ['*.jar'])
                  compile 'com.android.support:appcompat-v7:23.1.0'
                  compile 'com.android.support:recyclerview-v7:23.1.0'
                  compile 'com.android.support:cardview-v7:23.1.0'
                  compile 'com.google.android.gms:play-services:8.1.0'
                  }


                  .......




                  1. (build.gradle (MOdule.app)

                  2. implementation 'com.android.support:cardview-v7:28.0.0-rc01'






                  share|improve this answer















                  As you already have v7 dependency added in your gradle file no need to add dependency for v4 because it is already included in v7 library.



                  gradle file should looks like this



                  apply plugin: 'com.android.application'

                  android {
                  compileSdkVersion 23
                  buildToolsVersion "23.0.1"

                  defaultConfig {
                  applicationId "ua.guru.lvivflatfinder"
                  minSdkVersion 14
                  targetSdkVersion 23
                  versionCode 1
                  versionName "1.0"
                  multiDexEnabled true
                  }
                  buildTypes {
                  release {
                  minifyEnabled false
                  proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
                  }
                  }
                  }

                  dependencies {
                  compile fileTree(dir: 'libs', include: ['*.jar'])
                  compile 'com.android.support:appcompat-v7:23.1.0'
                  compile 'com.android.support:recyclerview-v7:23.1.0'
                  compile 'com.android.support:cardview-v7:23.1.0'
                  compile 'com.google.android.gms:play-services:8.1.0'
                  }


                  .......




                  1. (build.gradle (MOdule.app)

                  2. implementation 'com.android.support:cardview-v7:28.0.0-rc01'







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Aug 24 '18 at 3:53

























                  answered Oct 17 '15 at 10:14









                  KaushikKaushik

                  5,40753047




                  5,40753047













                  • now i get Error:Failed to resolve: com.android.support:support-v4:23.1.0 Install Repository and sync project

                    – SERG
                    Oct 17 '15 at 10:37








                  • 1





                    you have to install it using sdk manager

                    – Kaushik
                    Oct 17 '15 at 10:39











                  • but i already installed latest Android support library 23.1 and support repo 24

                    – SERG
                    Oct 17 '15 at 10:42






                  • 1





                    please double check it because my app is working fine with these dependencies i.imgur.com/fFErM1h.png?1

                    – Kaushik
                    Oct 17 '15 at 10:50








                  • 1





                    here is what i got prntscr.com/8s883u

                    – SERG
                    Oct 17 '15 at 10:58



















                  • now i get Error:Failed to resolve: com.android.support:support-v4:23.1.0 Install Repository and sync project

                    – SERG
                    Oct 17 '15 at 10:37








                  • 1





                    you have to install it using sdk manager

                    – Kaushik
                    Oct 17 '15 at 10:39











                  • but i already installed latest Android support library 23.1 and support repo 24

                    – SERG
                    Oct 17 '15 at 10:42






                  • 1





                    please double check it because my app is working fine with these dependencies i.imgur.com/fFErM1h.png?1

                    – Kaushik
                    Oct 17 '15 at 10:50








                  • 1





                    here is what i got prntscr.com/8s883u

                    – SERG
                    Oct 17 '15 at 10:58

















                  now i get Error:Failed to resolve: com.android.support:support-v4:23.1.0 Install Repository and sync project

                  – SERG
                  Oct 17 '15 at 10:37







                  now i get Error:Failed to resolve: com.android.support:support-v4:23.1.0 Install Repository and sync project

                  – SERG
                  Oct 17 '15 at 10:37






                  1




                  1





                  you have to install it using sdk manager

                  – Kaushik
                  Oct 17 '15 at 10:39





                  you have to install it using sdk manager

                  – Kaushik
                  Oct 17 '15 at 10:39













                  but i already installed latest Android support library 23.1 and support repo 24

                  – SERG
                  Oct 17 '15 at 10:42





                  but i already installed latest Android support library 23.1 and support repo 24

                  – SERG
                  Oct 17 '15 at 10:42




                  1




                  1





                  please double check it because my app is working fine with these dependencies i.imgur.com/fFErM1h.png?1

                  – Kaushik
                  Oct 17 '15 at 10:50







                  please double check it because my app is working fine with these dependencies i.imgur.com/fFErM1h.png?1

                  – Kaushik
                  Oct 17 '15 at 10:50






                  1




                  1





                  here is what i got prntscr.com/8s883u

                  – SERG
                  Oct 17 '15 at 10:58





                  here is what i got prntscr.com/8s883u

                  – SERG
                  Oct 17 '15 at 10:58











                  3














                  In my case, opening SDK manager and installing Local Maven Repository for Support Libraries fixed my issue.






                  share|improve this answer




























                    3














                    In my case, opening SDK manager and installing Local Maven Repository for Support Libraries fixed my issue.






                    share|improve this answer


























                      3












                      3








                      3







                      In my case, opening SDK manager and installing Local Maven Repository for Support Libraries fixed my issue.






                      share|improve this answer













                      In my case, opening SDK manager and installing Local Maven Repository for Support Libraries fixed my issue.







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Mar 31 '16 at 13:45









                      Tolga OzsesTolga Ozses

                      299223




                      299223























                          0














                          Go to File -> Project Structure then select Dependencies tab and remove com.android.support:support-v4:23.0.0



                          It worked for me






                          share|improve this answer




























                            0














                            Go to File -> Project Structure then select Dependencies tab and remove com.android.support:support-v4:23.0.0



                            It worked for me






                            share|improve this answer


























                              0












                              0








                              0







                              Go to File -> Project Structure then select Dependencies tab and remove com.android.support:support-v4:23.0.0



                              It worked for me






                              share|improve this answer













                              Go to File -> Project Structure then select Dependencies tab and remove com.android.support:support-v4:23.0.0



                              It worked for me







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Apr 10 '18 at 11:52









                              hosseinAminihosseinAmini

                              534724




                              534724























                                  0















                                  1. Gradle sync / build

                                  2. implementation 'com.android.support:cardview-v7:28.0.0-rc01'


                                  ready and go!






                                  share|improve this answer




























                                    0















                                    1. Gradle sync / build

                                    2. implementation 'com.android.support:cardview-v7:28.0.0-rc01'


                                    ready and go!






                                    share|improve this answer


























                                      0












                                      0








                                      0








                                      1. Gradle sync / build

                                      2. implementation 'com.android.support:cardview-v7:28.0.0-rc01'


                                      ready and go!






                                      share|improve this answer














                                      1. Gradle sync / build

                                      2. implementation 'com.android.support:cardview-v7:28.0.0-rc01'


                                      ready and go!







                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered Aug 23 '18 at 21:56









                                      Maria Jesus AbarcaMaria Jesus Abarca

                                      33




                                      33






























                                          draft saved

                                          draft discarded




















































                                          Thanks for contributing an answer to Stack Overflow!


                                          • Please be sure to answer the question. Provide details and share your research!

                                          But avoid



                                          • Asking for help, clarification, or responding to other answers.

                                          • Making statements based on opinion; back them up with references or personal experience.


                                          To learn more, see our tips on writing great answers.




                                          draft saved


                                          draft discarded














                                          StackExchange.ready(
                                          function () {
                                          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f33185086%2ffailed-to-resolve-com-android-supportsupport-v423-0-0%23new-answer', 'question_page');
                                          }
                                          );

                                          Post as a guest















                                          Required, but never shown





















































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown

































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown







                                          Popular posts from this blog

                                          Costa Masnaga

                                          Fotorealismo

                                          Sidney Franklin