1
모든 것이 잘 작동했습니다. 그런 다음 소셜 로그인 도우미 라이브러리를 추가하고 처음으로이 문제에 직면했습니다. 그런 다음 다시 제거했고 문제는 여전히 남아 있습니다.해결하지 못함 : com.github
Google 또는 Android의 모든 종속성이 정상적으로 작동합니다.
그러나 com.github로 시작하는 모든 종속성이 실패합니다.
응용 프로그램 Gradle을
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
defaultConfig {
applicationId "application_id"
minSdkVersion 21
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
multiDexEnabled true
renderscriptTargetApi 14
renderscriptSupportModeEnabled true
vectorDrawables.useSupportLibrary = true
}
dexOptions {
javaMaxHeapSize "4g"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == 'com.android.support') {
if (!requested.name.startsWith("multidex")) {
details.useVersion '26.1.0'
}
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:26.1.0'
compile 'com.android.support:support-v4:26.1.0'
compile 'com.android.support:support-compat:26.1.0'
compile 'com.android.support:cardview-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
compile 'com.android.support:multidex:1.0.2'
implementation "com.mikepenz:iconics-core:[email protected]"
implementation "com.mikepenz:iconics-views:[email protected]"
implementation 'com.mikepenz:google-material-typeface:[email protected]'
compile 'com.google.firebase:firebase-core:11.6.2'
compile 'com.google.firebase:firebase-database:11.6.2'
compile 'com.google.firebase:firebase-storage:11.6.2'
compile 'com.google.firebase:firebase-auth:11.6.2'
compile 'com.google.firebase:firebase-messaging:11.6.2'
compile 'com.google.firebase:firebase-ads:11.6.2'
compile 'com.google.firebase:firebase-firestore:11.6.2'
compile 'com.google.firebase:firebase-crash:11.6.2'
compile 'com.firebaseui:firebase-ui-database:3.1.0'
compile 'de.hdodenhof:circleimageview:2.2.0'
implementation 'com.github.bumptech.glide:glide:4.4.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.4.0'
compile 'com.aurelhubert:ahbottomnavigation:2.1.0'
compile 'com.vanniktech:emoji-twitter:0.5.1'
compile 'com.github.jaychang0917:SimpleAuth:{latest_version}'
}
apply plugin: 'com.google.gms.google-services'
프로젝트 Gradle을,
buildscript {
repositories {
google()
maven {
url 'https://maven.google.com'
}
maven {
url 'https://jitpack.io'
}
jcenter({url "http://jcenter.bintray.com/"})
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.google.gms:google-services:3.1.1'
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
는 글라이드 같은 종속성이 잘 작동했다. 내 안드로이드 스튜디오를 재시작하고 같은 문제를 겪고 있습니다.
도움이 필요 :(내가
compile 'com.github.jaychang0917:SimpleAuth:{latest_version}'
이제 특정 라이브러리에 오류가 표시됩니다. 문제가 어디 있는지 말해 줄 수 있어요? – Kim
방금 문제를 해결했습니다. 이제 새로운 문제와 새로운 질문이 있습니다 .-) – Blundell
Ohkay. 나는 재 게시 할 것이다; – Kim