Rush • A new and improved way of building extensions

Yes @Juan_Antonio...
I too saw the same issue in CMD Shell And Git Bash

But the issue also comes in the dirs which don't have a space in them @shreyash

1 Like

The Java and Kotlin selection works for me with Git Bash.

3 Likes

Great, but it didn't work well for me :sweat_smile:

1 Like

Great tutorial, thanks! I've added a link to it in Rush's GitHub README.md.

Others have reported this issue earlier, but I haven't got much time to work on Rush recently. I will see if I can put together a small bugfix release later next week. For the time being, consider using other terminal emulators like Git Bash.

8 Likes

C:\Users\Aquib\test>rush build
                      __
     _______  _______/ /_
    / ___/ / / / ___/ __ \
   / /  / /_/ (__  / / / /
  /_/   \__,_/____/_/ /_/

• Build initialized

┌ Checking project files
│ info Checking metadata file (rush.yml)
│ info Checking AndroidManifest.xml file
└ done
┌ Compiling sources
│ info Picked 1 source file
└ failed

• Build failed [54ms] []

It always shows me build failed.
The directory doesn't contain any spaces.
And I have not modified anything.
@shreyash Help please.

1 Like

It happens when Rush fails to invoke javac. Please refer to the following post:

5 Likes

Thank you sooo much !

:sparkles: Rush v1.2.4


What's new :eyes:


  • Upgraded Kotlin compiler and standard library to version 1.5.32.

  • Upgraded Android platform SDK to version 31 (Android 12).

  • Added the ability to define the data required by the create command using CLI args. For example,

    rush create awesome-extension --lang Kotlin --org com.example
    
  • Added the ability to set custom data directory using the RUSH_DATA_DIR environment variable.

    RUSH_DATA_DIR="D:/rush/data-dir" rush build
    

Improvements :triangular_ruler:


  • You can now use W and S keys along with arrow keys to select the language when creating a new extension. This is especially helpful in terminals where Rush fails to read the arrow keys don't work.

  • Added source JARs for App Inventor components, annotations, and Kotlin standard library. This means you will now be able to view source code and Javadocs of the above libraries in your IDE.

Bug fixes :beetle:


  • Fixed the issue where extensions containing no blocks would cause compilation errors when exporting the app.

  • Fixed the issue that caused the unmappable character for encoding error in some cases when building the extension. [ref1, ref2].


To upgrade to Rush version 1.2.4 simply run rush upgrade. If you don't have Rush already installed check out the installation instruction mentioned in the first post.

Best,
Shreyash

6 Likes

Thank you Shreyas for the great Update

BTW @shreyash a silly advice
Is it possible to add aar files as deps
Or you could implement it in Rush

1 Like

Great update :partying_face:
Especially thanks for updating this, as its reported in many posts :grin:

:sparkles: Rush v1.2.5 HOTFIX


Bug fixes :beetle:


  • Fixed the bug that caused the builds to fail after upgrading Rush to version 1.2.4.

To upgrade to Rush version 1.2.5 simply run rush upgrade. If you don’t have Rush already installed check out the installation instruction mentioned in the first post.

Best,
Shreyash

1 Like

Nope, it's not possible to support AARs through Rush yet.

1 Like

@shreyash I am still getting error even my rush version v1.2.5

Please check it because this is very important

Thank You
Horizon

Everything seems fine with v1.2.5 on my end. Please make sure that you've JDK properly set up. If the issue persists, run rush upgrade --force and then try again.

Upgrade to v 1.2.5 works fine and builds OK here on Linux.

One note, if I run rush --version it still reports v 1.2.4

2 Likes

@shreyash is there any way to check the version of rush
So that I can confirm that I am on v1.2.5 only

Thank you

You can run rush --version.

1 Like

:man_facepalming: I forgot to update the version number. Whatever, I'm not releasing v1.2.6 just to fix the version number now... :roll_eyes:

If you have an active internet connection and running rush upgrade --force prints "Done! Rush was successfully upgraded to v1.2.5", then it means that you're on v1.2.5.

4 Likes


Done :+1:

P.S:
:joy: Its good though, don't mind...

PS C:\Users\Harish> rush --version
                      __
     _______  _______/ /_
    / ___/ / / / ___/ __ \
   / /  / /_/ (__  / / / /
  /_/   \__,_/____/_/ /_/

Version:   1.2.4
Built on:  2021-12-11 06:56:51
PS C:\Users\Harish>