Such abrupt failure of the build usually happens when Rush fails to invoke the Java compiler (javac). There could be many reasons behind this, but the two I can currently think of are:
You don’t have JDK (Java Development Kit) installed, or
javac is not on the system path variable; quite unusual, but may happen.
Can both of you try running javac in the terminal? If you get an error saying command/program not found, you might need to install JDK 8, or add javac to your system’s path variable.
PS: @72erdelyi, you seem to have JDK installed on your computer. It might be that javac is not your system’s path var.
This is the complier error (when i try to compile the application and download APK): ERROR: io/kodular/markocurlinoski_uie/ExtensionTester/Screen1.yail line 28: caught exception in inliner for # - java.lang.RuntimeException: no such class: io.mchurlinoski.jsonpathext.JsonPathExt
And the error I’m getting from the UI, when i try to run the application on companion is:
My bad. At first I deleted all default code and replaced it with wrong one (wrong class and pacakge name) and i tried to fix it manually and i failed. The extension is working as expected now.
BTW: This is great, i’ve been looking for this kind of tool all day and i finally found a good one.
NICE JOB!!!
@Shreyash I am starting to use Rush. Will you please tell me how to set environment variables for this.
I have set JAVA_HOME with value C:\Program Files\Java\jdk1.8.0_301 in System Variables. Now what I have to set in PATH Variable and what will be the Value.
By the way thanx for this great Tutorial