I am a bit confused. Do I need to make a new folder and make a new cordova app first then install ionic in that folder? I have followed the ionic tutorial and it says that ionic is wrapped with cordova.
I can install ionic and run the server and view the pages etc but i’m having a problem trying to add the android SDK. Its like it is looking for Cordova and cannot find it
Thank you, that helped a lot. Unfortunately I still can not install the Android SDK, so it gave a new error:
‘Error: Failed to find ‘ANDROID_HOME’ environment variable. Try setting setting it manually.
Failed to find ‘android’ command in your ‘PATH’. Try update your ‘PATH’ to include path to valid SDK directory.’
This error I think I understood the reason. I am without the Android SDK. I managed to install the Android Studio IDE but it comes without the Android SDK. I also downloaded the SDK package with the tools sdkmanager and avdmanager, but I still have not found updated information about how to use this to install the Android SDK on Android Studio.
It’s been very painful to be able to generate my first APK, Two days trying and I only find tutorials with deprecated commands or about Windows.