Я нашел старый android проект от github, но не могу его запустить. Это дает мне много ошибок. как
9:13 PM Gradle sync failed: Could not find com.android.tools.build:gradle:3.6.2.
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/build/gradle/3.6.2/gradle-3.6.2.pom
https://jcenter.bintray.com/com/android/tools/build/gradle/3.6.2/gradle-3.6.2.jar
Required by:
:Android-Hospital-Management-Client-master:unspecified
Consult IDE log for more details (Help | Show Log) (8 s 451 ms)
Я подумал, потому что это не обновляет зависимости, и я изменяю компиляцию на реализацию, как это, и обновляю все зависимости, как показано ниже.
apply plugin: 'com.android.application'
android {
compileSdkVersion 29
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "com.example.shivam.openmrs"
minSdkVersion 16
targetSdkVersion 29
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
android {
packagingOptions {
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
}
}
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
//noinspection GradleCompatible,GradleCompatible
implementation 'com.android.support:appcompat-v7:22.1.1'
implementation 'br.com.liveo:navigationdrawer-material:1.0.5'
implementation 'com.rengwuxian.materialedittext:library:1.8.2'
implementation 'com.github.navasmdc:MaterialDesign:@aar'
implementation 'com.afollestad:material-dialogs:0.6.2.4'
implementation 'com.parse.bolts:bolts-android:1.5.0'
implementation fileTree(dir: 'libs', include: 'Parse-*.jar')
implementation fileTree(dir : 'libs', include: 'commons-lang3-3.4.jar')
implementation fileTree(dir : 'libs', include: 'commons-io-2.4.jar')
implementation 'com.getbase:floatingactionbutton:1.5.1'
implementation 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.jjoe64:graphview:4.0.1'
implementation 'com.github.PhilJay:MPAndroidChart:v2.1.0'
}
Это фотография эта ошибка появляется после запуска.
Ошибка: .
Как это исправить и запустить?