0

我无法从安卓模拟器访问互联网。我试过

Menu --> Settings -->Wireless and Networks -->Mobile Networks -->Access Point Names -->TelKila Internet

然后 entered Proxy, Port, Username and Password also server address.

在我的安卓模拟器中。但我仍然无法访问互联网

我不断收到此错误:

Error code 407: Proxy authentication required. The ISA Server requires authentication to fulfill the request. Access to the web proxy filter is denied. (12209) ...

有没有办法从代码为 android 设置代理?

提前致谢。

4

1 回答 1

1

这将是一个两步解决方案,我希望它对您有用。恐怕,我想不出更简单的了。:-(

但这应该让你开始。

第1步:

下载 APK: http: //forum.xda-developers.com/showthread.php ?t=1359389 。直接链接到 APK

第 2 步: 来源:https ://stackoverflow.com/a/3480235/450534

1. Execute the emulator.
2. Start the console (Windows XP), Run -> type **cmd**, and move to the **platform-tools** folder of **SDK** directory. 
3. Paste the *APK* file in the 'platform-tools' folder.
4. Rename the APK to `proxy.apk` or something simple that you will find easy to type in a Command Prompt. The name itself does not matter. The **.apk** extension does.
4. Then type the following command.
> adb install [apk file name]

 Example:
> adb install Jorgesys.apk

现在,您将在模拟器上安装第 1 步中链接的应用程序。在应用程序中配置设置,您应该可以在模拟器上运行 Internet。

让我知道事情的后续。

注意:该应用程序也可以在 Google Play 上使用,并且有一些屏幕截图可以帮助您入门:https ://play.google.com/store/apps/details?id=org.proxydroid

披露:我与这个应用程序无关。我在为 OP 寻找一些解决方案时发现了它。而已。

于 2013-03-16T10:15:52.830 回答