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".
I'm using PhoneGap Build.
OS: Android 4.4.2
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.
1 person found this helpful
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?
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:
<preference name="phonegap-version" value="cli-5.2.0" />
Paolo Versione 336
<!--<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
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".