如何更改 Android 模拟器的电话号码
问题很简单;如何更改 Android 模拟器的电话号码?
另一个主题讨论了相同的问题,但是只有一个链接给出的文档。据我所知,所引用的文档并未描述如何更改设备的电话号码。
The question is quite simple; How do I change the phonenumber of an android emulator?
Another topic has discussed the same issue, however, only a link to the documentation whas given. As far as I know, the refered piece of documentation does not describe how you could change the devices phone number.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要将
android_id
(其他手机ID)输入到providers表中。查看检测模拟器并绕过检测。这是关于此主题的另一个 带有电话号码的 Android 模拟器? 。
You need to enter
android_id
(other phone ID) into providers table. Check this detecting an emulator, and getting around detection.Here is another Android emulators with phone numbers? on this topic.
无需重新编译,运行模拟器的端口号将控制电话号码的最后 4 位数字。可以通过在十六进制编辑器中编辑 emulator-arm 或 emulator-x86 二进制文件来更改前 7 位数字。
更多信息请参见:http://vrt -blog.snort.org/2013/04/changing-imei-provider-model-and-phone.html
Without recompiling, the port number that the emulator is running on controls the last 4 digits of the phone number. The first 7 digits can changed by editing the emulator-arm or emulator-x86 binaries in a hex editor.
More info here: http://vrt-blog.snort.org/2013/04/changing-imei-provider-model-and-phone.html