hello all .
I deleted the Android platform and then added it again, the problem is that it corrupted me the latest version “@capacitor/android”: “4.0.0”, of the capacitor and it led to many problems, is there any way downgrad to the capacitor “@capacitor/android”: “3.6.0”,or add “@capacitor/android”: “3.6.0” directly
note : this command will npm i -E @capacitor/android@latest run automaicly after add android
It does appear Capacitor v4 was released this week though I haven’t seen an official announcement yet
You should be able to put this in your package.json
and run npm update
:
"@capacitor/android": "^3.6.0"
Or run npm install @capacitor/android@3.6.0
.
thank you for replying …
I searched and found I was wrong I was using this
“Ionic cap add android”
So this should be used instead
“npx cap add android”
that it all