Can#39;t get geo fixes to Android emulator(无法对 Android 模拟器进行地理修复)
问题描述
我正在尝试将地理修复发送到 Eclipse 中的 Android 模拟器.它一直在一些地方工作,但现在它从来没有工作过.我尝试过针对不同的平台,在正确的模拟器中设置时区,将语言环境更改为英语(美国),在模拟器中擦除用户数据,同时使用 telnet geo fix 命令和 DDMS.
I'm trying to send geo fixes to the Android Emulator in Eclipse. It has been working in some locations, but now it never works. I've tried targeting different platforms, setting the time zone in the correct emulator, changing the locale to English (US), wiping the user data in the emulator, used both telnet geo fix command and the DDMS.
我怎样才能做到这一点?
How can I make this work?
推荐答案
如果您的 AVD 版本是 API 级别 9,(2.3 模拟器),那么它似乎是一个已知错误
If your AVD version is API level 9, (2.3 emulator), then it appears to be a known bug
onLocationChanged(Location location) 方法在 google API 9 平台 2.3 中不起作用
我有两个应用程序在 2.1 和 3.0 中运行良好,但一个不愿意在 2.3 下安装,当它安装时,geo fix 不起作用..另一个已安装,geo fix 再次不起作用.
I've got two apps that work fine in 2.1 and 3.0, but one is reluctant to install under 2.3, when it does, geo fix doesn't work.. The other is installed and again geo fix doesn't work.
这篇关于无法对 Android 模拟器进行地理修复的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:无法对 Android 模拟器进行地理修复
基础教程推荐
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
