Problem build simple project new user

Hi I have new in Cordova and iconic. For the first step i try to create project with cordova and build the project. So this is my situation: I have download the sdk and the ndk and in ~/.bashrc I insert

export ANDROID_HOME="/media/alessio/Windows/home/android-sdk-linux"
export ANDROID_SDK="/media/alessio/Windows/home/android-sdk-linux"
export ANDROID_NDK="/media/alessio/Windows/home/android-ndk"

(Note i save on windows partition because on ubuntu i don’t have space). So if I go under android-sdk/tools and launch android sdk open the sdk manager and after i installed all package. So i create a new cordova project add platform android and make cordova build android but i have this error

You may not have the required environment or OS to build this project
Error: Error code 1 for command: /home/alessio/Documenti/hello/platforms/android/gradlew with
args: cdvBuildDebug,-b,/home/alessio/Documenti/hello/platforms/android/build.gradle,-Dorg.gradle.daemon=true,-Pandroid.useDeprecatedNdk=true

Resolved. I use the cordova command with stacktrace and i see that there is a problem with build tools and after I have resolved the problem