Task :app:processDevelopmentDebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDevelopmentDebugResources'.
> Could not resolve all files for configuration ':app:developmentDebugCompileClasspath'.
> Could not resolve com.facebook.android:facebook-login:9.+.
Required by:
project :app
> Failed to list versions for com.facebook.android:facebook-login.
> Unable to load Maven meta-data from https://jcenter.bintray.com/com/facebook/android/facebook-login/maven-metadata.xml.
> Could not HEAD 'https://jcenter.bintray.com/com/facebook/android/facebook-login/maven-metadata.xml'.
> org.apache.http.client.ClientProtocolException (no error message)
> Failed to list versions for com.facebook.android:facebook-login.
> Unable to load Maven meta-data from https://jcenter.bintray.com/com/facebook/android/facebook-login/maven-metadata.xml.
> Could not HEAD 'https://jcenter.bintray.com/com/facebook/android/facebook-login/maven-metadata.xml'.
> org.apache.http.client.ClientProtocolException (no error message)我的项目/ android/app/build.gradle是
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation 'com.facebook.fbjni:fbjni-java-only:0.0.4'
implementation 'com.facebook.android:facebook-login:[8,9)'
}=>后
repositories {
// You can also use jcenter if you prefer
mavenCentral()
}
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation 'com.facebook.fbjni:fbjni-java-only:0.0.4'
implementation 'com.facebook.android:facebook-login:9.+'和梯度清洁,梯度建筑
但我也有同样的问题。
我需要你的帮助。
谢谢
发布于 2022-05-10 08:19:40
我解决了这个问题。
2022-05-10,
RN版本0.64.2 => 0.65.2
所以这个问题已经解决了
https://stackoverflow.com/questions/72180315
复制相似问题