DEV Community

Discussion on: How to convert an Angular Web App into an Ionic App

Collapse
 
aslamsk profile image
Aslam sk

i am getting this error

[ERROR] Error while getting native targets for android: No valid Android SDK root found.

    This error occurred while using native-run. You can try running this command with --no-native-run, which will
    revert to using Cordova.
Enter fullscreen mode Exit fullscreen mode
Collapse
 
a_shokn profile image
Ashok Naik

As the error message itself says "No valid Android SDK root found" can you check your environment variables and setup of the android SDK