uses-permission android:name="android.permission.INTERNET"

https://java2blog.com/add-internet-permission-in-androidmanifest-android-studio/

Step 1 : Go to app -> AndroidManifest.xml.
Copy following code:
Put it in AndroidManifest.xml.


如:

    package="com.java2blog.helloworldapp">

    

    

        android:allowBackup="true"

        android:icon="@mipmap/ic_launcher"

        android:label="@string/app_name"

        android:supportsRtl="true"

        android:theme="@style/AppTheme">

        

            

                

                

            

        

    

你可能感兴趣的:(uses-permission android:name="android.permission.INTERNET")