Ionic packing error': app:transformDexWithDexForRelease'

after ionic3 installs the barcodeScanner plug-in, package
Execution failed for task": app:transformDexWithDexForRelease".
clipboard.png

:


clipboard.png

npm


clipboard.png

clipboard.png


clipboard.png
text version reports error:

:app:transformDexWithDexForRelease
 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ":app:transformDexWithDexForRelease".
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Landroid/support/v4/app/FragmentTransitionCompat21$1;

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s
38 actionable tasks: 1 executed, 37 up-to-date
(node:10316) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ":app:transformDexWithDexForRelease".
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files def

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s

the environment used is

package.json :
"phonegap-plugin-barcodescanner": "^7.1.2",

ionic: 3.20.0
gradle: 4.2



Mar.10,2021

should be a problem with the android packaging environment

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b34be6-2bf1e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b34be6-2bf1e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?