title: Permission denied (missing INTERNET permission)
body: <p>Here are my Manifest file</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.pa4ad.earthquakeviewer"
      android:versionCode="1"
      android:versionName="1.0" &gt;
  
  
      &lt;uses-sdk
          android:minSdkVersion="11"
          android:targetSdkVersion="21" /&gt;
  
      &lt;uses-permission android:name="android.permisson.INTERNET"/&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/&gt;
  
      &lt;application
          android:allowBackup="true"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
          &lt;activity
              android:name=".Earthquake"
              android:label="@string/app_name" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre>
  
  <p>I tested these code on a Nexus 7 1st generation, not an emulator. After a complete search online, I found solutions to similar questions and have added the permission INTERNET and ACCESS_NETWORK_STATE, but still get this error.</p>
  
  <pre><code> 03-25 11:15:49.909: E/AndroidRuntime(27298): java.lang.SecurityException: Permission denied (missing INTERNET permission?)
      03-25 11:15:49.909: E/AndroidRuntime(27298):    at java.net.InetAddress.lookupHostByName(InetAddress.java:451)
      03-25 11:15:49.909: E/AndroidRuntime(27298):    at java.net.InetAddress.getAllByNameImpl(InetAddress.java:252)
      03-25 11:15:49.909: E/AndroidRuntime(27298):    at java.net.InetAddress.getAllByName(InetAddress.java:215)
      03-25 11:15:49.909: E/AndroidRuntime(27298):    at com.android.okhttp.HostResolver$1.getAllByName(HostResolver.java:29)
      03-25 11:15:49.909: E/AndroidRuntime(27298):    at com.android.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:232)
      03-25 11:15:49.909: E/AndroidRuntime(27298):    at com.android.okhttp.internal.http.RouteSelector.next(RouteSelector.java:124)
      03-25 11:15:49.909: E/AndroidRuntime(27298):    at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:272)
      03-25 11:15:49.909: E/AndroidRuntime(27298):    at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:211)
      03-25 11:15:49.909: E/AndroidRuntime(27298):    at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:382)
      03-25 11:15:49.909: E/AndroidRuntime(27298):    at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:332)
      03-25 11:15:49.909: E/AndroidRuntime(27298):    at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:500)
  </code></pre>