C:\Users\$user\AppData\Local\Android\Sdk\build-tools\31.0.0
 
This is happened because dx files are missing from Android SDK Build Tools 31.0.0 and replaced with d8 files. Try to modify Android SDK Build Tools 31.0.0 by:- In the Android SDK Build Tools 31.0.0 folder, create a copy of d8.batand rename it todx.bat.
- In the lib folder, create a copy of d8.jarand rename it todx.jar.
Additional Check ionic cordova version
Method 1
Method 2 :
cordova -v
to see the currently running version. Run the npm info command
npm info cordova
d8.bat and rename it to dx.bat.d8.jar and rename it to dx.jar.Method 2 :cordova -v
to see the currently running version. Run the npm info command
npm info cordova
No comments:
Post a Comment