Saturday 25 September 2021

Ionic Cordova platform - android 9.1 sdk build tools ^31.0.0 issue

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:
  1. In the Android SDK Build Tools 31.0.0 folder, create a copy of d8.bat and rename it to dx.bat.
  1. In the lib folder, create a copy of d8.jar and rename it to dx.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

for a longer listing that includes the current version along with other available version numbers

No comments:

Post a Comment