Can't run ionic app in android

ionic platform add android

Updated the hooks directory to have execute permissions
Adding android project…
Creating Cordova project for the Android platform:
Path: platforms\android
Package: com.ionicframework.starter
Name: HelloCordova
Activity: MainActivity
Android target: android-23
Android project created with cordova-android@5.2.2
Error: Source path does not exist: resources/android/icon/drawable-hdpi-icon.png

The last error prevents me from running or building my ionic app to android and here is my ionic info

ionic info

Your system information:

Cordova CLI: 6.3.1
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic Framework Version: 1.2.4-nightly-1917
Ionic CLI Version: 1.7.16
Ionic App Lib Version: 0.7.3
Node Version: v4.4.3

Do you have a resources directory in your project? The error is referring to an issue with the drawable-hdpi-icon.png not being available.

You might want to either delete the reference in the config.xml file, or add an icon.

There is a CLI command ionic resources that will generate icons and splash screens for you.


Also you can try readd android platform, maybe it’s permissions problems.

ionic platform remove android
ionic platform add android