我添加了firebase_messaging软件包并在Android中设置了Firebase的属性,但出现错误
> Execution failed for task ':firebase_messaging:javaPreCompileDebug'.
> Could not resolve all files for configuration ':firebase_messaging:debugCompileClasspath'.
> Could not find localbroadcastmanager.jar (androidx.localbroadcastmanager:localbroadcastmanager:1.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/localbroadcastmanager/localbroadcastmanager/1.0.0/localbroadcastmanager-1.0.0.jar
在下面的图片中
和gradle.properties
org.gradle.jvmargs=-Xmx1536M
android.enableR8=true
android.useAndroidX=true
android.enableJetifier=true
即使此链接不起作用
https://dl.google.com/dl/android/maven2/androidx/localbroadcastmanager/localbroadcastmanager/1.0.0/localbroadcastmanager-1.0.0.jar
我不知道怎么了。感谢您解决该问题