Set up Android emulator via proxy internet __android

Source: Internet
Author: User

Under Windows, after configuring the ADROID environment variable (such as adding d:/android-sdk-windows-1.0_r1/tools to the system variable path), enter at the Command line window:

Emulator

After starting the Android emulator, enter:

ADB shell

Enter adb shell mode:

Write the network connection Agent settings to the configuration database, if your Internet proxy IP is 10.193.xx.xx:

Sqlite3/data/data/com.android.providers.settings/databases/settings.db INSERT into System VALUES ("Http_proxy", ' 10.193.xx.xx:1080 ') '

Check to see if the system settings have been successfully changed:


Sqlite3/data/data/com.android.providers.settings/databases/settings.db "SELECT * from System"


The result should be: 99|http_proxy|10.193.xx.xx:1080


Restart the emulator, you should be able to use browser on the Internet.


Delete the configuration information method you just wrote:

Sqlite3/data/data/com.android.providers.settings/databases/settings.db "DELETE from System WHERE _id=99"

This article from Csdn Blog, reproduced please indicate the source: http://blog.csdn.net/ericbaner/archive/2009/02/12/3881446.aspx

Then found another way. Ph7 (jv{
Start the simulator and then enter Settings->wireless controls->mobile networks->access point Names W) Kpnb7
Then open the access point that appears in the list; 2YP "nj#
do4u9{+
Then set the following: xkpt[$ab
l!} J3 (I
-Proxy:your Proxy Address $nd-[XV
-Port:your Proxy Port Wuopyyw<o
-Username:your Username if needed, or <not set> [@l v]+@
-Password:your Password if needed, or <not set>

Attached: http://www.haozs.net/

Can find a lot of available proxy IP addresses

Attached Z_4h2hsel

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.