Try with,
<uses-permission android:name="android.permission.INTERNET"/>
instead of,
<permission android:name="android.permission.INTERNET"></permission>
Try this:
<uses-permission android:name="android.permission.INTERNET"/>
And your activity names
must be like this with capital letters
:
<activity android:name=".Addfriend"/>
<activity android:name=".UpdateDetails"/>
<activity android:name=".Details"/>
<activity android:name=".Updateimage"/>
try it.
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
Try moving <uses-permission>
outside the <application>
tag.
Uninstalling the app on device and then reinstalling fixed it for me.
Tried all the other options, nothing. Finally found this post. This is after adding permission (below) and cleaning build.
<uses-permission android:name="android.permission.INTERNET"/>
It can be fixed by placing the lines in the android manifest file:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
enter image description here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With