title: Name not found exception at PackageManager.GET_CONFIGURATIONS
body: <p>I'm trying to display <code>versionName</code> using below code</p>
  
  <pre><code>PackageManager pkm = getPackageManager();
  PackageInfo pki = pkm.getPackageInfo("com.example", PackageManager.GET_CONFIGURATIONS);
  String tempCurrentVersion = pki.versionName;
  </code></pre>
  
  <p>But I'm getting exception at <code>PackageManager.GET_CONFIGURATIONS</code> as <code>NameNotFoundException</code></p>
  
  <p>Please tell me how i can solve this issue.</p>
  
  <p>Thanks</p>