macacajs/UIAutomatorWD

error during installation of app-inspector

paradite opened this issue · 1 comments

uiautomatorwd install failed during app-inspector install

> uiautomatorwd@1.0.61 install /usr/local/lib/node_modules/app-inspector/node_modules/uiautomatorwd
> node ./scripts/build.js

(node:48148) UnhandledPromiseRejectionWarning: ,
Welcome to Gradle 5.2.1!

Here are the highlights of this release:
 - Define sets of dependencies that work together with Java Platform plugin
 - New C++ plugins with dependency management built-in
 - New C++ project types for gradle init
 - Service injection into plugins and project extensions

For more details see https://docs.gradle.org/5.2.1/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)

> Configure project :app
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to /Users/zhuliang/Library/Android/sdk/ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.

Checking the license for package Android SDK Build-Tools 25.0.2 in /Users/zhuliang/Library/Android/sdk/licenses
License for package Android SDK Build-Tools 25.0.2 accepted.
Preparing "Install Android SDK Build-Tools 25.0.2 (revision: 25.0.2)".
"Install Android SDK Build-Tools 25.0.2 (revision: 25.0.2)" ready.
Finishing "Install Android SDK Build-Tools 25.0.2 (revision: 25.0.2)"
Installing Android SDK Build-Tools 25.0.2 in /Users/zhuliang/Library/Android/sdk/build-tools/25.0.2
"Install Android SDK Build-Tools 25.0.2 (revision: 25.0.2)" complete.
"Install Android SDK Build-Tools 25.0.2 (revision: 25.0.2)" finished.
Checking the license for package Android SDK Platform 26 in /Users/zhuliang/Library/Android/sdk/licenses
License for package Android SDK Platform 26 accepted.
Preparing "Install Android SDK Platform 26 (revision: 2)".
"Install Android SDK Platform 26 (revision: 2)" ready.
Finishing "Install Android SDK Platform 26 (revision: 2)"
Installing Android SDK Platform 26 in /Users/zhuliang/Library/Android/sdk/platforms/android-26
"Install Android SDK Platform 26 (revision: 2)" complete.
"Install Android SDK Platform 26 (revision: 2)" finished.

A larger heap for the Gradle daemon is recommended for running jack.

It currently has 512 MB.
For faster builds, increase the maximum heap size for the Gradle daemon to at least 1536 MB.
To do this set org.gradle.jvmargs=-Xmx1536M in the project gradle.properties.
For more information see https://docs.gradle.org/current/userguide/build_environment.html

,
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Failed to notify project evaluation listener.
   > com.android.build.gradle.tasks.factory.AndroidUnitTest.setTestClassesDir(Ljava/io/File;)V

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

* Get more help at https://help.gradle.org

BUILD FAILED in 57s

fixed in #51 #52