Add android platform

I want to update to Android 9.0.0. I have already uninstalled the Android platform (framework7 cordova platform remove android). My problem: When I want to reinstall Android (framework7 cordova platform add [email protected]) it does not work. Error:
Me-Compi:Kal Me$ framework7 cordova platform add [email protected]
Adding helloworld project…
Unable to load PlatformApi from platform. Error: Cannot find module ‘/Users/Me/Documents/Cordova/Kal/cordova/node_modules/helloworld/index.js’. Please verify that the package.json has a valid “main” entry

Unhandled error. (‘The platform “helloworld” does not appear to be a valid cordova platform. It is missing API.js. helloworld not supported.’)

Could anyone help me with this please? Thanks!


I also remove & added android platform cordova platform add [email protected]
I encounter=> execution failed for task :app:processDebugManifest
solution to you maybe by in config.xml
<preference name="android-minSdkVersion" value="21" />

set value to 22

All the best :+1:

It did not work. I had to create a new app. But thanks anyway.