Rush • A new and improved way of building extensions

Also, from my experience with tess4j, this could build an extension that is "too big" in size for AppInventor to load.

Oo Ok

At 10 MB it doesn't want to load much anymore...:smiley:

Hi @shreyash ,
I am unable to install rush on widows 8.1
At first I tried this url

but it turned out that url did not resolve.
So I used this url:

iwr https://raw.githubusercontent.com/shreyashsaitwal/rush-cli/2.0/scripts/install/install.ps1 -useb | iex

But now I am getting this error:

Invoke-WebRequest: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

I am using Powershell version 7.3.4

@vknow360

Does this affect you ?

If not can you download an install locally ?

Used this one as I am in a little hurry.

Ran into another issue.
There is space in user name so build is not working.

Yes, the problem with the space is known and described above. As for automatic installation, isn't the problem with your ISP that may be blocking access to github? The problem is also described above.

To work around this issue, move the Rush data directory (located at %USERPROFILE%/AppData/Roaming/rush on Windows) to a new location that doesn't contain any whitespace, and then create a new env var named RUSH_DATA_DIR which points to this new location.

How I can update or specify the Kotlin version in Rush for creating extension in Kotlin?

The error message you are getting is telling you that the Kotlin classes that you are trying to use are compiled with an incompatible version of Kotlin. This means that the versions of Kotlin that the classes were compiled with and the version of Kotlin that you are using to run your code are different.


How to fix this error?

the same condition in all my extension project files

It's not Rush's problem, it's the editor in which you write the code. Maybe close the program and reopen it.

3 Likes

Use "Intellij Idea" instead for your IDE, it just works....

2 Likes

Thank you friends for giving suggestions, Now working

Hey,
Sorry for this super late reply. Here's how you can update Rush's Kotlin version:

2 Likes



Java version: /usr/lib/jvm/zulu-8-amd64

Show result from:

Java -version

From what I see, you have 1.8 but JRE, not JDK.

Jeez! Now that I realize it's JRE :no_mouth:

The problem is that the Java directory was not in the Linux PATH

Solution: export PATH=your_java_path/bin/:$PATH

How can I make a visible component? I've seen others use @DesignerComponent and setting nonVisible to false, but @DesignerComonent isn't supported in rush right?