Shreyaa
(shreya )
August 7, 2022, 4:40am
#724
I had also faced this issue.
Just re-compile the extension.
At the time of compiling this extension there was one warning in console.
"no blocks annotations "
Something like this, I haven’t remembered the warning text
A warning text :
PS C:\Users\amd\Downloads\get-pkg> 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
│
│ warn No declaration of any block annotation found
└ done
┌ Processing the extension
│ info Linking extension assets
│ info Generating DEX bytecode
└ done
┌ Finalizing the build
│ info Packing com.Shreya.getPkg.aix
└ done
• Build successful [2s 461ms] [1 warning]
PS C:\Users\amd\Downloads\get-pkg>
here is aix file which not have any block inside
com.Shreya.getPkg.aix (4.5 KB)
here is aix file which have blocks inside
com.Shreya.getPkg.aix (4.6 KB)
logs for aix have blocks inside
PS C:\Users\amd\Downloads\get-pkg> 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
└ done
┌ Processing the extension
│ info Linking extension assets
│ info Generating DEX bytecode
└ done
┌ Finalizing the build
│ info Packing com.Shreya.getPkg.aix
└ done
• Build successful [2s 428ms]
PS C:\Users\amd\Downloads\get-pkg>
Just re-compile the aix file it’ll fixes the issue, As I already said above
Shreyash
(Shreyash Saitwal)
August 7, 2022, 5:59am
#725
Compiling two extensions in one will be possible with the next version, which I hope to release by the end of this month. Stay tuned.
6 Likes
JEWEL
(Extension Developer 🧩)
August 7, 2022, 7:18am
#726
We are waiting for the next update of aweseome Rush
3 Likes
If I want to use library in my project then how to do?
Shreyash
(Shreyash Saitwal)
August 12, 2022, 1:15pm
#730
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
1 Like
JEWEL
(Extension Developer 🧩)
August 18, 2022, 2:56pm
#732
Feature request - Please add helper block feature using @Options and @OptionList annotations
3 Likes
Taifun
August 19, 2022, 8:48pm
#734
@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
Shreyash
(Shreyash Saitwal)
August 20, 2022, 6:56am
#736
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.
3 Likes
Hello @Taifun
Like i told before rush doesn’t support that , there are problem to import this
import com.google.appinventor.components.common.OptionList;
import com.google.appinventor.components.common.Default;
We appreciate your effort, keep it up
3 Likes
RDR_SA
(Richard Roy)
August 21, 2022, 6:25am
#739
Hi, I am new to extension creation.
I am facing a problem when I try to build it.
Here the error
Here Other things
NOTE: I’m using VS code.
Please help me to solve it
Thank you
Shreyash
(Shreyash Saitwal)
August 21, 2022, 7:29am
#741
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:
Your %USERPROFILE% seems to have a whitespace in it. Do this:
Copy/Move everything inside the %APPDATA%/rush directory to a place whose path has no whitespace, say, C:/rush .
Then, create the RUSH_DATA_DIR environment variable and set its value equal to the path of the previous directory, in this case C:/rush.
Build your extension with rush build .
Shreyash
(Shreyash Saitwal)
August 21, 2022, 7:34am
#742
RDR_SA:
NOTE: I’m using VS code.
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).
RDR_SA
(Richard Roy)
August 21, 2022, 7:39am
#743
After following this guide I have another issue.
RDR_SA
(Richard Roy)
August 21, 2022, 7:45am
#744
I already have android studio but I don’t know how to use rush on it.
Shreyash
(Shreyash Saitwal)
August 21, 2022, 8:11am
#745
You have JDK 18 on your PATH. Remove it, install JDK 8, and change JDK_HOME
env var.
2 Likes
RDR_SA
(Richard Roy)
August 21, 2022, 8:37am
#746
Shreyash:
install JDK 8
Can you please share the download url.