AOSP render script compile error
<p>I'm trying to build AOSP from source code which is based on Android 6.0.1 for Nexus5 hammerhead. Therefore, the lunch combo is <strong>aosp_hammerheader-userdebug</strong></p>

<p>I followed the instruction from AOSP <a href="https://source.android.com/source/requirements.html" rel="nofollow">page</a> and prepared the virtual machine on <strong>Ubuntu 14.04</strong>.  After 1 days download, I got the while source code. I just change the jvm heap size with -Xmx2048M. Then I try to compile, the process is ongoing.</p>

<p>After about 1 hour later, I got the compile error with /frameworks/support/v8/renderscript. A lot of error message like following.</p>

<pre><code>ERROR: /home/vadmin/android/AOSP/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/FieldPacker.java:187: android.util cannot be resolved
ERROR: /home/vadmin/android/AOSP/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/FieldPacker.java:188: IllegalArgumentException cannot be resolved to a type
ERROR: /home/vadmin/android/AOSP/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/FieldPacker.java:195: android.util cannot be resolved
ERROR: /home/vadmin/android/AOSP/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/FieldPacker.java:196: IllegalArgumentException cannot be resolved to a type
ERROR: /home/vadmin/android/AOSP/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/RenderScript.java:19: The import java.io cannot be resolved
ERROR: /home/vadmin/android/AOSP/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/RenderScript.java:20: The import java.lang cannot be resolved
</code></pre>

<p>It seems missing the very basic library in source. I try to ignore this project, but this renderscript library is the dependency for Gallery2 project. I want this application on my rom.</p>

<p>Also I check the /frameworks/support folder, there is a Gradle project structure, then I use <code>./gradlew build</code> to compile the /frameworks/support project, it works and show compile successful. After that, I will normal way <code>make -j4</code> to compile again, it fail again.  </p>

<p>Any help or tips for resolve this will be very helpful. Thanks.</p>

<hr>

<p><strong><em>Update at Mar 15</em></strong></p>

<p>Follow the comment from @StephenHines. This issue was solved. Maybe I synced in the middle of a multi-project commit. Thanks to StephenHines</p>