error message
Unable to resolve the dependency for ': app @ the debug/compileClasspath: Could not resolve com. Android. Support. The constraint, the constraint - layout: 2.0.2. & lt; a href="disable.gradle.offline.mode"> Disable offline mode and sync project< /a> < br> < a href="Unable%20to%20resolve%20dependency%20for%20&%20#%2039;%20:app@debug/compileClasspath&%20#%2039;%20:%20Could%20not%20resolve%20com.%20Android.%20Support.%20The%20constraint,%20the%20constraint%20-%20layout:%202.0.2.%20"& gt; Show Details< /a> Affected Modules: < a href="openFile:D:/android3/app/build.gradle"> app< /a>
solution :
change build. Gradle (:app) (note with app suffix)
to
Read More:
- Android Studio sync build.gradle appears: Failed to resolve: com.android.support:appcompat problem
- Failed to resolve: com.android.support:appcompat-v7:25.3.0
- [error log] 27.1.0 series of errors Error:Failed to resolve: com.android.support :support-an notations:27.1.0
- About Android studio error: (26,13) failed to resolve: com.android.support : appcompat-v7:27. + error
- Failed to resolve: com.android.support:appcompat-v7:27.
- Android studio failed to resolve: com.github.CymChad :BaseRecyclerViewAdap terHelper:2.9.46
- Android layout: layer layout
- Error: unable to resolve dependency for… Could not resolve project
- Error in Cordova project execution command after Android studio upgrade: could not find gradle wrapper within Android SDK
- Error: package android.support.annotation Does not exist
- [error record] as compilation error (Android support plugin version is too high | upgrade Android studio to the latest version)
- android studio:Error inflating class android.support.v4.widget.SwipeRefreshLayout
- How to Fix com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
- Android Studio could not resolve resource
- Android Studio Series: after Android studio is opened, the project window will not be displayed.
- [solved] not found android.support .v7. internal.app.WindowDecorActionbar
- As Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject.
- android studio Error Gradle project sync failed. Please fix your project and try again
- Error: Error parsing D:\new_android\Android SDK\system-images\android-25\android-wear\armeabi-v7a\de
- Android Studio | Failed to find target with hash string ‘android-26’ in: D:\Android\sdk