I´m facing a weired error when I try to execute my gradle script from PHP, which works fine when I execute it directly from the shell.
The project folder has permissions 777 recursively and the www-data user is in the group of root user
:app:preBuild FAILED
BUILD FAILED
And this is the output from running with --debug
(Sadly SO think it is source code and won´t let me post it here as a quote)
All solutions I´ve found are saying that the gradle version in the build script may be wrong, but as I said, it works perfectly when I start it directly from the shell.
Does anyone have suggestions how to solve it?
sto get a stacktrace / error message - Rene Groeschke