yusuf3000
05/31/2018, 1:34 PMxcodebuild
from command line, and i have a shell script in my project that runs gradlew : "$SRCROOT/../../../gradlew"
. If i build from xcode, it works completely fine, but if i do it from command line then the operation hangs on this line indefinitely. Does anyone know why this would be happening?olonho
05/31/2018, 1:57 PMjps -v
command)?yusuf3000
05/31/2018, 2:05 PM832 -Xms256m -Xmx1280m -XX:ReservedCodeCacheSize=240m -XX:+UseCompressedOops -Dfile.encoding=UTF-8 -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Djna.nosys=true -Djna.boot.library.path= -da -Xverify:none -XX:ErrorFile=/Users/yusuf/java_error_in_studio_%p.log -XX:HeapDumpPath=/Users/yusuf/java_error_in_studio.hprof -Xbootclasspath/a:../lib/boot.jar -Djb.vmOptionsFile=/Applications/Android Studio.app/Contents/bin/studio.vmoptions -Didea.java.redist=Bundled -Didea.home.path=/Applications/Android Studio.app/Contents -Didea.executable=studio -Didea.platform.prefix=AndroidStudio -Didea.paths.selector=AndroidStudio3.1
33505 KotlinCompileDaemon -Djava.awt.headless=true -Djava.rmi.server.hostname=127.0.0.1 -Xmx1024m -Dkotlin.environment.keepalive
37347 Jps -Dapplication.home=/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home -Xms8m
22036 GradleDaemon -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant
olonho
05/31/2018, 2:06 PMyusuf3000
05/31/2018, 2:08 PMgradle --stop
then it says no gradle daemons are runningolonho
05/31/2018, 4:11 PMjames
05/31/2018, 6:56 PMyusuf3000
06/03/2018, 7:47 AMolonho
06/03/2018, 7:58 AM-i
option to gradlew command in the projectyusuf3000
06/03/2018, 8:08 AMInitialized native services in: /Users/yusuf/.gradle/native
and then hangsolonho
06/03/2018, 8:21 AMyusuf3000
06/03/2018, 8:43 AMSuccessfully started process 'Gradle build daemon'
An attempt to start the daemon took 0.744 secs.
./gradlew build
from terminal, then it doesn’t hang. But I can’t see why xcode running the same command hangsolonho
06/03/2018, 11:36 AMyusuf3000
06/03/2018, 11:39 AMolonho
06/03/2018, 7:33 PM--no-daemon
flag to gradlew
in the project file seems to fix the problemyusuf3000
06/04/2018, 9:02 AM