我試圖使用Google Play服務至顯示位置地址,並根據官方指南(https://developer.android.com/training/location/display-address.html)編寫代碼,但它不適用於仿真器。所以我下載並嘗試了Github上的示例代碼(https://github.com/googlesamples/android-play-location/tree/master/LocationAddress),但仍然發現它不起作用。Android仿真器上的Google Play服務 - 無法使用
我使用模擬器:(谷歌公司)果凍豆谷歌的API armeabi-V7A
繼#2的一些解決方案,我下載了谷歌API的SDK和谷歌播放服務SDK與SDK管理器,但。不工作。
這裏的依賴代碼:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:21.0.3'
compile 'com.google.android.gms:play-services:7.0.0'
}
爲什麼不使用類似移動設備的Genymotion模擬器。 –