5 Replies Latest reply on Aug 1, 2016 2:07 PM by surajpindoria

    since two day ago all android apk fail


      Hi all!

      Since two days ago all android apk fail with error "error analisys".

      Build was done with Adobe Phonegap.

      Some suggestion please?

      Already enabled sources on three different devices but no way.



        • 1. Re: since two day ago all android apk fail
          kerrishotts Adobe Employee

          Please be more specific as to the error message, what devices you are trying on (OS versions, manufacturer, etc.), how you are building (CLI, PhoneGap Build -- version #s too), and what you mean by "enabled sources".

          • 2. Re: since two day ago all android apk fail
            paoloc56973265 Level 1

            I'm using PhoneGap Build.

            OS: Android 4.4.2

            Samsung GT-I9300I

            Enabled sources other than Play Store


            Today I retried: I uploaded on PhoneGap Build a zip file I created on July 22 - at that date the file was correctly installed on my phone and run normally. I downloaded by reading the qr-code.

            Now my phone tells that the apk is corrupted.

            I tried onto other tablets and phones - the result is the same.

            Thank you.

            • 3. Re: since two day ago all android apk fail
              VectorP Level 4

              Four suggestions:

              1. Read the exact error message from your device (not: "Now my phone tells that the apk is corrupted.", because that's not what the phone 'said'), then google 'phonegap' + [the exact message]

              2. For test purposes, don't use the QR code. Instead, download the .apk file from PGB using the blue 'apk' button, transfer the .apk file to your device and then install.

              3. If you selected a signing key to create the apk, for test purposes select "no key selected", rebuild and retry.

              4. Check your config.xml. Did you, by any chance, set an 'android-minSDKversion' higher than your Android 4.4.2 (which would be 19) or a maxSDKversion lower than that?

              1 person found this helpful
              • 4. Re: since two day ago all android apk fail
                paoloc56973265 Level 1

                I set my smartphone to English so the message is : "There was a problem parsing the package",

                then I modified confi.xml by remove all settings and leave only:

                <?xml version="1.0" encoding="UTF-8" ?>
                    <widget xmlns   = "http://www.w3.org/ns/widgets"
                        xmlns:gap   = "http://phonegap.com/ns/1.0"
                        id          = "SAL.TEST01"
                        versionCode = "10"
                        version     = "1.5.336" >

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

                        Paolo Versione 336

                    <author href="https://build.phonegap.com" email="support@phonegap.com">
                    <gap:platform name="android" />
                    <icon src="icon.png" />
                    <gap:splash src="splash.png" />

                    <!--<gap:plugin name="cordova-plugin-bluetoothle" source="npm" />-->
                    <gap:plugin name="com.megster.cordova.bluetoothserial" />
                    <gap:plugin name="uk.co.whiteoctober.cordova.appversion" spec="0.1.4" source="pgb" />
                    <gap:plugin name="net.roughshod.plugins.barcodescanner" spec="3.0.0" source="pgb" />
                    <gap:plugin name="fi.avaus.cordova.geolocation" spec="0.3.11" source="pgb" />


                This was very important: cli-5.2.0 and back to deprecated com.megster.cordova.bluetoothserial.

                Then I connected to build.phonegap.com with my smartphone browser, logged in, downloaded using the blue button - no qr-code

                I leave "no key selected" as previous

                Now all seems to be ok.
                Thank you very much for your time and you suggestion

                • 5. Re: since two day ago all android apk fail
                  surajpindoria Adobe Employee

                  One issue could be that "com.megster.cordova.bluetoothserial" is no longer available, the plugin has changed ID's to now use "cordova-plugin-bluetooth-serial".