ACCESS_NETWORK_STATE permission on Android ICS

I updated the permissions like this and it works.

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

this is because ACCESS_NETWORK_STATE is used as connectivityManger and this needs INTERNET connection.


I believe this is an issue with Eclipse; it fails to refresh the manifest to load the permission.

I had the same problem as the original poster and solved it by adding the permission a second time--but then I was able to remove the permission without affecting behavior. This makes me suspect that Eclipse didn't load permissions correctly until I touched the file.