Rush • A new and improved way of building extensions

If I want to use library in my project then how to do?

@AshishThakur

Status update – I’ve officially restarted working on Rush. The next release will ship with a bunch of new exciting features like automatic dependency resolution and support for multi-component extensions among others.

There’s no concrete ETA because it’s been months since I last touched the codebase, but I hope to get this release ready for beta testing by the end of this month. Stay tuned!

15 Likes

I am waiting for new update​:hugs:

1 Like

Feature request - Please add helper block feature using @Options and @OptionList annotations

3 Likes

@Shreyash what needs to be done to add these, see also

Taifun

1 Like

Thats pretty cool. I would recommend using mason for generating project template. This way you would be able to separate template logic.

1 Like

Rush does not support the helper blocks as of now. I haven’t started working on it yet since there’s already a lot on my plate, but they will be available as a part of the next release. If someone’s willing to contribute I’d really appreciate that. :pray:

3 Likes

Hello @Taifun
Like i told before rush doesn’t support that , there are problem to import this :point_down:

import com.google.appinventor.components.common.OptionList;
import com.google.appinventor.components.common.Default;

We appreciate your effort, keep it up :heart:

3 Likes

Hi, I am new to extension creation.
I am facing a problem when I try to build it.
Here the error
image

Here Other things
image

image

image

NOTE: I’m using VS code.
Please help me to solve it
Thank you :heart:

You have whitespace in your PC’s default username (IT SPACE) and Rush doesn’t quite get along with spaces in file paths. However, you can fix this yourself, read the below post:

This isn’t related to your issue but I’d suggest you use IntelliJ IDEA. VS Code fails to index extension libraries in Rush projects, bombarding you with all sorts of false errors. I want to fix this in a future update, but for now, it’s best to use IntelliJ (or Android Studio).

After following this guide I have another issue.

I already have android studio but I don’t know how to use rush on it.

You have JDK 18 on your PATH. Remove it, install JDK 8, and change JDK_HOME env var.

2 Likes

Can you please share the download url.

Currently

image

** Still have the same problem :pensive:**
image

Make sure that you have restarted the terminal. If it still shows the same error, try building with the -r flag, this will invalidate the caches and build the extension afresh.

2 Likes