AndroidTutorialForBeginners icon indicating copy to clipboard operation
AndroidTutorialForBeginners copied to clipboard

can you help me to resolve this

Open Gunjan9sahoo opened this issue 5 years ago • 1 comments

ERROR: Failed to resolve: com.android.support.appcompat-v7:28.0.0: Affected Modules: app

below is my gradle file

apply plugin: 'com.android.application'

android { compileSdkVersion 28 defaultConfig { applicationId "com.example.pa" minSdkVersion 23 targetSdkVersion 28 // useLibrary 'android.test.runner' // useLibrary 'android.test.base' // useLibrary 'android.test.mock' // buildToolsVersion '28.0.3' versionCode 1 versionName "3.4.2" // versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
    }
}

}

dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support.appcompat-v7:28.0.0' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' testImplementation 'junit:junit:4.12' implementation 'androidx.annotation:annotation:1.0.0' androidTestImplementation 'androidx.test:runner:1.1.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0' implementation 'com.google.android.material:material:1.0.0' implementation 'com.android.support:support-v4:28.0.0' implementation 'com.google.firebase:firebase-core:17.0.0' implementation 'com.google.android.material:material:1.1.0-alpha07' } apply plugin: 'com.google.gms.google-services'

Gunjan9sahoo avatar Jul 12 '19 17:07 Gunjan9sahoo

Try this in your Dependencies: compile 'com.android.support.appcompat-v7:28.0.0.+'

AyusPokhriyal-18 avatar May 10 '20 15:05 AyusPokhriyal-18