Mark Molina
Mark Molina

Reputation: 5077

Android permission ACCES_NETWORK_STATE bug?

Im using Google V2 in my android app and it works good. Eclipse however is giving me this warning every time I run:

Please add <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> into AndroidManifest.xml to ensure correct behavior under poor connectivity conditions.

But I already added this permission in my manifest and have this in my xml:

<!-- More usses permissions, this is inside the <manifest> but outside the <application> tag -->
<uses-permission android:name="android.permission.ACCES_NETWORK_STATE" />

I think I've set it up correct but eclipse is still giving me this warning. Does anyone know why?

Upvotes: 2

Views: 423

Answers (1)

CommonsWare
CommonsWare

Reputation: 1007409

Does anyone know why?

You have android.permission.ACCES_NETWORK_STATE, which is incorrect. The value is android.permission.ACCESS_NETWORK_STATE, with two S characters in the ACCESS portion.

Upvotes: 2

Related Questions