So I’m trying to run ionic 4 on my device. Followed eveything in the installation guide in the website and going through the running on android tab. This is what I get.
But i already installed android studio. Here is my installed sdk. Im trying to run it on an android 9 device.
And here is my /etc/environment:
Am I missing something?
Found the solution to my question
IDK if some of you people have the same problem, but it’s because of the Gradle. I installed it the way the website said, tried both automatically with SDKmanager and also the manual downloads. Still didnt worked for me. So I installed it using:
sudo add-apt-repository ppa:cwchien/gradle
sudo apt-get update
sudo apt-get install gradle
Then find location where it was installed via ‘whereis gradle’ then add to path. Now I can install the app on my device