Rush • A new and improved way of building extensions

And the error is?

How can i access assets folder in rush ( in which the rush icon is present)

in kodular
file:///storage/emulated/0/Kodular/assets/external_comps/{your package}/assets/{your file}
= for example
file:///storage/emulated/0/Kodular/assets/external_comps/com.aemo.extension/assets/icon.png

1 Like

file:///storage/emulated/0/Kodular/assets/external_comps/com.aemo.extension/assets/icon.png

what should i replace kodular with for appinventor

1 Like

this code will help you

2 Likes
String icon = form.getAssetPathForExtension(this, "icon.png");
File file = new File(icon);

// read the input stream
..new FileInputStream(file);

It’s done this way.

2 Likes

A post was split to a new topic: How to stop view animation

did I make a mistake?

You have to install the latest version of Powershell from Microsoft or you can use Bash to install Rush.

1 Like

@Shreyash everything is ok…getting builed successfull but there is no output folder of aix file…?

Can you paste the build log here?

Also, it’d be helpful if you let me know this:

  1. Your JDK version
  2. Your OS name and version
  3. Rush version
1 Like

everything fine
BTW jdk 8 version
latest version of rush
when i type rush build and hit enter then getting successfull message but there is no output folder of aix…

i am Using Cell right now…i"ll show log/result when on pc…

check the pic…where is out folder?

You seem to be using a very old version of Rush. Please install the latest version.

1 Like

yes now its working…
after upgrade version of Rush…
Thanks

@Shreyash
Now Getting error when i m trying to import simpleObject

The SimpleObject annotation doesn’t exist in Rush. Instead, you define your extension’s metadata (things like its description, version, and dependencies) in the rush.yml file. All of this has already been mentioned in the “How’s Rush different” section in the first post.

Hi I want to Implement Razorpay SDK in an extension,

How can I implement Dependency for it?

For your reference: https://razorpay.com/docs/payments/payment-gateway/android-integration/standard/build-integration/#11-install-razorpay-android-standard-sdk

Screenshot 2022-12-25 102029
what is this error ,how to solve this ,please help me