title: Code not working on Phonegap Application -Android
body: <p>I am new to Cross-Platform development . I have a piece of code which is not working properly . It gives 3 Info messages in Logcat .</p>
  
  <p>First Message : </p>
  
  <blockquote>
    <p>"Viewport target-densitydpi is not supported.", source: file:///android_asset/www/index.html (8)</p>
  </blockquote>
  
  <p>Second Info Message :</p>
  
  <blockquote>
    <p>"Uncaught SyntaxError: Unexpected token .", source: file:///android_asset/www/css/jquery.mobile-1.3.2.css (17)</p>
  </blockquote>
  
  <p>Third Info Message :</p>
  
  <blockquote>
    <p>"Uncaught TypeError: Cannot call method 'querySelector' of null", source: file:///android_asset/www/js/index.js (26)</p>
  </blockquote>
  
  <p>Code is here : `</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
  
          &lt;meta charset="utf-8" /&gt;
          &lt;meta name="format-detection" content="telephone=no" /&gt;
  
          &lt;meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" /&gt;
  
          &lt;script type="text/javascript" src="file:///android_asset/www/js/index.js"&gt;&lt;/script&gt;
          &lt;link rel="stylesheet" type="text/css" href="file:///android_asset/www/css/index.css" /&gt;
  
          &lt;title&gt;gcm on phonegap &lt;/title&gt;
  
          &lt;script type="text/javascript" charset="utf-8" src="file:///android_asset/www/CORDOVA_GCM_script.js"&gt;&lt;/script&gt;
  
          &lt;script type="text/javascript" src="file:///android_asset/www/css/jquery.mobile-1.3.2.css"&gt;&lt;/script&gt;
          &lt;script type="text/javascript" src="file:///android_asset/www/js/jquery-2.1.1.js"&gt;&lt;/script&gt;
          &lt;script type="text/javascript" src="file:///android_asset/www/js/jquery.mobile-1.3.2.js"&gt;&lt;/script&gt;
  
          &lt;script type="text/javascript" src="file:///android_asset/www/cordova.js"&gt;&lt;/script&gt;
  
         &lt;script type="text/javascript" src="file:///android_asset/www/GCMPlugin.js"&gt;&lt;/script&gt;
  
  
          &lt;script type="text/javascript"&gt;
              app.initialize();
              // Java script code goes here
  
          &lt;/script&gt;
  
      &lt;/head&gt;
      &lt;body&gt;
  
  
      &lt;div id="app-status-div"&gt;
          &lt;ul id="app-status-ul"&gt;
              &lt;li&gt;Cordova Google Cloud Messaging Plugin Demo&lt;/li&gt;
          &lt;/ul&gt;
      &lt;/div&gt;
  
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Any help will be appreciated .Thanks in advance .</p>