Skip to content Skip to sidebar Skip to footer

Robolectric "warning: Unable To Find Path To Android Sdk"

I am using Robolectric without using maven to build, meaning I am using the Robolectric-with-dependencies Jar. I set it up based on instructions on Robolectric's site, yet I am s

Solution 1:

make sure to set the ANDROID_HOME environment variable to point to your Android SDK installation, e.g.:

export ANDROID_HOME=/usr/local/Cellar/android-sdk/r15

Solution 2:

Stefan is correct.

More information can be found in my chapter about Android development with Maven as well as the plugin wiki and documentation for the sdk configuration. I would also recommend to use the latest version of the android maven plugin as well as the Android SDK..

Post a Comment for "Robolectric "warning: Unable To Find Path To Android Sdk""