English title: Solve Android simulator to cannot get online problem 1. Add the android tool to the Windows environment variable path, D:/Android/android-sdk_r3-windows/Android-SDK-Windows/tools /. 2. Start the android simulator in two ways. Method 1: Open the command line window (shortcut: Windows key + r) and enter emulator-AVD <youravdname> in cmd. Method 2, in eclipse, right-click the android project and choose run as> Android Application to run the project. 3. In the window, open the command line window and enter the ADB shell command. This command is used to enter the Linux System of the simulator. 4. run the following command in ADB shell mode: sqlite3/data/COM. android. providers. settings/databases/settings. DB "insert into system values (99, 'HTTP _ proxy', '10. 10.26.252: 1080 ')" 5. In ADB shell mode, execute the query command sqlite3/data/COM. Android. providers. Settings/databases/settings. DB "select * from system "? The icon is as follows: 6. RestartAndroid Simulator, ProgramYesLog on to the HTTP website. Note: The method for deleting the configuration information just written: sqlite3/data/COM. Android. providers. Settings/databases/settings. DB "delete from system where _ id = 99" My testing program uses the hellowebview example on the official Android website. Source code download? ? Is the http://www.baidu.cn used in the code to test the website? ? ? This article contains attachment: admin@pjprimer.com request |