3 Replies Latest reply on Oct 1, 2016 12:15 PM by kerrishotts

    PGB - Android App Not Installed

    Neumann! Level 1

      My app builds fine, but when I try to install in on android, i get the permissions screen, click install and then it says app not installed.  I also tried a version of my app from last week that was working fine, and get the same results.  The build logs contains no errors.  I tried to change the CLI version, that didn't work either.  This started yesterday.  I was hoping it was a server issue and would be fixed today, but I'm still getting the same results this morning.  Is anyone else experiencing this?

        • 1. Re: PGB - Android App Not Installed
          kerrishotts Adobe Community Professional

          What does your config.xml look like (minus identifying/secret information)?

           

          You might check the device's own logs using adb logcat (or equivalent) and see if they show additional information.

          • 2. Re: PGB - Android App Not Installed
            Neumann! Level 1

            Nothing has changed in my config since it was working earlier this week....

             

            <widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0" id="com.XXX.XXX" version="2.2.1">

              <name>XXXX</name>

              <description>XXXX</description>

              <author href="http://www.zzz.com" email="RNeumann@zzz.com">Rob Neumann</author>

              <content src="index.html"/>

              <preference name="phonegap-version" value="cli-6.3.0" />

              <preference name="android-versionCode" value="101" />

              <preference name="permissions" value="none"/>

              <preference name="orientation" value="landscape"/>

              <preference name="target-device" value="universal"/>

              <preference name="fullscreen" value="true"/>

              <preference name="webviewbounce" value="false"/>

              <preference name="prerendered-icon" value="true"/>

              <preference name="stay-in-webview" value="false"/>

              <preference name="ios-statusbarstyle" value="black-opaque"/>

              <preference name="detect-data-types" value="true"/>

              <preference name="exit-on-suspend" value="false"/>

              <preference name="show-splash-screen-spinner" value="true"/>

              <preference name="auto-hide-splash-screen" value="true"/>

              <preference name="disable-cursor" value="false"/>

              <preference name="android-minSdkVersion" value="14"/>

              <preference name="android-installLocation" value="auto"/>

              <gap:plugin name="org.apache.cordova.battery-status"/>

              <gap:plugin name="org.apache.cordova.camera"/>

              <gap:plugin name="org.apache.cordova.media-capture"/>

              <gap:plugin name="org.apache.cordova.console"/>

              <gap:plugin name="org.apache.cordova.device"/>

              <gap:plugin name="org.apache.cordova.device-motion"/>

              <gap:plugin name="org.apache.cordova.device-orientation"/>

              <gap:plugin name="org.apache.cordova.dialogs"/>

              <gap:plugin name="org.apache.cordova.file"/>

              <gap:plugin name="org.apache.cordova.file-transfer"/>

              <gap:plugin name="org.apache.cordova.geolocation"/>

              <gap:plugin name="org.apache.cordova.globalization"/>

              <gap:plugin name="org.apache.cordova.inappbrowser"/>

              <gap:plugin name="org.apache.cordova.media"/>

              <gap:plugin name="org.apache.cordova.network-information"/>

              <gap:plugin name="org.apache.cordova.splashscreen"/>

              <gap:plugin name="org.apache.cordova.vibration"/>

              <gap:plugin name="uk.co.workingedge.phonegap.plugin.launchnavigator" spec="2.1.0" source="pgb" />

              <gap:plugin name="nl.x-services.plugins.insomnia" spec="4.0.1" source="pgb" />

              <gap:plugin name="com.brodysoft.sqliteplugin" spec="1.0.6" source="pgb" />

              <icon src="icon.png"/>

              <icon src="res/icon/android/icon-36-ldpi.png" gap:platform="android" gap:qualifier="ldpi"/>

              <icon src="res/icon/android/icon-48-mdpi.png" gap:platform="android" gap:qualifier="mdpi"/>

              <icon src="res/icon/android/icon-72-hdpi.png" gap:platform="android" gap:qualifier="hdpi"/>

              <icon src="res/icon/android/icon-96-xhdpi.png" gap:platform="android" gap:qualifier="xhdpi"/>

              <icon src="res/icon/blackberry/icon-80.png" gap:platform="blackberry"/>

              <icon src="www/res/icon/blackberry/icon-80.png" gap:platform="blackberry" gap:state="hover"/>

              <icon src="www/res/icon/ios/icon-57.png" gap:platform="ios" width="57" height="57"/>

              <icon src="www/res/icon/ios/icon-72.png" gap:platform="ios" width="72" height="72"/>

              <icon src="www/res/icon/ios/icon-57-2x.png" gap:platform="ios" width="114" height="114"/>

              <icon src="www/res/icon/ios/icon-72-2x.png" gap:platform="ios" width="144" height="144"/>

              <icon src="www/res/icon/webos/icon-64.png" gap:platform="webos"/>

              <icon src="www/res/icon/windows-phone/icon-48.png" gap:platform="winphone"/>

              <icon src="www/res/icon/windows-phone/icon-173-tile.png" gap:platform="winphone" gap:role="background"/>

              <gap:splash src="www/res/screen/android/screen-ldpi-portrait.png" gap:platform="android" gap:qualifier="port-ldpi"/>

              <gap:splash src="www/res/screen/android/screen-mdpi-portrait.png" gap:platform="android" gap:qualifier="port-mdpi"/>

              <gap:splash src="www/res/screen/android/screen-hdpi-portrait.png" gap:platform="android" gap:qualifier="port-hdpi"/>

              <gap:splash src="www/res/screen/android/screen-xhdpi-portrait.png" gap:platform="android" gap:qualifier="port-xhdpi"/>

              <gap:splash src="www/res/screen/blackberry/screen-225.png" gap:platform="blackberry"/>

              <gap:splash src="www/res/screen/ios/screen-iphone-portrait.png" gap:platform="ios" width="320" height="480"/>

              <gap:splash src="www/res/screen/ios/screen-iphone-portrait-2x.png" gap:platform="ios" width="640" height="960"/>

              <gap:splash src="www/res/screen/ios/screen-iphone-portrait-568h-2x.png" gap:platform="ios" width="640" height="1136"/>

              <gap:splash src="www/res/screen/ios/screen-ipad-portrait.png" gap:platform="ios" width="768" height="1024"/>

              <gap:splash src="www/res/screen/ios/screen-ipad-landscape.png" gap:platform="ios" width="1024" height="768"/>

              <gap:splash src="www/res/screen/windows-phone/screen-portrait.jpg" gap:platform="winphone"/>

               <plugin name="cordova-plugin-whitelist" version="1"/>

              <access origin="*"/>

              <allow-intent href="http://*/*"/>

              <allow-intent href="https://*/*"/>

              <allow-intent href="tel:*"/>

              <allow-intent href="sms:*"/>

              <allow-intent href="mailto:*"/>

              <allow-intent href="geo:*"/>

              <platform name="android">

                <allow-intent href="market:*"/>

              </platform>

              <platform name="ios">

                <allow-intent href="itms:*"/>

                <allow-intent href="itms-apps:*"/>

              </platform>

            </widget>

            • 3. Re: PGB - Android App Not Installed
              kerrishotts Adobe Community Professional

              You're using old plugins from the PGB repo, for one. Those are apt to cause build failures (and if not that, runtime failures). You should use the modern plugin name convention (e.g., cordova-plugin-device) and source from NPM and pin to a desired version of the plugin:

               

              <plugin name="cordova-plugin-device" source="npm" spec="~x.y.z" />