1
票
AdvertisingIDの取得がうまくいかない
公式ドキュメント先のExample implementationに記載されている通りのcatchを記載してみてください。
もしGooglePlayServicesNotAvailableExceptionに入れば、該当のサービスが利用できない端末(AVDで確認)で実行していることになります。GooglePlayServicesRepairableExceptionに入る場合の条件が不明ですが(...
1
票
Accepted
GoogleApiClient.Builderをstaticで使用する方法を教えて下さい。
locationClient = new GoogleApiClient.Builder(this)
.addApi(LocationServices.API) //利用するAPIの指定
.addConnectionCallbacks(this) //接続完了リスナ
....
Only top scored, non community-wiki answers of a minimum length are eligible
関連するタグ
google-play-service × 12android × 9
google-maps × 3
eclipse × 2
ios × 1
xcode × 1
unity3d × 1
build × 1