When I tried to run Android in Ionic using : ‘ionic run android’ it gives in my Mac mini:
ERROR running one or more of the platforms: Error: /Users/hardik.ganjwala/HardikG_Workspace/Ionic_Demos/Ionic_samples/MusicPlayerDemos/ngNativeAudio/ngNativeAudioDemo/platforms/android/cordova/run: Command failed with exit code 1
You may not have the required environment or OS to run this project
I have already installed Ant, Android SDK according to the suggestion i find in forums
Yes i have tried 2-3 times for removing and adding the platform
For Android it’s not even building
Also i have tried both in emulator and Device
It show device list in ADB
Additional info i found during testing
When i run/build it with ant it’s working but normal it’s not working
for ex ionic run android -- --ant is working,
but ionic run android will give error
PS: code is working fine for iOS in simulator and device both