I have a VirtualBox that I am using to learn Jenkins on and I am trying to have an Android project built from my github. The build fails and always receives the error:
[android] Could not create Android emulator: Failed to run AVD creation command
apply plugin: 'com.android.application'
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
compile fileTree(dir: 'libs', include: ['*.jar'])
VALID ABIs: no ABIs.
Error: Invalid --abi armebi-v7a for the selected target.
Had to check where the Android SDK for jenkins was.
I was assuming that it was the SDK I had downloaded and stored in my environment variable
ANDROID_HOME. However I used the Android Jenkins Plugin which downloaded and installed its own android sdk tools.
Instead Jenkins was using
Checked this by looking in console output. I ended up recreating my server and using just the plugin.
Another option that worked was that my friend had created an AVD and then provide it to the build.