[Android Software Development] DualJoe:
[MENTION=637263]bovirus[/MENTION]:

No helpful error messages there. Try even more verbose with gradlew applypatches --debug

I've searched all files in working tree for 'updateSubmodules' but there is no such string anywhere. Probably gradle standard term. But you might need to track down the bug somewhere there.

Anyone else had success building on Windows yet?

Edit:

This is my output for gradlew applypatches --info on Linux. Ignore the daemon stuff.

Picked up _JAVA_OPTIONS: -Xmx256m -Xms64m
Connected to daemon DaemonInfo{pid=30359, address=[18f8cf3e-27d2-4741-a317-a26d7fa034e1 port:37539, addresses:[/0:0:0:0:0:0:0:1%1, /127.0.0.1]], idle=true, context=DefaultDaemonContext[uid=e934e2b8-4701-4b8b-87a7-a50370600311,javaHome=/home/user/jdk1.7.0_67,daemonRegistryDir=/home/user/.gradle/daemon,pid=30359,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country,-Duser.language=en,-Duser.variant]}. Dispatching request Build{id=b14fbb1d-797d-4724-b7f3-93b2c2ce8928.1, currentDir=/home/user/Android/apktool}.
The client will now receive all logging from the daemon (pid: 30359). The daemon log file: /home/user/.gradle/daemon/2.3/daemon-30359.out.log
Starting 2nd build in daemon [uptime: 16 mins 34.472 secs, performance: 96%, memory: 60% of 238.6 MB]
Executing build with daemon context: DefaultDaemonContext[uid=e934e2b8-4701-4b8b-87a7-a50370600311,javaHome=/home/user/jdk1.7.0_67,daemonRegistryDir=/home/user/.gradle/daemon,pid=30359,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country,-Duser.language=en,-Duser.variant]
Starting Build
Settings evaluated using settings file '/home/user/Android/apktool/settings.gradle'.
Projects loaded. Root project using build file '/home/user/Android/apktool/build.gradle'.
Included projects: [root project 'apktool', project ':brut.apktool', project ':brut.apktool.smali', project ':brut.j.common', project ':brut.j.dir', project ':brut.j.util', project ':brut.apktool.smali:baksmali', project ':brut.apktool.smali:dexlib2', project ':brut.apktool.smali:smali', project ':brut.apktool.smali:util', project ':brut.apktool:apktool-cli', project ':brut.apktool:apktool-lib', project ':brut.apktool.smali:dexlib2:accessorTestGenerator']
Evaluating root project 'apktool' using build file '/home/user/Android/apktool/build.gradle'.
Building SNAPSHOT (master): 8fee34
Evaluating project ':brut.apktool' using empty build file.
Evaluating project ':brut.apktool.smali' using build file '/home/user/Android/apktool/brut.apktool.smali/build.gradle'.
Evaluating project ':brut.j.common' using build file '/home/user/Android/apktool/brut.j.common/build.gradle'.
Evaluating project ':brut.j.dir' using build file '/home/user/Android/apktool/brut.j.dir/build.gradle'.
Evaluating project ':brut.j.util' using build file '/home/user/Android/apktool/brut.j.util/build.gradle'.
Evaluating project ':brut.apktool.smali:baksmali' using build file '/home/user/Android/apktool/brut.apktool.smali/baksmali/build.gradle'.
Evaluating project ':brut.apktool.smali:dexlib2' using build file '/home/user/Android/apktool/brut.apktool.smali/dexlib2/build.gradle'.
Evaluating project ':brut.apktool.smali:smali' using build file '/home/user/Android/apktool/brut.apktool.smali/smali/build.gradle'.
Evaluating project ':brut.apktool.smali:util' using build file '/home/user/Android/apktool/brut.apktool.smali/util/build.gradle'.
Evaluating project ':brut.apktool:apktool-cli' using build file '/home/user/Android/apktool/brut.apktool/apktool-cli/build.gradle'.
Evaluating project ':brut.apktool:apktool-lib' using build file '/home/user/Android/apktool/brut.apktool/apktool-lib/build.gradle'.
Evaluating project ':brut.apktool.smali:dexlib2:accessorTestGenerator' using build file '/home/user/Android/apktool/brut.apktool.smali/dexlib2/accessorTestGenerator/build.gradle'.
All projects evaluated.
Selected primary task 'applyPatches' from project :
Tasks to be executed: [task ':updateSubmodules', task ':applyPatches']
:updateSubmodules (Thread[Daemon worker Thread 2,5,main]) started.
:updateSubmodules
In-memory cache of /home/user/Android/apktool/.gradle/2.3/taskArtifacts/fileHashes.bin: Size{7826}, CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=0}
In-memory cache of /home/user/Android/apktool/.gradle/2.3/taskArtifacts/outputFileStates.bin: Size{2}, CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=0}
In-memory cache of /home/user/Android/apktool/.gradle/2.3/taskArtifacts/fileSnapshots.bin: Size{2}, CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=0}
In-memory cache of /home/user/Android/apktool/.gradle/2.3/taskArtifacts/taskArtifacts.bin: Size{1}, CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=0}
Executing task ':updateSubmodules' (up-to-date check took 0.001 secs) due to:
Task has not declared any outputs.
:updateSubmodules UP-TO-DATE
:updateSubmodules (Thread[Daemon worker Thread 2,5,main]) completed. Took 0.084 secs.
:applyPatches (Thread[Daemon worker Thread 2,5,main]) started.
:applyPatches
Invalidating in-memory cache of /home/user/Android/apktool/.gradle/2.3/taskArtifacts/fileHashes.bin
Invalidating in-memory cache of /home/user/Android/apktool/.gradle/2.3/taskArtifacts/taskArtifacts.bin
Invalidating in-memory cache of /home/user/Android/apktool/.gradle/2.3/taskArtifacts/fileSnapshots.bin
Invalidating in-memory cache of /home/user/Android/apktool/.gradle/2.3/taskArtifacts/outputFileStates.bin
Executing task ':applyPatches' (up-to-date check took 0.079 secs) due to:
Task.upToDateWhen is false.
Resetting /home/user/Android/apktool/brut.apktool.smali...
Reset branch 'master'
HEAD is now at 398630d Infer the register type based on the result of an instance-of instruction
Applying patches from /home/user/Android/apktool/gradle/smali-patches to /home/user/Android/apktool/brut.apktool.smali
Applying: baksmali: added DIFFPRE reg info
Applying: dexlib2: added "dontLoadClassPath"
Applying: baksmali: add apktool build.gradle changes
Applying: base: add apktool build.gradle changes
Applying: dexlib2: add apktool build.gradle changes
Applying: smali: add apktool build.gradle changes
Applying: util: add apktool build.gradle changes
Successfully applied patches from /home/user/Android/apktool/gradle/smali-patches to /home/user/Android/apktool/brut.apktool.smali
:applyPatches (Thread[Daemon worker Thread 2,5,main]) completed. Took 3.881 secs.

BUILD SUCCESSFUL

Total time: 7.151 secs
Stopped 0 compiler daemon(s).
Received result DaemonCommandResult[type=Success, value=null] from daemon DaemonInfo{pid=30359, address=[18f8cf3e-27d2-4741-a317-a26d7fa034e1 port:37539, addresses:[/0:0:0:0:0:0:0:1%1, /127.0.0.1]], idle=true, context=DefaultDaemonContext[uid=e934e2b8-4701-4b8b-87a7-a50370600311,javaHome=/home/user/jdk1.7.0_67,daemonRegistryDir=/home/user/.gradle/daemon,pid=30359,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country,-Duser.language=en,-Duser.variant]}.