谷歌地图在android中放置自动完成错误429

谷歌地图在android中放置自动完成错误429,android,google-maps,google-api,Android,Google Maps,Google Api,我在google map places api中遇到429个错误代码,但一切正常。我有账单帐户,也限制了我的api,但我得到以下错误 {“错误”:{“代码”:429,“消息”:“资源已耗尽(如检查配额)”,“错误”:[“消息”:“资源已耗尽(如检查配额)”,“域”:“全局”,“原因”:“RateLimitExceed”,“debugInfo”:“详细信息:”[原始错误]泛型::资源_耗尽:com.google.api.server.core.Fault:ImmutableErrorDefinit

我在google map places api中遇到429个错误代码,但一切正常。我有账单帐户,也限制了我的api,但我得到以下错误

{“错误”:{“代码”:429,“消息”:“资源已耗尽(如检查配额)”,“错误”:[“消息”:“资源已耗尽(如检查配额)”,“域”:“全局”,“原因”:“RateLimitExceed”,“debugInfo”:“详细信息:”[原始错误]泛型::资源_耗尽:com.google.api.server.core.Fault:ImmutableErrorDefinition{base=TOO\ u MANY\ u请求,category=QUOTA\错误,cause=null,debugInfo=null,domain=usageLimits,extendedHelp=null,httpHeaders={},httpStatus=tooManyRequests,internalReason=Reason{arguments={},cause=null,code=CanonicalResourceExtustedFromBackend,createdByBackend=false,debugMessage=null,errorProtoCode=null,errorProtoDomain=null,filteredMessage=null,location=null,message=null,unnamedArguments=[]},location=null,message=Rate Limited,reason=Rate Limited,rpcCode=429}速率限制超出“\n”],“状态”:“资源耗尽”}

My build.gradle具有以下依赖项

    implementation 'androidx.appcompat:appcompat:1.1.0'
    implementation 'com.google.android.material:material:1.1.0'
    implementation "androidx.recyclerview:recyclerview:1.1.0"
    implementation "androidx.recyclerview:recyclerview-selection:1.1.0-rc01"
    implementation "androidx.cardview:cardview:1.0.0"
    implementation 'com.android.support:design:28.0.0'
    implementation 'com.android.support:cardview-v7:28.0.0'
    implementation 'com.android.support:recyclerview-v7:28.0.0'
    implementation 'com.google.android.gms:play-services-gcm:17.0.0'
    implementation 'com.google.android.gms:play-services-location:17.0.0'
    implementation 'com.google.android.gms:play-services-maps:17.0.0'
    implementation 'com.google.android.gms:play-services-places:17.0.0'
    implementation 'com.google.android.gms:play-services-auth:18.1.0'
    implementation 'com.facebook.android:facebook-android-sdk:4.12.1'
    implementation 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2'
    implementation 'com.splunk.mint:mint:5.0.0'
    implementation 'com.android.support:support-v4:28.0.0'
    implementation 'com.nineoldandroids:library:2.4.0'
    implementation 'com.stripe:stripe-android:2.1.0'
    implementation 'com.squareup.picasso:picasso:2.5.2'
    implementation 'com.squareup.okio:okio:1.6.0'
    implementation group: 'com.pubnub', name: 'pubnub-gson', version: '4.6.4'
    implementation 'com.google.firebase:firebase-messaging:20.2.3'
    implementation('com.twitter.sdk.android:twitter:3.0.0@aar') {
        transitive = true;
    }
    apply plugin: 'com.google.gms.google-services'
    implementation 'com.skyfishjy.ripplebackground:library:1.0.1'
    implementation 'com.firebase:firebase-client-android:2.4.1+'
    implementation 'com.google.firebase:firebase-database:19.3.1'
    implementation 'com.firebaseui:firebase-ui:0.4.4'
    implementation 'com.google.firebase:firebase-core:17.4.4'
    implementation 'com.google.firebase:firebase-auth:19.3.2'
    implementation 'com.google.firebase:firebase-messaging:20.2.3'```  

What may be a cause of error?

该错误明确提到“配额耗尽”,因此您可能需要在google console中升级您的计划。

该错误明确提到“配额耗尽”,因此您可能需要在google console中升级您的计划。

请确保更新您的实现,如下所示:


用于Android的Places SDK已被弃用。只需启用Places API并遵循迁移指南即可。

请确保按如下所示更新您的实现:


用于Android的Places SDK已被弃用。只需启用Places API并遵循迁移指南即可。

您有很多请求…请检查配置以验证sessiontoken属性。它是一个随机字符串,用于标识自动完成会话以进行计费。如果自动完成请求中省略了此参数,则请求将被删除独立计费。您在官方页面中有关于此的更多信息您有很多请求…请检查您的配置以验证sessiontoken属性。这是一个随机字符串,用于标识自动完成会话以进行计费。如果自动完成请求中省略了此参数,则该请求将独立计费。你在官方网页上有更多关于这方面的信息
    implementation 'androidx.appcompat:appcompat:1.1.0'
    implementation 'com.google.android.material:material:1.1.0'
    implementation "androidx.recyclerview:recyclerview:1.1.0"
    implementation "androidx.recyclerview:recyclerview-selection:1.1.0-rc01"
    implementation "androidx.cardview:cardview:1.0.0"
    implementation 'com.android.support:design:28.0.0'
    implementation 'com.android.support:cardview-v7:28.0.0'
    implementation 'com.android.support:recyclerview-v7:28.0.0'
    implementation 'com.google.android.gms:play-services-gcm:17.0.0'
    implementation 'com.google.android.gms:play-services-location:17.0.0'
    implementation 'com.google.android.gms:play-services-maps:17.0.0'
    implementation 'com.google.android.gms:play-services-places:17.0.0'
    implementation 'com.google.android.gms:play-services-auth:18.1.0'
    implementation 'com.facebook.android:facebook-android-sdk:4.12.1'
    implementation 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2'
    implementation 'com.splunk.mint:mint:5.0.0'
    implementation 'com.android.support:support-v4:28.0.0'
    implementation 'com.nineoldandroids:library:2.4.0'
    implementation 'com.stripe:stripe-android:2.1.0'
    implementation 'com.squareup.picasso:picasso:2.5.2'
    implementation 'com.squareup.okio:okio:1.6.0'
    implementation group: 'com.pubnub', name: 'pubnub-gson', version: '4.6.4'
    implementation 'com.google.firebase:firebase-messaging:20.2.3'
    implementation('com.twitter.sdk.android:twitter:3.0.0@aar') {
        transitive = true;
    }
    apply plugin: 'com.google.gms.google-services'
    implementation 'com.skyfishjy.ripplebackground:library:1.0.1'
    implementation 'com.firebase:firebase-client-android:2.4.1+'
    implementation 'com.google.firebase:firebase-database:19.3.1'
    implementation 'com.firebaseui:firebase-ui:0.4.4'
    implementation 'com.google.firebase:firebase-core:17.4.4'
    implementation 'com.google.firebase:firebase-auth:19.3.2'
    implementation 'com.google.firebase:firebase-messaging:20.2.3'```  

What may be a cause of error?