title: Android APK errors during install
body: <p>When publishing our solution to an APK using the Archive Manager, the APK is not being installed.</p>
  
  <p>When I tap on the APK on the device using ES File Explorer, there is a message that states: "App not installed"</p>
  
  <p>Here are the versions I am using:</p>
  
  <blockquote>
    <p>Microsoft Visual Studio Premium 2012 Version 11.0.50727.1 RTMREL
    Microsoft .NET Framework Version 4.6.01055</p>
    
    <p>Installed Version: Premium</p>
    
    <p>Visual C# 2012   04941-004-0043007-02064 Microsoft Visual C# 2012</p>
    
    <p>Xamarin   4.2.2.6 (27a9b40) Visual Studio extension to enable
    development for Xamarin.iOS and Xamarin.Android.</p>
    
    <p>Xamarin.Android   7.0.2.42 (501e63c) Visual Studio extension to enable
    development for Xamarin.Android.</p>
    
    <p>Xamarin.iOS   10.3.1.7 (8b53676) Visual Studio extension to enable
    development for Xamarin.iOS.</p>
  </blockquote>
  
  <p>Does anyone have a way to see exactly why the App was not installed?</p>
  
  <p>When I use the Device Logging, I see the below output</p>
  
  <pre><code>01-11 15:35:10.734 I/InstallAppProgress(18156): Finished installing com.afs.dsd_mobile
  01-11 15:35:12.070 I/ActivityManager(  454): START u0 {dat=/storage/emulated/0/Download/com.afs.dsd_mobile.apk cmp=com.estrongs.android.pop/.app.ShowDialogActivity (has extras)} from pid 17445
  01-11 15:35:12.508 I/ActivityManager(  454): Displayed com.estrongs.android.pop/.app.ShowDialogActivity: +362ms
  01-11 15:35:13.367 I/ActivityManager(  454): START u0 {cmp=com.estrongs.android.pop/.app.OpenRecomm (has extras)} from pid 17445
  01-11 15:35:13.484 W/ResourceType(17445): No package identifier when getting value for resource number 0x00000000
  01-11 15:35:13.523 I/ActivityManager(  454): START u0 {act=android.intent.action.VIEW dat=file:///storage/emulated/0/Download/com.afs.dsd_mobile.apk typ=application/vnd.android.package-archive cmp=com.android.packageinstaller/.PackageInstallerActivity} from pid 17445
  01-11 15:35:13.625 I/AppSecurityPermissions(18156): Ignoring unknown permission:com.symbol.emdk.permission.EMDK
  01-11 15:35:13.625 I/AppSecurityPermissions(18156): Ignoring unknown permission:com.samsung.android.providers.context.permission.WRITE_USE_APP_FEATURE_SURVEY
  01-11 15:35:13.625 I/AppSecurityPermissions(18156): Ignoring unknown permission:android.permission.USE_FINGERPRINT
  01-11 15:35:13.625 W/AppSecurityPermissions(18156): Could'nt retrieve shared user id for:com.afs.dsd_mobile
  01-11 15:35:13.750 I/ActivityManager(  454): Displayed com.android.packageinstaller/.PackageInstallerActivity: +221ms (total +364ms)
  01-11 15:35:15.195 I/ActivityManager(  454): START u0 {dat=file:///storage/emulated/0/Download/com.afs.dsd_mobile.apk cmp=com.android.packageinstaller/.InstallAppProgress (has extras)} from pid 18156
  01-11 15:35:15.320 D/dalvikvm(18156): GC_CONCURRENT freed 96K, 3% free 6960K/7120K, paused 13ms+11ms, total 56ms
  01-11 15:35:15.328 D/dalvikvm(18156): WAIT_FOR_CONCURRENT_GC blocked 3ms
  01-11 15:35:15.375 W/ActivityManager(  454): No content provider found for permission revoke: file:///storage/emulated/0/Download/com.afs.dsd_mobile.apk
  01-11 15:35:15.445 I/ActivityManager(  454): Displayed com.android.packageinstaller/.InstallAppProgress: +205ms
  01-11 15:35:25.914 W/ActivityManager(  454): No content provider found for permission revoke: file:///storage/emulated/0/Download/com.afs.dsd_mobile.apk
  01-11 15:35:25.914 I/PackageManager(  454): Copying native libraries to /data/app-lib/vmdl-1977729985
  01-11 15:35:28.109 W/PackageParser(  454): Exception reading /data/app/vmdl-1977729985.tmp
  01-11 15:35:28.109 W/PackageParser(  454): java.lang.NullPointerException
  01-11 15:35:28.109 W/PackageParser(  454):  at android.content.pm.PackageParser.collectCertificates(PackageParser.java:633)
  01-11 15:35:28.109 W/PackageParser(  454):  at com.android.server.pm.PackageManagerService.installPackageLI(PackageManagerService.java:7886)
  01-11 15:35:28.109 W/PackageParser(  454):  at com.android.server.pm.PackageManagerService.access$1900(PackageManagerService.java:172)
  01-11 15:35:28.109 W/PackageParser(  454):  at com.android.server.pm.PackageManagerService$5.run(PackageManagerService.java:6018)
  01-11 15:35:28.109 W/PackageParser(  454):  at android.os.Handler.handleCallback(Handler.java:725)
  01-11 15:35:28.109 W/PackageParser(  454):  at android.os.Handler.dispatchMessage(Handler.java:92)
  01-11 15:35:28.109 W/PackageParser(  454):  at android.os.Looper.loop(Looper.java:137)
  01-11 15:35:28.109 W/PackageParser(  454):  at android.os.HandlerThread.run(HandlerThread.java:60)
  01-11 15:35:28.406 D/dalvikvm(  454): GC_EXPLICIT freed 1663K, 34% free 16718K/25044K, paused 10ms+12ms, total 171ms
  01-11 15:35:28.414 D/InstallAppProgress(18156): Installation error code: -102
  </code></pre>