Cordova not building but saying it has
Closed this issue · 1 comments
Bug Report
Problem
When building an APK the output says "Built the following apk(s):" but no changes are made and when checking the file the date hasn't been modified from the previous built.
What is expected to happen?
That a new version is compiled to a new APK
What does actually happen?
No changes are reflected since Cordova didn't compiled anything but it's saying on the console it has.
Information
I have deleted the platforms and plugins directory, I have run cordova prepare
and only the first build is actually built. No message error is being shown, and it's so confusing that Cordova is saying it has built something when it hasn't.
Command or Code
cordova build android
cordova emulate android
Environment, Platform, Device
Linux Mint 20.2 Cinnamon
Version information
- Cordova CLI: 11.0.0
- Android: 10.1.1
- Browser: 6.0.0
- cordova-android-toast: 1.0.0
- cordova-browser: 6.0.0
- cordova-clipboard: 1.3.0
- cordova-plugin-browsersync-gen2: 1.1.7
- cordova-plugin-file: 6.0.2
- cordova-plugin-inappbrowser: 4.1.0
- cordova-plugin-splashscreen": 6.0.0
Checklist
- I searched for existing GitHub issues
- I updated all Cordova tooling to most recent version
- I included all the necessary information above
After deleting many times plugins, platforms, node_modules and updating my android tools and emulator it worked. Very cryptic, can't now for certain what was causing the problem nor how was it fixed :/