Michał Nowacki

Error while building mobile application

Discussion created by Michał Nowacki on Mar 17, 2017
Latest reply on Mar 20, 2017 by Michał Nowacki



I have some problem when I try to building application. I run command:

./sdk build --platform android

The error:

FAILURE: Build failed with an exception.


* Where:
Script '/home/nowackim/apps/michal/native/platforms/android/cordova-plugin-cross walk-webview/crm-xwalk.gradle' line: 55


* What went wrong:
A problem occurred evaluating script.

>Cannot invoke method toBoolean() on null object

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Error: /home/nowackim/apps/michal/native/platforms/android/gradlew: Command fail ed with exit code 1

Do you know about it? The problem appears on linux (mobile v5.0). However, we were able to build app on Mobile v4.1.

Could you help us?