The meta-data tag does not have right value

前端 未结 2 1768
伪装坚强ぢ
伪装坚强ぢ 2021-01-18 09:59

I am newer in android , I am trying to use Google Maps in my application using google play services getting errors.

MapViewActivty:

public class Maps         


        
2条回答
  •  死守一世寂寞
    2021-01-18 10:29

    Your logcat clearly said:

    idRuntime(5932): Caused by: java.lang.IllegalStateException: The meta-data tag in your app's AndroidManifest.xml does not have the right value.  Expected 5089000 but found 0.  You must have the following declaration within the  element:     
    08-06 11:34:28.256: E/AndroidRuntime(5932):     at com.google.android.gms.common.GooglePlayServicesUtil.A(Unknown Source)
    

    You need to add Google Play Services Version as tag under tag in your manifest.xml

     
    

提交回复
热议问题