Rush doesn’t want to start
I have installed rush, but when i launch it,he closes immediately.
Rush is not a GUI application. You need to run it through a terminal app. This is explained in detail in the first post. Do read it.
@Shreyash I havent tried it yet but does rush support lamba expressions as these were added in java 8 ??
i also want to know does it support lamda
No, currently Rush doesn’t support Java 8 language features like lambdas. But it’s already on the roadmap and will be available in future.
Version 1.0.1
This release brings a few new features to Rush and fixes some bugs that were reported by users since the initial release.
Below is a quick changelog of everything that’s fixed/added in this version.
An exclamation () in front of a note means it is a critical change.
What’s new
-
Rush is now also available for macOS and Linux.
-
It is now possible to pack non-related Java packages with the extension as long as they are inside the
src
directory.- With this feature, you can now have multiple packages inside the
src
directory and all of them will be available in your extension. - This is a Rush exclusive feature.
- With this feature, you can now have multiple packages inside the
-
Added a new field,
release/optimize
torush.yml
. It indicates whether or not to optimize the extension when building with the-r
flag.release: optimize: true
-
Some other small changes.
Fixes
-
Fixed the issue where Rush won’t work with some terminal apps, like, CMD on Windows.
-
Fixed the issue where
<extension>.aix
was not being produced because of spaces in one of the parent directory’s names. -
Fixed the issue where the build would be successful even if some step failed to complete.
-
Fixed the issue where an incorrect package would be produced in some cases.
Installation
If you’ve Rush already installed on your system, follow the below steps to update it to the latest version, i.e., v1.0.1.
-
Delete your previous Rush installation.
- All you need to do for this is navigate to the place where you unpacked
rush.zip
and then delete therush
directory and all of its contents.
- All you need to do for this is navigate to the place where you unpacked
-
After that, do a fresh installation of Rush.
For Linux and macOS users, installation guidelines can be found here.
Feedback
For all the types of feature requests and bug reports, file an issue on GitHub.
Cheers,
Shreyash
Ah, I thought I fixed it. There’s nothing to worry about. Just don’t run rush -v
. I’ll fix it tomorrow.
I guess the file path being checked here is not correct. It should be \bin\build_info (Maybe)
I’d like to bring to your notice that release v1.0.1 had some minor issues that caused the build to failed with random errors. This issue is fixed now, but if you have had updated Rush before 2021-03-24T13:21:00Z, I urge you to please re-update it.
I apologize for any inconvenience this might have caused.
please any 1 share demo project to learn… thank you.
I recieve this error:
Build initialized
┌ Validating project files
│
│ OKAY Metadata file (rush.yml)
│
│ OKAY AndroidManifest.xml file
└ Done
┌ Compiling Java files
└ Done
┌ Processing extension files
│ ERR Exception in thread “main” java.lang.NullPointerException
│ at java.io.StringReader.(Unknown Source)
│ at shaded.org.json.JSONTokener.(JSONTokener.java:94)
│ at shaded.org.json.JSONArray.(JSONArray.java:162)
│ at io.shreyash.rush.ExtensionGenerator.main(ExtensionGenerator.java:50)
└ Failed
• Build failed
Well Done! I don’t know how to make extensions but this makes me want to learn how to!
Also, 100th reply!
[quote=“marco_tanzi, post:129, topic:111470”]
94
[/quote]That error is not coming from Rush
but in your java file review lines 50
, 94
, 162
again
It looks like the annotation processor was unable to compile your extension source file, and hence, didn’t generated the required info files.
Can you please confirm if you’ve have JDK version 1.8 or above installed and that you’ve JAVA_HOME
PATH variable defined?
Solved thanks.
Error in update java jdk