title: Neither user 10031 nor current process has android.permission.INSTALL_PACKAGES
body: <p>I want to use PackageManager to install self apk, but I have some problems.</p>
  
  <p>PackageManager pm = getPackageManager();</p>
  
  <p>pm.installPackage(Uri.fromFile(file), null,
  PackageManager.INSTALL_REPLACE_EXISTING, pakcageName);</p>
  
  <p>java.lang.SecurityException: Neither user 10031 nor current process has android.permission.INSTALL_PACKAGES.
  at android.os.Parcel.readException(Parcel.java:1322)
  at android.os.Parcel.readException(Parcel.java:1276)
  at android.content.pm.IPackageManager$Stub$Proxy.installPackage(IPackageManager.java:1951)
  at android.app.ContextImpl$ApplicationPackageManager.installPackage(ContextImpl.java:2549)</p>