13 Replies Latest reply on Sep 23, 2016 6:08 AM by siddharthm

    PhoneGap Build Apps NOT installed

    jansenc92263483

      Hi,

       

      Does anyone recently encountered inconsistent problems with apps installation after uploading and build via phonegap build ?

       

      Previously it works well BUT unfortunately recently it happens a lot like now for example (since 3-4 hours ago) ?

       

      No errors when Upload .zip file and building but when tried to install in Android, it display "Apps NOT Installed". Any workaround to solve this issue ?

       

      Note:- I have previously encountered this problem multiple times since this 1-2 weeks. After a while, sometimes 1-2 days, it will start working again by it's own BUT i do have to Rebuild it again. Seems like nothing to do with the codes or settings but something with PhoneGap Build system.

       

      Thank and Regards,

      Jansen Cheah

        • 1. Re: PhoneGap Build Apps NOT installed
          ChivertonT Level 2

          Check PhoneGap Build Service Status - Phonegap is screwed.

          1 person found this helpful
          • 2. Re: PhoneGap Build Apps NOT installed
            VectorP Level 4

            The status page says:

             

            If there are any interruptions in service, a note will be posted on Twitter or Get Satisfaction

             

            There's nothing on either platform. PGB Support is most likely not taking notice.

            :-(

            • 3. Re: PhoneGap Build Apps NOT installed
              ChivertonT Level 2

              Yup. Same as always. PGB keels over for six to 12 hours about once a month, always around 10am London time.
              I assume it happens while the lone techie running it is asleep as it nearly always pops back in time to have to stay late in the office to cover up Adobe's mistake.

              • 4. Re: PhoneGap Build Apps NOT installed
                ryanskihead Adobe Employee

                The Build service was uninterrupted -- there was actually a problem with the status page web app ... (installation issues wouldn't be reported there anyhow).

                 

                Regarding the original issue, might be worth installing the android sdk and using adb logcat, which should give you more information as to why the installation is failinig.

                • 5. Re: PhoneGap Build Apps NOT installed
                  jansenc92263483 Level 1

                  Hi Guys,

                   

                  Now the build status server page shows everything ok BUT the problem is still there. Tried uploading and rebuild my older version which is previously confirmed working but now also cannot installed. No errors shown EXCEPT when i tried to install in Android it display "Apps NOT Installed".

                  • 6. Re: PhoneGap Build Apps NOT installed
                    siddharthm

                    jansenc92263483 : I there. I have been facing the same issue as well (On Android). I tried to find the reason and the issue is with the version code that is being built by the phonegap build service. It is always 1. The inteface shows the right version name that you had set in the config.xml (example 1.3.2). But the apk has version name as 1.0 and version code as 1 (12, 14 if you are using crosswalk). Hence when you install the app on your device, it tries to "downgrade" the version. And you get the "Apps Not Installed" error. This is a bug that is not allowing us to publish an update to playstore

                    • 7. Re: PhoneGap Build Apps NOT installed
                      siddharthm Level 1

                      Hi ryanskihead. I think this issue of app not getting installed relates to this issue (Android Version Name is always "1.0" ). You may check it out. I think these are pretty serious issues as updating of apps on play store is not possible by building the app using phonegap build. I verified this issue on cli 6.0.0, 6.1.0, 6.2.0 and 6.3.0.

                      • 8. Re: PhoneGap Build Apps NOT installed
                        ChivertonT Level 2

                        Possibly related, but yesterday while the status page was showing errors, on iOS and WP8 hydrated apps were just showing a white page after updating.
                        This morning they are all fine after a rebuild (same code).

                        So something was definitely wrong in PGB and Adobe got around to fixing it overnight.

                        • 9. Re: PhoneGap Build Apps NOT installed
                          ChivertonT Level 2

                          I just made a build for Android, and it's upload to Google Play (alpha testing) section OK. The version is listed as '244'.

                          • 10. Re: PhoneGap Build Apps NOT installed
                            siddharthm Level 1

                            can you provide the config.xml you used?

                             

                            I just built for android and still getting the same version "1.0" for this config (It used to work earlier, till a week back) :

                             

                            <?xml version="1.0" encoding="UTF-8"?>

                                <widget xmlns = "http://www.w3.org/ns/widgets"

                                    xmlns:gap = "http://phonegap.com/ns/1.0"

                                    id        = "com.xxx.mobile"

                                    versionCode="101"

                                    version   = "0.9.54-beta">

                                <name>Latytude</name>

                             

                             

                                <description>

                                    desc

                                </description>

                             

                             

                                <author href="http://www.example.com" email="xx@xx.com">

                                    Latytude

                                </author>

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

                                <preference name="xwalkVersion" value="19+"/>

                                <preference name="webView" value="org.crosswalk.engine.XWalkWebViewEngine"/>

                                <preference name="xwalkCommandLine" value="--disable-pull-to-refresh-effect"/>

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

                                <preference name="loadUrlTimeoutValue" value="700000" />

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

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

                                <preference name="android-build-tool" value="gradle" />

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

                                <preference name="android-targetSdkVersion" value="22" />

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

                             

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

                             

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

                             

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

                             

                                <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="15" />          

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

                             

                             

                                <preference name="StatusBarBackgroundColor" value="#000000" />

                             

                             

                                <preference name="BackgroundColor" value="#000000" />

                             

                             

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

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

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

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

                            <preference name="SplashScreen" value="screen" />

                            <preference name="SplashScreenDelay" value="6000" />

                             

                             

                                <gap:plugin name="cordova-plugin-whitelist" source="npm"/>

                             

                             

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

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

                             

                             

                                <gap:plugin name="org.apache.cordova.contacts" source="npm"/>

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

                             

                             

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

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

                             

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

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

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

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

                             

                             

                                <gap:plugin name="org.apache.cordova.statusbar" source="npm" />

                                <gap:plugin name="cordova-plugin-splashscreen" source="npm" version="3.2.1" />

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

                             

                             

                                <plugin name="cordova-plugin-google-analytics" spec="1.5.6" source="npm" />

                             

                            <plugin name="cordova-build-architecture" spec="https://github.com/MBuchalik/cordova-build-architecture.git#v1.0.1" source="git" />

                             

                             

                             

                             

                                <gap:plugin name="cordova-plugin-x-toast" source="npm" />

                             

                             

                                <gap:plugin name="phonegap-plugin-push" source="npm" spec="1.6.4">

                                    <param name="SENDER_ID" value="xxx" />

                                </gap:plugin>

                            <gap:plugin name="phonegap-plugin-mobile-accessibility" source="npm" />

                             

                             

                            <plugin name="cordova-plugin-crosswalk-webview" source="npm" version="1.8.0" /> 

                                <gap:plugin spec="https://github.com/jeduan/cordova-plugin-facebook4#aff9a08a86cc6c6a18019f7adc2896ddf97c11c d" source="git" >

                               

                                <param name="APP_ID" value="xxx" />

                                <param name="APP_NAME" value="xxx" />

                                </gap:plugin>

                                <gap:plugin name="cordova-plugin-x-socialsharing" source="npm"/>

                             

                            <gap:plugin name="cordova-plugin-customurlscheme" source="npm">

                              <param name="URL_SCHEME" value="xxx" />

                            </gap:plugin>

                                 <icon src="icon.png" gap:qualifier=""/>

                             

                             

                                <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" />

                             

                            <gap:splash src="splash.png" />

                             

                            <platform name="android">

                            <splash src="res/screen/android/screen-ldpi-portrait.png" density="ldpi"/>

                            <splash src="res/screen/android/screen-mdpi-portrait.png" density="mdpi"/>

                            <splash src="res/screen/android/screen-hdpi-portrait.png" density="hdpi"/>

                            <splash src="res/screen/android/screen-xhdpi-portrait.png" density="xhdpi"/>

                            </platform>

                                <allow-navigation href="*" />

                                <access origin="*"/>

                                <access origin="http://*.google-analytics.com"/>

                                <access origin="https://*.google-analytics.com"/>

                                </widget>

                            • 11. Re: PhoneGap Build Apps NOT installed
                              jansenc92263483 Level 1

                              I just upload and re-build still NOT WORKING !!!

                               

                              Is PhoneGap guys know and fixing it or ..... ? Getting frustrated !!

                              • 13. Re: PhoneGap Build Apps NOT installed
                                siddharthm Level 1

                                Hey..the issue is actually with cli versions 6.0.0 and above. I need to use these to use crosswalk plugin. There are a few more plugin incompatibilities I have with versions less than 6.0.0.