gpt4 book ai didi

android-studio - 升级到Gradle 4.1时出现 'unresolved supertypes'错误

转载 作者:行者123 更新时间:2023-12-03 17:59:31 25 4
gpt4 key购买 nike

我刚刚将项目升级到gradle 4.1,现在出现此错误:

    Supertypes of the following classes cannot be resolved. Please make 
sure you have the required dependencies in the classpath: class com.google.android.gms.maps.model.LatLng, unresolved supertypes:
com.google.android.gms.common.internal.safeparcel.zza class com.google.android.gms.maps.model.PolylineOptions, unresolved supertypes:
com.google.android.gms.common.internal.safeparcel.zza class com.google.android.gms.maps.model.MarkerOptions, unresolved supertypes:
com.google.android.gms.common.internal.safeparcel.zza class com.google.android.gms.maps.model.CameraPosition, unresolved supertypes:
com.google.android.gms.common.internal.safeparcel.zza class com.google.android.gms.location.LocationRequest, unresolved supertypes:
com.google.android.gms.common.internal.safeparcel.zza class
com.google.android.gms.location.LocationSettingsRequest, unresolved
supertypes: com.google.android.gms.common.internal.safeparcel.zza class
com.google.android.gms.location.LocationSettingsResult, unresolved
supertypes: com.google.android.gms.common.internal.safeparcel.zza

我删除了 .gradle缓存以查看是否可以解决该错误。没有骰子,我不确定到底是怎么回事。它在升级之前没有问题地进行了编译。有任何想法吗?

最佳答案

如果您使用的Firebase和Google Play服务的版本不同,那么您将面临此问题。

关于android-studio - 升级到Gradle 4.1时出现 'unresolved supertypes'错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49675195/

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