androidcordovafedora-23

Properly installing Android SDK for cordova on Fedora23


Hi Guys I have been having trouble on setting up my android sdk on my Fedora23 OS this is for a Cordova development. I have checked my Environment Variables on my terminal using echo $ANDROID_HOME and verifying whats installed correctly using cordova requirements command and this is the result it gave me

Requirements check results for android:
Java JDK: installed .
Android SDK: installed 
Android target: not installed 
Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable.
Gradle: installed 

Requirements check results for ios:
Apple OS X: not installed 
Cordova tooling for iOS requires Apple OS X
Error: Some of requirements check failed

How come that the Android Target was not installed while Gradle was installed? and also how come whenever I tried to use android commands its not working

have I did something incorrect? this is how I setup my android sdk

its been two days now and I still dont have it running someone help please

UPDATE inside my bashrc are the ff:

ANDROID_HOME=/opt/android-sdk-linux/
export PATH="$HOME/opt/android-sdk-linux/android-sdk/tools:$PATH"
export PATH="$HOME/opt/android-sdk-linux/platform-tools:$PATH"
export ANDROID_HOME

Solution

  • I think your bashrc should be

    ANDROID_HOME=/opt/android-sdk-linux/
    export PATH="/opt/android-sdk-linux/android-sdk/tools:$PATH"
    export PATH="/opt/android-sdk-linux/platform-tools:$PATH"
    export ANDROID_HOME