Rush • A new and improved way of building extensions

You could use upto v4.0.63 with the JDK 8.

1 Like

Yes, I have my newer version of d8 from another source. In appInventor d8 is with java 11. By the way, I wonder if installing jdk11 will work...

And that would be?

Yes, I confirm. We place d8.jar for java 11 version, install java11 and we can compile extensions in java11 environment. We only do not have methods from java11 because they are not in android.jar library.

1 Like

Is it possible to use androidx:room with rush for using sqlite-database? So far I have included room-runtime-2.6.1.jar into deps directory, but I have difficulties with the annotation processor androidx.room:room-compiler:2.6.1.

i have developed extension using rush. but the error is while building the app. this error shows.

App Inventor is unable to compile this project.
The compiler error output was
[ReadBuildInfo] Starting Task
[ReadBuildInfo] Task errored

why this error? pls tell how to solve

How does one uninstall rush?

1 Like

Deleting these directories should remove Rush from your system:

  • Windows:
    1. %userhome%\.rush
    2. %appdata%\rush
  • Linux:
    1. ~/.rush
    2. ~/rush
  • MacOS:
    1. ~/.rush
    2. ~/Library/Application Support/rush
1 Like

Alright Thanks a lot!! :sparkling_heart:

1 Like

@shreyash give error

What is your RUSH version?

rush -v

image

This is the latest version (although it is actually 1.2.5)

-v 1.2.4

image

You could try:

then

Using PowerShell (Windows only)

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

to be on the safe side, no spaces in your install filepath...e.g. Arun Gupta > ArunGupta

Library doesn't seem to load. is this the correct way to do it?

# Extension dependencies (JAR).
deps:   
  - json-20250107.jar

Have you uploaded the jar file to the deps folder ?

e.g.

image
(in IntelliJ Idea)

in the yml file, deps should not be indented at all, your jar file should have two spaces before the hyphen and one after (before the filename)

image

An alternative approach you can try, if you want to avoid bloat, is to copy your jar file to your RUSH dev-deps directory, then import in the usual way

Yes, did. It's in the folder. If I comment it out in the yml file I get the same error. That makes me think it's not loading. I'm on Ubuntu I don't know if makes any difference

I'll try that

Why the additional account here ?

I used Google account and selected the wrong email above. That's why it says first time

I was only just testing this, doesn't seem to work, get error in app about FailedResolution. YMMV...

Maybe a reboot might fix it ?

Just tried in deps folder, and that also generates the same error so could be something I am doing wrong elsewhere. edit, sorted that with a restart.