开发者

android emulator browser not connecting to internet

开发者 https://www.devze.com 2023-02-16 20:16 出处:网络
my emulator browser not connecting to internet? how to do the settings? <application android:icon=\"@drawable/icon\" android:label=\"@string/app_name\">

my emulator browser not connecting to internet? how to do the settings?

<application android:icon="@drawable/icon" android:label="@string/app_name">
    <activity android:name=".reader"
              android:label="@string/app_name">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
             <category android:name="android.intent.category.BROWSABLE" />
        </intent-filter>
        <intent-filter>
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />


        </intent-filter>
    </activity>

</application>
 <uses-permission android:name="android.permission.INTERNET" />
 <uses-permission android:name="android.permission.WRITE_EXTERN开发者_如何转开发AL_STORAGE" />
  <supports-screens
    android:smallScreens="true"
    android:normalScreens="true"
    android:largeScreens="true"
    android:anyDensity="true" />
    </manifest>  


I edited avd with value "GPS support= yes" and restarted the emulator. now working....


You might have missed out <uses-permission android:name="android.permission.INTERNET" /> inside your manifest file.


Follows following instruction 1. Firstly You check at your emulator that your emulator have Internet if not then 2. Go to setting and then 3. Go to wireless and network then 4. wi-fi setting and on it and 5. Save the setting and close the emulator again start and enjoy internet on your emulator.


you might need to set an apn aswell, if you are behind a proxy.

0

精彩评论

暂无评论...
验证码 换一张
取 消