'ত্রুটি: সমাধান করতে ব্যর্থ: com.android.support:appcompat-v7:29.0.1'
gradle intellij-idea (1)
এখানে গিয়ে অ্যান্ড্রয়েডএক্সে স্থানান্তর করুন:
Refactor->Migrate to androidX
এই প্রশ্নের ইতিমধ্যে এখানে একটি উত্তর আছে:
আমি অ্যান্ড্রয়েড বিকাশের জন্য ইন্টেলিজ প্ল্যাটফর্ম চেষ্টা করতে চাই কিন্তু তাজা হওয়ার পরেও গ্রেড ব্যর্থতা দেখায়। সাহায্য করুন.
আমি লাইনটি টুইট করার চেষ্টা করেছি
implementation 'com.android.support:appcompat-v7:29.+'
কিছু অন্যান্য সংস্করণে কিন্তু কোনও ফলসই হয়নি।
এখানে আমার মডিউল স্তরের গ্রেড
apply plugin: 'com.android.application'
android {
compileSdkVersion 29
buildToolsVersion "29.0.1"
defaultConfig {
applicationId "com.example.myapplication"
minSdkVersion 23
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:29.+'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}
এখানে আমার প্রকল্প স্তরের গ্রেডল
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ইন্টেলিজ গ্রেডগুলি তৈরি করার সময় আমি যে ত্রুটিগুলি পাচ্ছি তা হ'ল
ERROR: Unable to resolve dependency for ':[email protected]/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:29.+.
Show Details
Affected Modules: app
ERROR: Unable to resolve dependency for ':[email protected]/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:29.+.
Show Details
Affected Modules: app
ERROR: Unable to resolve dependency for ':[email protected]/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:29.+.
Show Details
Affected Modules: app
ERROR: Unable to resolve dependency for ':[email protected]/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:29.+.
Show Details
Affected Modules: app
ERROR: Unable to resolve dependency for ':[email protected]/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:29.+.
Show Details
Affected Modules: app
ERROR: Failed to resolve: com.android.support:appcompat-v7:29.0.1
Affected Modules: app