gpt4 book ai didi

java - 找不到 androidsdk.modules

转载 作者:行者123 更新时间:2023-12-01 09:01:49 26 4
gpt4 key购买 nike

所以在运行我的程序的过程中,我的 build.gradle 因这个错误而失败。我的意思是它实际上在一秒钟之前起作用,而不是在一秒钟之后。我没有改变我的毕业典礼。

Could not find androidsdk.modules:shield:unspecified.
Required by:
project :app > com.facebook.android:facebook-login:5.15.2
project :app > com.facebook.android:facebook-core:5.15.2
project :app > com.facebook.android:facebook-common:5.15.2
Search in build.gradle files

这是我的毕业典礼。
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-android'

android {
compileSdkVersion 28
buildToolsVersion "29.0.2"
defaultConfig {
multiDexEnabled true
applicationId "com.example.casualdatingapp"
minSdkVersion 26
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
lintOptions {
disable "ResourceType"
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
}

dependencies {


implementation 'com.google.firebase:firebase-functions:19.0.1'
implementation "com.android.support:support-compat:28.0.0"
implementation 'com.google.firebase:firebase-messaging:20.1.0'
implementation 'net.yslibrary.keyboardvisibilityevent:keyboardvisibilityevent:2.3.0'
implementation 'com.github.jakob-grabner:Circle-Progress-View:1.4'
implementation 'com.github.smarteist:autoimageslider:1.3.2'

implementation "com.android.support:support-v4:+"
implementation 'com.nineoldandroids:library:2.4.0'
implementation 'com.daimajia.slider:library:1.1.5@aar'
implementation "com.yuyakaido.android:card-stack-view:2.3.4"
implementation 'org.mongodb:stitch-android-sdk:4.1.0'
implementation 'com.mindorks:placeholderview:0.7.1'
implementation 'com.github.bumptech.glide:glide:3.7.0'
implementation 'com.google.code.gson:gson:2.7'
api 'com.theartofdev.edmodo:android-image-cropper:2.8.+'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.google.android.gms:play-services-location:17.0.0'
implementation 'com.facebook.android:facebook-login:[5,6)'
implementation 'com.soundcloud.android:android-crop:1.0.1@aar'
implementation 'com.mikhaellopez:circularimageview:3.2.0'
api 'com.google.android.material:material:1.2.0-alpha01'
implementation 'com.edmodo:rangebar:1.0.0'
implementation 'pub.devrel:easypermissions:3.0.0'
// implementation 'com.squareup.picasso:picasso:2.3.2'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.android.support:multidex:1.0.3'
implementation 'com.google.firebase:firebase-analytics:17.2.0'
implementation 'com.google.firebase:firebase-storage:19.1.0'
implementation 'com.google.firebase:firebase-auth:19.2.0'
implementation 'com.google.firebase:firebase-firestore:21.3.1'
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.1.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
def nav_version = "2.1.0"

// Java language implementation
implementation "androidx.navigation:navigation-fragment:$nav_version"
implementation "androidx.navigation:navigation-ui:$nav_version"

// Kotlin
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"

}
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}

apply plugin: 'com.google.gms.google-services'
apply plugin: 'kotlin-android-extensions'


我不知道这是如何或为什么发生的。恢复到以前有效的 git repo 并没有改变任何东西......可能是什么问题?

最佳答案

这为我修好了。今天才开始发生。

implementation 'com.facebook.android:facebook-android-sdk:5.15.3'

关于java - 找不到 androidsdk.modules,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60049166/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com