You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/11/12 11:51:12 UTC
[GitHub] [cordova-cli] gdelvecchio opened a new issue #538: Cordova 10 CLI - cordova build release not work
gdelvecchio opened a new issue #538:
URL: https://github.com/apache/cordova-cli/issues/538
# Bug Report
Hi all
I'm using CORDOVA 10.0.0 and when build my app in debug mode, with CORDOVA BUILD command, the build is correct and when i installa the build in the device always works fine.
When i build the release with the CORDOVA BUILD --RELEASE commands the build is successfully but when i try to install in the device android return the error APP NOT INSTALLED.
In my app i have some plugin and after some test the only one plugin generate this problem is cordova-sqlite-evcore-extbuild-free.
But only when i build the release!
In the app-debug.apk i don't have any problem!
### What is expected to happen?
Why the apk is different from debug to release mode?
In debug mode my app works fine with all my plugin.
## Information
Im'using cordova 10.0.0, Gradle 6.7, Android API 29 platform tools.
My config file:
`<?xml version='1.0' encoding='utf-8'?>
<widget android-versionCode="3011" id="com.xxx.xxx" ios-CFBundleShortVersionString="302" ios-CFBundleVersion="3011" version="3.1.7" versionCode="3170" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:gap="http://phonegap.com/ns/1.0">
<name>xxx</name>
<description>xxx</description>
<author email="email@sample.com" href="http://sample.com">xxx</author>
<preference name="permissions" value="none" />
<preference name="prerendered-icon" value="true" />
<preference name="SplashScreen" value="splash" />
<preference name="SplashScreenDelay" value="3000" />
<preference name="AutoHideSplashScreen" value="true" />
<preference name="android-windowSoftInputMode" value="adjustResize" />
<preference name="fullscreen" value="true" />
<preference name="SplashShowOnlyFirstTime" value="false" />
<preference name="FadeSplashScreen" value="false" />
<preference name="ShowSplashScreenSpinner" value="false" />
<preference name="DisallowOverscroll" value="true" />
<preference name="StatusBarOverlaysWebView" value="true" />
<preference name="StatusBarBackgroundColor" value="#000000" />
<preference name="android-minSdkVersion" value="23" />
<preference name="android-targetSdkVersion" value="29" />
<preference name="loadUrlTimeoutValue" value="9000" />
<preference name="AndroidPersistentFileLocation" value="Compatibility" />
<access origin="*" />
<plugin name="cordova-plugin-biometric-keychain" source="npm" />
<plugin name="cordova-plugin-biometric" source="npm" />
<plugin name="cordova-plugin-ios-faceid" source="npm" />
<plugin name="cordova-plugin-network-information" />
<plugin name="cordova-plugin-mcc-camera" source="npm" />
<plugin name="cordova-plugin-device" />
<plugin name="cordova-plugin-file-transfer" />
<plugin name="cordova-plugin-whitelist" />
<plugin name="cordova-android-support-gradle-release" source="npm" />
<plugin name="cordova-plugin-splashscreen" spec="^5.0.2" />
<access origin="*" />
<plugin name="cordova-plugin-ios-longpress-fix" />
<plugin name="cordova-plugin-statusbar" onload="true" />
<plugin name="cordova-plugin-insomnia" source="npm" />
<plugin name="cordova-plugin-ionic-keyboard" onload="true" source="npm" />
<plugin name="cordova-plugin-bluetooth-serial" source="npm" />
<plugin name="cordova-plugin-ble-central" source="npm" />
<plugin name="phonegap-plugin-barcodescanner" source="npm" />
<plugin name="cordova-plugin-fullscreen" source="npm" />
<plugin name="cordova-plugin-app-version" />
<plugin name="cordova-plugin-file-opener2" />
<plugin name="cordova-plugin-dialogs" source="npm" />
<plugin name="cordova-sqlite-evcore-extbuild-free" source="npm" />
<platform name="android">
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
<application android:allowBackup="false" android:usesCleartextTraffic="true" />
</edit-config>
</platform>
<preference name="orientation" value="portrait" />
<icon platform="android" qualifier="ldpi" src="res/PackageIcons.Android.ic_launcher_36_36.png" />
<icon platform="android" qualifier="mdpi" src="res/PackageIcons.Android.ic_launcher_48_48.png" />
<icon platform="android" qualifier="hdpi" src="res/PackageIcons.Android.ic_launcher_72_72.png" />
<icon platform="android" qualifier="xhdpi" src="res/PackageIcons.Android.ic_launcher_96_96.png" />
<icon platform="android" qualifier="xxhdpi" src="res/PackageIcons.Android.ic_launcher_96_96.png" />
<splash platform="android" qualifier="ldpi" src="res/PackageIcons.Android.splash_200_320.png" />
<splash platform="android" qualifier="mdpi" src="res/PackageIcons.Android.splash_320_480.png" />
<splash platform="android" qualifier="hdpi" src="res/PackageIcons.Android.splash_480_800.png" />
<splash platform="android" qualifier="xhdpi" src="res/PackageIcons.Android.splash_720_1280.png" />
<splash platform="android" qualifier="land-ldpi" src="res/PackageIcons.Android.splash_320_200.png" />
<splash platform="android" qualifier="land-mdpi" src="res/PackageIcons.Android.splash_480_320.png" />
<splash platform="android" qualifier="land-hdpi" src="res/PackageIcons.Android.splash_800_480.png" />
<splash platform="android" qualifier="land-xhdpi" src="res/PackageIcons.Android.splash_1280_720.png" />
</widget>`
Any idea?
Please can you help me!
## Checklist
- [X ] I searched for existing GitHub issues
- [ X] I updated all Cordova tooling to most recent version
- [X ] I included all the necessary information above
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org