New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX Build Died #179

Closed
gitsomecrabs opened this Issue Mar 30, 2017 · 11 comments

Comments

Projects
None yet
3 participants
@gitsomecrabs

gitsomecrabs commented Mar 30, 2017

OSX 10.11.5 Xcode 7.3.1

[680/919] Building CXX object CMakeFiles/gapir_static.dir/gapir/cc/gles_gfx_api.cpp.o
FAILED: CMakeFiles/gapir_static.dir/gapir/cc/gles_gfx_api.cpp.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DTARGET_OS_OSX -I/macdev/godev/src/github.com/google/gapid/third_party/khronos/SPIRV-Tools/external/spirv-headers/include -I/macdev/godev/src/github.com/google/gapid/third_party/khronos/SPIRV-Tools/include -I/macdev/godev/src/github.com/google/gapid/third_party/khronos/SPIRV-Tools/source -I/macdev/godev/src/github.com/google/gapid/third_party/khronos/glslang/OGLCompilersDLL -I/macdev/godev/src/github.com/google/gapid/core/vulkan/cc/include -I/macdev/godev/src/github.com/google/gapid/core/memory_tracker/cc -I/macdev/godev/src/github.com/google/gapid -Ithird_party/cityhash -I/macdev/godev/src/github.com/google/gapid/third_party/cityhash/src -std=c++0x -O3 -DNDEBUG -fPIC -MD -MT CMakeFiles/gapir_static.dir/gapir/cc/gles_gfx_api.cpp.o -MF CMakeFiles/gapir_static.dir/gapir/cc/gles_gfx_api.cpp.o.d -o CMakeFiles/gapir_static.dir/gapir/cc/gles_gfx_api.cpp.o -c /macdev/godev/src/github.com/google/gapid/gapir/cc/gles_gfx_api.cpp
/macdev/godev/src/github.com/google/gapid/gapir/cc/gles_gfx_api.cpp:7:10: fatal error: 'gapir/cc/gles_gfx_api.h' file not found
#include "gapir/cc/gles_gfx_api.h"
^
1 error generated.
[681/919] Building CXX object CMakeFiles/gapir_static.dir/gapir/cc/context.cpp.o
FAILED: CMakeFiles/gapir_static.dir/gapir/cc/context.cpp.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DTARGET_OS_OSX -I/macdev/godev/src/github.com/google/gapid/third_party/khronos/SPIRV-Tools/external/spirv-headers/include -I/macdev/godev/src/github.com/google/gapid/third_party/khronos/SPIRV-Tools/include -I/macdev/godev/src/github.com/google/gapid/third_party/khronos/SPIRV-Tools/source -I/macdev/godev/src/github.com/google/gapid/third_party/khronos/glslang/OGLCompilersDLL -I/macdev/godev/src/github.com/google/gapid/core/vulkan/cc/include -I/macdev/godev/src/github.com/google/gapid/core/memory_tracker/cc -I/macdev/godev/src/github.com/google/gapid -Ithird_party/cityhash -I/macdev/godev/src/github.com/google/gapid/third_party/cityhash/src -std=c++0x -O3 -DNDEBUG -fPIC -MD -MT CMakeFiles/gapir_static.dir/gapir/cc/context.cpp.o -MF CMakeFiles/gapir_static.dir/gapir/cc/context.cpp.o.d -o CMakeFiles/gapir_static.dir/gapir/cc/context.cpp.o -c /macdev/godev/src/github.com/google/gapid/gapir/cc/context.cpp
/macdev/godev/src/github.com/google/gapid/gapir/cc/context.cpp:18:10: fatal error: 'gapir/cc/gles_gfx_api.h' file not found
#include "gapir/cc/gles_gfx_api.h"
^
1 error generated.
[682/919] Linking Go executable test/test-gapis-resolve
[685/919] Performing cc-memory-tracker step for 'aarch64'
ninja: build stopped: subcommand failed.
Error running /usr/local/bin/ninja [install]: Process returned error
Cause: exit status 1
exit status 1
mds-Mac-mini:gapid md$

@gitsomecrabs

This comment has been minimized.

gitsomecrabs commented Mar 30, 2017

found another gapid/github user that executed: "./do build generate."

So I executed that, then i ran "./do build" again.

It seems to working. More news if more errors.

@gitsomecrabs

This comment has been minimized.

gitsomecrabs commented Mar 30, 2017

More build hiccups. Needed to download Build tools 21.1.2.

[31/40] Gradle: aarch64-gradle-gapid-apk
FAILED: aarch64/gapid-apk/app/build/outputs/apk/app-debug.apk
cd /macdev/gapid/release/aarch64/gapid-apk && /usr/local/Cellar/cmake/3.7.1/bin/cmake -DGRADLE_ENV=/macdev/gapid/release/gradleenv.cmake -DGRADLE_ARGS="-Pfilehash=/macdev/gapid/release/bin/filehash -Pinputs=/macdev/gapid/release/aarch64/gapid-apk/app/src/main/jniLibs/arm64-v8a//libgapir.so,/macdev/gapid/release/aarch64/gapid-apk/app/src/main/jniLibs/arm64-v8a//libgapii.so,/macdev/gapid/release/aarch64/gapid-apk/app/src/main/jniLibs/arm64-v8a//libinterceptor.so,/macdev/gapid/release/aarch64/gapid-apk/app/src/main/jniLibs/arm64-v8a//libdeviceinfo.so,/macdev/gapid/release/aarch64/gapid-apk/app/src/main/jniLibs/arm64-v8a//libVkLayerGraphicsSpy.so,/macdev/gapid/release/aarch64/gapid-apk/app/src/main/jniLibs/arm64-v8a//libVkLayer_VirtualSwapchain.so,/macdev/gapid/release/aarch64/gapid-apk/app/build.gradle,/macdev/gapid/release/aarch64/gapid-apk/app/src/main/java/com/google/android/gapid/DeviceInfoService.java,/macdev/gapid/release/aarch64/gapid-apk/app/src/main/java/com/google/android/gapid/PackageInfoService.java,/macdev/gapid/release/aarch64/gapid-apk/app/src/main/java/com/google/android/gapid/SocketWriter.java,/macdev/gapid/release/aarch64/gapid-apk/app/src/main/res/drawable-xxxhdpi/logo.png,/macdev/gapid/release/aarch64/gapid-apk/build.gradle,/macdev/gapid/release/aarch64/gapid-apk/gradle.properties,/macdev/gapid/release/aarch64/gapid-apk/gradle/wrapper/gradle-wrapper.jar,/macdev/gapid/release/aarch64/gapid-apk/gradle/wrapper/gradle-wrapper.properties,/macdev/gapid/release/aarch64/gapid-apk/gradlew,/macdev/gapid/release/aarch64/gapid-apk/gradlew.bat,/macdev/gapid/release/aarch64/gapid-apk/settings.gradle,/macdev/gapid/release/aarch64/gapid-apk/app/src/main/res/values/strings.xml,/macdev/gapid/release/aarch64/gapid-apk/app/src/main/AndroidManifest.xml" -P /macdev/godev/src/github.com/google/gapid/cmake/Modules/RunGradle.cmake

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ':app'.

failed to find Build Tools revision 21.1.2

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 15.282 secs
CMake Error at /macdev/godev/src/github.com/google/gapid/cmake/Modules/RunGradle.cmake:32 (message):
1

[32/40] Linking Go executable test/test-gapis-gfxapi-gles
ninja: build stopped: subcommand failed.
Error running /usr/local/bin/ninja [install]: Process returned error
Cause: exit status 1
exit status 1

@gitsomecrabs

This comment has been minimized.

gitsomecrabs commented Mar 30, 2017

Seems like I made it thru the build completely.

@ben-clayton

This comment has been minimized.

Member

ben-clayton commented Mar 30, 2017

/macdev/godev/src/github.com/google/gapid/gapir/cc/context.cpp:18:10: fatal error: 'gapir/cc/gles_gfx_api.h' file not found

This is a weird dependency issue that you're the second person to report. We'll investigate further.

More build hiccups. Needed to download Build tools 21.1.2.

This is documented.

Seems like I made it thru the build completely.

Horray!

@Whiteseeker

This comment has been minimized.

Whiteseeker commented Mar 31, 2017

I had all of these issue one by one, but now I have one more:

:app:compileDebugNdk UP-TO-DATE
:app:compileDebugSources
:app:preDexDebug
:app:dexDebug
:app:validateDebugSigning
:app:packageDebug
:app:zipalignDebug
:app:assembleDebug
:app:preReleaseBuild UP-TO-DATE
:app:checkReleaseManifest
:app:prepareReleaseDependencies
:app:compileReleaseAidl
:app:compileReleaseRenderscript
:app:generateReleaseBuildConfig
:app:generateReleaseAssets UP-TO-DATE
:app:mergeReleaseAssets
:app:generateReleaseResValues
:app:generateReleaseResources
:app:mergeReleaseResources
:app:processReleaseManifest
:app:processReleaseResources
:app:generateReleaseSources
:app:processReleaseJavaRes UP-TO-DATE
:app:compileReleaseJavaWithJavacNote: /Users/dmabin/gapid/release/aarch64/gapid-apk/app/src/main/java/com/google/android/gapid/PackageInfoService.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

:app:compileReleaseNdk UP-TO-DATE
:app:compileReleaseSources
:app:preDexRelease
:app:dexRelease
:app:packageRelease
:app:assembleRelease
:app:assemble
:app:compileLint
:app:lint FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:lint'.
> java.lang.NullPointerException (no error message)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 1 mins 39.733 secs

I haven't found yet why the linter is involved and how to fix it :/

@Whiteseeker

This comment has been minimized.

Whiteseeker commented Mar 31, 2017

With the --stacktrace option, it doesn't help mem much:


12:53:25.204 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :app:lint FAILED
12:53:25.204 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :app:lint (Thread[Daemon worker Thread 2,5,main]) completed. Took 0.002 secs.
12:53:25.204 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[Daemon worker Thread 2,5,main]] finished, busy: 0.127 secs, idle: 0.005 secs
12:53:25.205 [ERROR] [org.gradle.BuildExceptionReporter] 
12:53:25.205 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
12:53:25.205 [ERROR] [org.gradle.BuildExceptionReporter] 
12:53:25.206 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
12:53:25.206 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':app:lint'.
12:53:25.206 [ERROR] [org.gradle.BuildExceptionReporter] > java.lang.NullPointerException (no error message)
12:53:25.206 [ERROR] [org.gradle.BuildExceptionReporter] 
12:53:25.207 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
12:53:25.208 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:lint'.
12:53:25.208 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
12:53:25.208 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
12:53:25.208 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
12:53:25.208 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
12:53:25.208 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
12:53:25.208 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:42)
12:53:25.209 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
12:53:25.209 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
12:53:25.209 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
12:53:25.209 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:310)
12:53:25.209 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.executeTask(AbstractTaskPlanExecutor.java:79)
12:53:25.209 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:63)
12:53:25.209 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:51)
12:53:25.209 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:23)
12:53:25.209 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:88)
12:53:25.210 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
12:53:25.210 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
12:53:25.210 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)
12:53:25.210 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:68)
12:53:25.210 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
12:53:25.210 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
12:53:25.210 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:55)
12:53:25.210 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:149)
12:53:25.210 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106)
12:53:25.210 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86)
12:53:25.210 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:90)
12:53:25.211 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
12:53:25.211 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
12:53:25.211 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:41)
12:53:25.211 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
12:53:25.211 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:49)
12:53:25.211 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
12:53:25.211 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
12:53:25.211 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)
12:53:25.211 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
12:53:25.211 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
12:53:25.212 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
12:53:25.212 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
12:53:25.212 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
12:53:25.212 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
12:53:25.212 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
12:53:25.212 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.util.Swapper.swap(Swapper.java:38)
12:53:25.212 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
12:53:25.212 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
12:53:25.212 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.daemon.server.health.DaemonHealthTracker.execute(DaemonHealthTracker.java:47)
12:53:25.213 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
12:53:25.213 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:66)
12:53:25.213 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
12:53:25.213 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
12:53:25.213 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:71)
12:53:25.213 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
12:53:25.213 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
12:53:25.213 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.daemon.server.health.HintGCAfterBuild.execute(HintGCAfterBuild.java:41)
12:53:25.214 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
12:53:25.214 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
12:53:25.214 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:246)
12:53:25.214 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
12:53:25.214 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
12:53:25.215 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.lang.NullPointerException
12:53:25.215 [ERROR] [org.gradle.BuildExceptionReporter] 	at com.android.build.gradle.internal.NdkHandler.resolveCompileSdkVersion(NdkHandler.java:115)
12:53:25.215 [ERROR] [org.gradle.BuildExceptionReporter] 	at com.android.build.gradle.internal.NdkHandler.getCompileSdkVersion(NdkHandler.java:81)
12:53:25.215 [ERROR] [org.gradle.BuildExceptionReporter] 	at com.android.build.gradle.internal.NdkHandler.supports64Bits(NdkHandler.java:306)
12:53:25.215 [ERROR] [org.gradle.BuildExceptionReporter] 	at com.android.build.gradle.internal.NdkHandler.getSupportedAbis(NdkHandler.java:409)
12:53:25.215 [ERROR] [org.gradle.BuildExceptionReporter] 	at com.android.build.gradle.internal.model.ModelBuilder.createNativeToolchainModelMap(ModelBuilder.java:220)
12:53:25.215 [ERROR] [org.gradle.BuildExceptionReporter] 	at com.android.build.gradle.internal.model.ModelBuilder.buildAll(ModelBuilder.java:162)
12:53:25.215 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.tooling.provider.model.ToolingModelBuilder$buildAll.call(Unknown Source)
12:53:25.215 [ERROR] [org.gradle.BuildExceptionReporter] 	at com.android.build.gradle.tasks.Lint.createAndroidProject(Lint.groovy:236)
12:53:25.216 [ERROR] [org.gradle.BuildExceptionReporter] 	at com.android.build.gradle.tasks.Lint.this$5$createAndroidProject(Lint.groovy)
12:53:25.216 [ERROR] [org.gradle.BuildExceptionReporter] 	at com.android.build.gradle.tasks.Lint$this$5$createAndroidProject$3.callCurrent(Unknown Source)
12:53:25.216 [ERROR] [org.gradle.BuildExceptionReporter] 	at com.android.build.gradle.tasks.Lint.lint(Lint.groovy:78)
12:53:25.216 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
12:53:25.216 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:226)
12:53:25.216 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:219)
12:53:25.216 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:208)
12:53:25.216 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:589)
12:53:25.216 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:572)
12:53:25.216 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
12:53:25.217 [ERROR] [org.gradle.BuildExceptionReporter] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
12:53:25.217 [ERROR] [org.gradle.BuildExceptionReporter] 	... 57 more
12:53:25.217 [ERROR] [org.gradle.BuildExceptionReporter] 
12:53:25.217 [LIFECYCLE] [org.gradle.BuildResultLogger] 
12:53:25.217 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
12:53:25.217 [LIFECYCLE] [org.gradle.BuildResultLogger] 
12:53:25.217 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 1.419 secs
12:53:25.218 [DEBUG] [org.gradle.api.internal.tasks.compile.daemon.CompilerDaemonManager] Stopping 0 compiler daemon(s).
12:53:25.218 [INFO] [org.gradle.api.internal.tasks.compile.daemon.CompilerDaemonManager] Stopped 0 compiler daemon(s).
12:53:25.218 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on buildscript class cache for settings file '/Users/dmabin/gapid/release/aarch64/gapid-apk/settings.gradle' (/Users/dmabin/.gradle/caches/2.4/scripts/settings_1tpmhouq4g8w6lha39yxplx5u/SettingsScript/buildscript).
12:53:25.218 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on no_buildscript class cache for settings file '/Users/dmabin/gapid/release/aarch64/gapid-apk/settings.gradle' (/Users/dmabin/.gradle/caches/2.4/scripts/settings_1tpmhouq4g8w6lha39yxplx5u/SettingsScript/no_buildscript).
12:53:25.219 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on buildscript class cache for build file '/Users/dmabin/gapid/release/aarch64/gapid-apk/build.gradle' (/Users/dmabin/.gradle/caches/2.4/scripts/build_1i4u1ctno8z5x3wk71sl6m2hd/ProjectScript/buildscript).
12:53:25.219 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on no_buildscript class cache for build file '/Users/dmabin/gapid/release/aarch64/gapid-apk/build.gradle' (/Users/dmabin/.gradle/caches/2.4/scripts/build_1i4u1ctno8z5x3wk71sl6m2hd/ProjectScript/no_buildscript).
12:53:25.219 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on buildscript class cache for build file '/Users/dmabin/gapid/release/aarch64/gapid-apk/app/build.gradle' (/Users/dmabin/.gradle/caches/2.4/scripts/build_54yej76j98crymmzb834p94t2/ProjectScript/buildscript).
12:53:25.219 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on no_buildscript class cache for build file '/Users/dmabin/gapid/release/aarch64/gapid-apk/app/build.gradle' (/Users/dmabin/.gradle/caches/2.4/scripts/build_54yej76j98crymmzb834p94t2/ProjectScript/no_buildscript).
12:53:25.219 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache Plugin Resolution Cache (/Users/dmabin/.gradle/caches/2.4/plugin-resolution) was closed 0 times.
12:53:25.219 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache module-metadata.bin (/Users/dmabin/.gradle/caches/modules-2/metadata-2.15/module-metadata.bin)
12:53:25.220 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache artifact-at-repository.bin (/Users/dmabin/.gradle/caches/modules-2/metadata-2.15/artifact-at-repository.bin)
12:53:25.220 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on artifact cache (/Users/dmabin/.gradle/caches/modules-2).
12:53:25.220 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache outputFileStates.bin (/Users/dmabin/gapid/release/aarch64/gapid-apk/.gradle/2.4/taskArtifacts/outputFileStates.bin)
12:53:25.220 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on task history cache (/Users/dmabin/gapid/release/aarch64/gapid-apk/.gradle/2.4/taskArtifacts).
12:53:25.221 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.memcache.InMemoryCachedRepositoryFactory] In-memory dependency metadata cache closed. Repos cached: 13, cache instances: 3, modules served from cache: 0, artifacts: 0
12:53:25.221 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 0, disk reads: 4 (avg: 0.0 secs, total: 0.001 secs)
12:53:25.222 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolved configuration cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs, total: 0.0 secs)
12:53:25.222 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.ResolutionResultsStoreFactory] Deleted 2 resolution results binary files in 0.001 secs
12:53:25.222 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has finished executing the build.
12:53:25.249 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientInputForwarder] Dispatching close input message: CloseInput[id=5540fa50-6866-4c24-8b63-279b389bcfc1.2]
12:53:25.249 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 12: dispatching class org.gradle.launcher.daemon.protocol.CloseInput
12:53:25.251 [INFO] [org.gradle.launcher.daemon.client.DaemonClient] Received result CommandFailure[value=org.gradle.launcher.exec.ReportedException: org.gradle.internal.exceptions.LocationAwareException: Execution failed for task ':app:lint'.] from daemon DaemonInfo{pid=91115, address=[45e61147-8372-4cb3-8b1d-fa7a6ec34bb6 port:63322, addresses:[/0:0:0:0:0:0:0:1, /127.0.0.1]], idle=true, context=DefaultDaemonContext[uid=8b331ed3-f680-4106-acd7-6f62c45b52eb,javaHome=/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home,daemonRegistryDir=/Users/dmabin/.gradle/daemon,pid=91115,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]}.
12:53:25.251 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: dispatching class org.gradle.launcher.daemon.protocol.Finished
12:53:25.253 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: connection stop
CMake Error at /Users/dmabin/go/src/github.com/google/gapid/cmake/Modules/RunGradle.cmake:34 (message):
  1

@ben-clayton

This comment has been minimized.

Member

ben-clayton commented Mar 31, 2017

Seems like an internal issue with gradle. There's a bunch of similar reports on SO, like this one.

It seems like it might be worth updating gradle.

Please can you could try changing this line to:

classpath 'com.android.tools.build:gradle:2.2.3'

And this line to:

distributionUrl=https\://services.gradle.org/distributions/gradle-3.4.1-all.zip

If this works for you, I'll build a PR.

@Whiteseeker

This comment has been minimized.

Whiteseeker commented Mar 31, 2017

It might have worked but I have another error, I'm looking into what it could be (but I put it there in case someone have the same one in the futur):

13:47:00.945 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project :app - Registering model element 'tasks.compileDebugJavaWithJavac' (hidden = false)
13:47:00.956 [WARN] [org.gradle.internal.featurelifecycle.LoggingDeprecatedFeatureHandler] The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.
  at org.gradle.api.tasks.compile.JavaCompile.setDependencyCacheDir(JavaCompile.java:245)
  at com.android.build.gradle.tasks.factory.AndroidJavaCompile_Decorated.setDependencyCacheDir(Unknown Source)
  at com.android.build.gradle.tasks.factory.JavaCompileConfigAction.execute(JavaCompileConfigAction.java:131)
  at com.android.build.gradle.tasks.factory.JavaCompileConfigAction.execute(JavaCompileConfigAction.java:39)
  at org.gradle.api.internal.tasks.DefaultTaskContainer.create(DefaultTaskContainer.java:142)
  at com.android.build.gradle.internal.TaskContainerAdaptor.create(TaskContainerAdaptor.java:59)
  at com.android.build.gradle.internal.scope.AndroidTaskRegistry.create(AndroidTaskRegistry.java:47)
  at com.android.build.gradle.internal.scope.AndroidTaskRegistry.create(AndroidTaskRegistry.java:89)
  at com.android.build.gradle.internal.TaskManager.createJavacTask(TaskManager.java:1102)
  at com.android.build.gradle.internal.ApplicationTaskManager$13.call(ApplicationTaskManager.java:248)
  at com.android.build.gradle.internal.ApplicationTaskManager$13.call(ApplicationTaskManager.java:241)
  at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
  at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
  at com.android.build.gradle.internal.ApplicationTaskManager.createTasksForVariantData(ApplicationTaskManager.java:238)
  at com.android.build.gradle.internal.VariantManager.createTasksForVariantData(VariantManager.java:485)
  at com.android.build.gradle.internal.VariantManager$3.call(VariantManager.java:293)
  at com.android.build.gradle.internal.VariantManager$3.call(VariantManager.java:290)
  at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
  at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
  at com.android.build.gradle.internal.profile.SpanRecorders.record(SpanRecorders.java:44)
  at com.android.build.gradle.internal.VariantManager.createAndroidTasks(VariantManager.java:286)
  at com.android.build.gradle.BasePlugin$11.call(BasePlugin.java:688)
  at com.android.build.gradle.BasePlugin$11.call(BasePlugin.java:685)
  at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
  at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
  at com.android.build.gradle.BasePlugin.createAndroidTasks(BasePlugin.java:683)
  at com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:608)
  at com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:605)
  at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
  at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
  at com.android.build.gradle.BasePlugin.lambda$createTasks$1(BasePlugin.java:603)
  at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:93)
  at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:82)
  at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:44)
  at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:79)
  at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:30)
  at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
  at com.sun.proxy.$Proxy15.afterEvaluate(Unknown Source)
  at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:82)
  at org.gradle.configuration.project.LifecycleProjectEvaluator.doConfigure(LifecycleProjectEvaluator.java:76)
  at org.gradle.configuration.project.LifecycleProjectEvaluator.access$000(LifecycleProjectEvaluator.java:33)
  at org.gradle.configuration.project.LifecycleProjectEvaluator$1.execute(LifecycleProjectEvaluator.java:53)
  at org.gradle.configuration.project.LifecycleProjectEvaluator$1.execute(LifecycleProjectEvaluator.java:50)
  at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
  at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)
  at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:61)
  at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:50)
  at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:599)
  at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:125)
  at org.gradle.execution.TaskPathProjectEvaluator.configure(TaskPathProjectEvaluator.java:35)
  at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:62)
  at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:38)
  at org.gradle.initialization.DefaultGradleLauncher$ConfigureBuildAction.execute(DefaultGradleLauncher.java:233)
  at org.gradle.initialization.DefaultGradleLauncher$ConfigureBuildAction.execute(DefaultGradleLauncher.java:230)
  at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
  at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)
  at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:56)
  at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:160)
  at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:119)
  at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:102)
  at org.gradle.launcher.exec.GradleBuildController.run(GradleBuildController.java:71)
  at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
  at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
  at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:41)
  at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
  at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:75)
  at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:49)
  at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:49)
  at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:31)
  at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:67)
  at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
  at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
  at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:47)
  at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
  at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
  at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
  at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
  at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
  at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
  at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
  at org.gradle.util.Swapper.swap(Swapper.java:38)
  at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
  at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
  at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)
  at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
  at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)
  at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
  at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
  at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)
  at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
  at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
  at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
  at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)
  at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
  at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:46)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  at java.lang.Thread.run(Thread.java:745)
13:47:00.962 [INFO] [com.android.build.gradle.tasks.factory.JavaCompileConfigAction] Using incremental javac compilation.
13:47:00.984 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project :app - Registering model element 'tasks.jarDebugClasses' (hidden = false)
13:47:00.990 [DEBUG] [com.android.build.gradle.internal.pipeline.TransformManager] ADDED TRANSFORM(debug):
13:47:00.990 [DEBUG] [com.android.build.gradle.internal.pipeline.TransformManager]  Name: dex
13:47:00.990 [DEBUG] [com.android.build.gradle.internal.pipeline.TransformManager]  Task: transformClassesWithDexForDebug
13:47:00.990 [DEBUG] [com.android.build.gradle.internal.pipeline.TransformManager]  InputStream: OriginalStream{jarFiles=[], folders=[], scopes=[PROJECT_LOCAL_DEPS], contentTypes=[CLASSES], dependencies=[]}
13:47:00.990 [DEBUG] [com.android.build.gradle.internal.pipeline.TransformManager]  InputStream: OriginalStream{jarFiles=[], folders=[], scopes=[EXTERNAL_LIBRARIES], contentTypes=[CLASSES], dependencies=[prepareDebugDependencies, org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationTaskDependency@4ad80cdf]}
13:47:00.991 [DEBUG] [com.android.build.gradle.internal.pipeline.TransformManager]  InputStream: OriginalStream{jarFiles=[], folders=[], scopes=[SUB_PROJECTS], contentTypes=[CLASSES], dependencies=[prepareDebugDependencies, org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationTaskDependency@4ad80cdf]}
13:47:00.991 [DEBUG] [com.android.build.gradle.internal.pipeline.TransformManager]  InputStream: OriginalStream{jarFiles=[], folders=[], scopes=[SUB_PROJECTS_LOCAL_DEPS], contentTypes=[CLASSES], dependencies=[prepareDebugDependencies, org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationTaskDependency@4ad80cdf]}
13:47:00.991 [DEBUG] [com.android.build.gradle.internal.pipeline.TransformManager]  InputStream: OriginalStream{jarFiles=[], folders=[/Users/dmabin/gapid/release/armeabi/gapid-apk/app/build/intermediates/classes/debug], scopes=[PROJECT], contentTypes=[CLASSES], dependencies=[compileDebugJavaWithJavac]}
13:47:00.991 [DEBUG] [com.android.build.gradle.internal.pipeline.TransformManager]  OutputStream: IntermediateStream{rootLocation=/Users/dmabin/gapid/release/armeabi/gapid-apk/app/build/intermediates/transforms/dex/debug, scopes=[PROJECT, PROJECT_LOCAL_DEPS, SUB_PROJECTS, SUB_PROJECTS_LOCAL_DEPS, EXTERNAL_LIBRARIES], contentTypes=[DEX], dependencies=[transformClassesWithDexForDebug]}
13:47:00.992 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project :app - Registering model element 'tasks.transformClassesWithDexForDebug' (hidden = false)
13:47:01.006 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 
13:47:01.007 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
13:47:01.008 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 
13:47:01.008 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
13:47:01.008 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] A problem occurred configuring project ':app'.
13:47:01.008 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > java.lang.NullPointerException (no error message)
13:47:01.008 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 
13:47:01.008 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Exception is:
13:47:01.009 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':app'.
13:47:01.009 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigurationFailure(LifecycleProjectEvaluator.java:94)
13:47:01.010 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:89)
13:47:01.010 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.configuration.project.LifecycleProjectEvaluator.doConfigure(LifecycleProjectEvaluator.java:76)
13:47:01.010 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.configuration.project.LifecycleProjectEvaluator.access$000(LifecycleProjectEvaluator.java:33)
13:47:01.010 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.configuration.project.LifecycleProjectEvaluator$1.execute(LifecycleProjectEvaluator.java:53)
13:47:01.010 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.configuration.project.LifecycleProjectEvaluator$1.execute(LifecycleProjectEvaluator.java:50)
13:47:01.010 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
13:47:01.010 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)
13:47:01.010 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:61)
13:47:01.010 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:50)
13:47:01.010 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:599)
13:47:01.011 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:125)
13:47:01.011 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.execution.TaskPathProjectEvaluator.configure(TaskPathProjectEvaluator.java:35)
13:47:01.011 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:62)
13:47:01.011 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:38)
13:47:01.011 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.initialization.DefaultGradleLauncher$ConfigureBuildAction.execute(DefaultGradleLauncher.java:233)
13:47:01.011 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.initialization.DefaultGradleLauncher$ConfigureBuildAction.execute(DefaultGradleLauncher.java:230)
13:47:01.011 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
13:47:01.011 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)
13:47:01.011 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:56)
13:47:01.011 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:160)
13:47:01.011 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:119)
13:47:01.012 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:102)
13:47:01.012 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.exec.GradleBuildController.run(GradleBuildController.java:71)
13:47:01.012 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
13:47:01.012 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
13:47:01.012 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:41)
13:47:01.012 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
13:47:01.012 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:75)
13:47:01.012 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:49)
13:47:01.012 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:49)
13:47:01.012 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:31)
13:47:01.012 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:67)
13:47:01.012 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
13:47:01.013 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
13:47:01.013 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:47)
13:47:01.013 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
13:47:01.013 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
13:47:01.013 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
13:47:01.013 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
13:47:01.013 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
13:47:01.013 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
13:47:01.013 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
13:47:01.013 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.util.Swapper.swap(Swapper.java:38)
13:47:01.014 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
13:47:01.014 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
13:47:01.014 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)
13:47:01.014 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
13:47:01.015 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)
13:47:01.015 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
13:47:01.015 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
13:47:01.015 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)
13:47:01.015 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
13:47:01.016 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
13:47:01.016 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
13:47:01.016 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)
13:47:01.016 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
13:47:01.016 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:46)
13:47:01.016 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Caused by: java.lang.NullPointerException
13:47:01.016 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.android.build.gradle.internal.ndk.DefaultNdkInfo.findTargetPlatformVersionOrLower(DefaultNdkInfo.java:167)
13:47:01.016 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.android.build.gradle.internal.ndk.DefaultNdkInfo.findLatestPlatformVersion(DefaultNdkInfo.java:89)
13:47:01.016 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.android.build.gradle.internal.ndk.NdkHandler.getPlatformVersion(NdkHandler.java:131)
13:47:01.017 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.android.build.gradle.internal.ndk.NdkHandler.supports64Bits(NdkHandler.java:234)
13:47:01.017 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.android.build.gradle.internal.ndk.NdkHandler.getSupportedAbis(NdkHandler.java:297)
13:47:01.017 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.android.build.gradle.internal.transforms.StripDebugSymbolTransform.<init>(StripDebugSymbolTransform.java:86)
13:47:01.017 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.android.build.gradle.internal.TaskManager.createStripNativeLibraryTask(TaskManager.java:1342)
13:47:01.017 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.android.build.gradle.internal.ApplicationTaskManager.createTasksForVariantData(ApplicationTaskManager.java:289)
13:47:01.017 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.android.build.gradle.internal.VariantManager.createTasksForVariantData(VariantManager.java:485)
13:47:01.017 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.android.build.gradle.internal.VariantManager$3.call(VariantManager.java:293)
13:47:01.017 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.android.build.gradle.internal.VariantManager$3.call(VariantManager.java:290)
13:47:01.018 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
13:47:01.018 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
13:47:01.018 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.android.build.gradle.internal.profile.SpanRecorders.record(SpanRecorders.java:44)
13:47:01.018 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.android.build.gradle.internal.VariantManager.createAndroidTasks(VariantManager.java:286)
13:47:01.018 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.android.build.gradle.BasePlugin$11.call(BasePlugin.java:688)
13:47:01.018 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.android.build.gradle.BasePlugin$11.call(BasePlugin.java:685)
13:47:01.018 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
13:47:01.018 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
13:47:01.018 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.android.build.gradle.BasePlugin.createAndroidTasks(BasePlugin.java:683)
13:47:01.018 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:608)
13:47:01.019 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:605)
13:47:01.019 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
13:47:01.019 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
13:47:01.019 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.android.build.gradle.BasePlugin.lambda$createTasks$1(BasePlugin.java:603)
13:47:01.019 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:93)
13:47:01.019 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:82)
13:47:01.019 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:44)
13:47:01.019 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:79)
13:47:01.019 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:30)
13:47:01.019 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
13:47:01.019 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at com.sun.proxy.$Proxy15.afterEvaluate(Unknown Source)
13:47:01.020 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:82)
13:47:01.020 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   ... 56 more
13:47:01.020 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 
13:47:01.020 [LIFECYCLE] [org.gradle.internal.buildevents.BuildResultLogger] 
13:47:01.020 [LIFECYCLE] [org.gradle.internal.buildevents.BuildResultLogger] BUILD FAILED
13:47:01.020 [LIFECYCLE] [org.gradle.internal.buildevents.BuildResultLogger] 
13:47:01.020 [LIFECYCLE] [org.gradle.internal.buildevents.BuildResultLogger] Total time: 1 mins 10.145 secs
13:47:01.178 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs, total: 0.0 secs)
13:47:01.178 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 0, disk reads: 4 (avg: 0.0 secs, total: 0.0 secs)
13:47:01.178 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.ResolutionResultsStoreFactory] Deleted 2 resolution results binary files in 0.0 secs
13:47:01.178 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache Plugin Resolution Cache (/Users/dmabin/.gradle/caches/3.4.1/plugin-resolution) was closed 0 times.
13:47:01.179 [DEBUG] [org.gradle.process.internal.daemon.WorkerDaemonManager] Stopping 0 worker daemon(s).
13:47:01.179 [INFO] [org.gradle.process.internal.daemon.WorkerDaemonManager] Stopped 0 worker daemon(s).
13:47:01.179 [DEBUG] [org.gradle.deployment.internal.DefaultDeploymentRegistry] Stopping 0 deployment handles
13:47:01.179 [DEBUG] [org.gradle.deployment.internal.DefaultDeploymentRegistry] Stopped deployment handles
13:47:01.179 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache Generated Gradle JARs cache (/Users/dmabin/.gradle/caches/3.4.1/generated-gradle-jars) was closed 0 times.
13:47:01.179 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Releasing file lock for artifact cache (/Users/dmabin/.gradle/caches/modules-2)
13:47:01.180 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on artifact cache (/Users/dmabin/.gradle/caches/modules-2).
13:47:01.180 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache artifact cache (/Users/dmabin/.gradle/caches/modules-2) was closed 147 times.
13:47:01.180 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has finished executing the build.
13:47:01.238 [INFO] [org.gradle.launcher.daemon.client.DaemonClient] Received result Failure[value=org.gradle.initialization.ReportedException: org.gradle.internal.exceptions.LocationAwareException: A problem occurred configuring project ':app'.] from daemon DaemonInfo{pid=95609, address=[ad5fbca1-d005-4f08-8869-d4e39058490a port:64495, addresses:[/0:0:0:0:0:0:0:1, /127.0.0.1]], state=Busy, lastBusy=1490964357364, context=DefaultDaemonContext[uid=23e88adc-cb46-4d1a-8045-ae7dbe1cae9e,javaHome=/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home,daemonRegistryDir=/Users/dmabin/.gradle/daemon,pid=95609,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]} (build should be done).
13:47:01.238 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: dispatching class org.gradle.launcher.daemon.protocol.Finished
13:47:01.239 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: connection stop
CMake Error at /Users/dmabin/go/src/github.com/google/gapid/cmake/Modules/RunGradle.cmake:34 (message):
  1
@ben-clayton

This comment has been minimized.

Member

ben-clayton commented Mar 31, 2017

Humm, I read somewhere that these NullPointerException can be caused by a corrupted gradle cache.
There's a big cache at ~/.gradle. You could try temporarily renaming that to see if it recovers.

@Whiteseeker

This comment has been minimized.

Whiteseeker commented Mar 31, 2017

I did a do clean then rm -rf ~/.gradle and then do build which failed with some error as I already saw in this thread above, then do build generate and do build again and after 30 min of fan going crazy, exact same issue :/
I'm giving up for today (^_^)

@ben-clayton

This comment has been minimized.

Member

ben-clayton commented Apr 10, 2017

Gradle issue was down to incorrect NDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment