Can't distinguish between aab signed and unsigned
See original GitHub issueBug Report
Problem
When failing to sign an aab file the file name is app-release.aab
What is expected to happen?
When signing fails or has incorrect parameters I expect the filename to be app-release-unsigned.aab
much like what happens with the apk file.
What does actually happen?
When singing fails or has incorrect parameters the file name does not change and remains the same for when signing is successful
Information
I’m using my repository to migrate from apk to aab, and when I tested this locally I get the following output:
npx cordova build android --release -- --keystore=my.jks --storePassword=mykspass --password=mypass --packageType=bundle
Removing unneeded permissions: RECORD_AUDIO, MODIFY_AUDIO_SETTINGS, RECEIVE_BOOT_COMPLETED, READ_PHONE_STATE
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=undefined (recommended setting)
ANDROID_HOME=/Users/harel/Library/Android/sdk/ (DEPRECATED)
Using Android SDK: /Users/harel/Library/Android/sdk
'keystore' and 'alias' need to be specified to generate a signed archive. // this is the important warning saying I did something wrong...
Subproject Path: CordovaLib
Subproject Path: app
Starting a Gradle Daemon (subsequent builds will be faster)
> Configure project :CordovaLib
[Cordova] cdvMinSdkVersion is overridden, try it at your own risk.
> Task :app:stripReleaseDebugSymbols
WARNING: Compatible side by side NDK version was not found. Default is 21.0.6113669.
Compatible side by side NDK version was not found. Default is 21.0.6113669.
Unable to strip the following libraries, packaging them as they are: libsqlc-native-driver.so.
> Task :app:compileReleaseJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.5/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 36s
45 actionable tasks: 45 executed
Built the following bundle(s):
.../platforms/android/app/build/outputs/bundle/release/app-release.aab
Command or Code
See above
Environment, Platform, Device
MacOs but I don’t think it’s OS specific…
Version information
Checklist
- I searched for existing GitHub issues
- I updated all Cordova tooling to most recent version
- I included all the necessary information above
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Signed versus Unsigned Integers - Stack Overflow
Unsigned uses the leading bit as a part of the value, while the signed version uses the left-most-bit to identify if the number...
Read more >What's the difference between a signed and an unsigned ...
The easy part is that signed integers can be positive or negative, while unsigned integers can't be negative; they are always zero or...
Read more >Android App Bundle frequently asked questions
What is the Android App Bundle (AAB)?; What's the difference between AABs ... App bundles are only for publishing and cannot be installed...
Read more >A tutorial on signed and unsigned integers « Stack Overflow
Actually in many cases you can dispense with the cast. However many compilers will complain, and Lint will most certainly complain. I recommend ......
Read more >Why doesn't work (unsigned int) for the difference of two ...
A computation involving unsigned operands can never overflow, because a result that cannot be represented by the resulting unsigned integer ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@HarelM you might want to make that request with Google. Our code is not customizing the default file name.
APK, for example, is outputed like how you are describing, by default, and is not something we are doing.
Yah I thought that was the case, just wasn’t 100% sure and didn’t had the time to double check. I’ll close this issue.