Thanks for prompt reply. The only thing helped me is to remove completely Jenkins and install it via brew install jenkins and make all steps from this tutorial https://mattonrails.wordpress.com/2011/06/08/jenkins-homebrew-mac-daemo/.
Now Android sdk is available, but before that chmod command didn't have any effect. Unfortunately I don't know what was a problem, but now it works! On Wednesday, 4 February 2015 01:02:21 UTC+2, Christopher Orr wrote: > > On 02/03/2015 09:01 PM, Olexandr Matuzenko wrote: > > I installed Jenkins on my os x / localhost:8080 and uploaded > > android-emulator-plugin on it. > > > > But, when I try to set "Android SDK root" in Configure System I'm > > getting Does not appear to be a valid directory (path like > > /Users/mat/Library/Android/sdk) > > Which user is Jenkins running as? Does that user have read and execute > permissions on that directory? > Is the build running on a slave, where that directory does not exist? > > In any case, it's simpler to not bother setting the "Android SDK root", > and allow the plugin to install the SDK for you automatically (if an SDK > is not auto-detected, e.g. from ANDROID_HOME or PATH). > > > > Setting ANDROID_HOME to Environment variables doesn't help either. > > > > So I can't build android studio gradle project, because I'm getting A > > problem occurred configuring project ':app'. > > > >> The SDK directory '/Users/mat/Library/Android/sdk' does not exist. > > Since you're using Gradle, I can also recommend the sdk-manager-plugin, > which automatically installs all required Android dependencies when you > build the project: > https://github.com/JakeWharton/sdk-manager-plugin > > Regards, > Chris > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/649025e1-bdc0-4fe0-b543-41200e9df753%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
