Rush • A new and improved way of building extensions

facing same error i am using jdk

Strange, wait for @Shreyash to reply :face_with_monocle:

its not due to java…its due to Rush like
1–Rush not installed properly(install rush from official site) if you see Git Bash Here on right button mouse click then Rush Installed​:white_check_mark:
2-Set Variable path of Rush

Hi I’m recently formats my pc and new installation rush and trying to build rush but this type error how to fix help me

i have also faced this error many times
move complete project to other directory and then run the command solved my problem you can check this

I will try c drive and other drive with new project but again error :sob:

A post was split to a new topic: Looking for a WhatsApp extension

I am continuously facing the below error from 2 days, i have applied various method or ways to fix the issue by reading various post almost 3 to 4 times but could not found any solution.

I have tried to install and build using Powershell in windows but that does’nt work then i downloaded winzipfile and its also not working

Error :

• Build initialized

┌ Checking project files
│ info Checking metadata file (rush.yml)
│ info Checking AndroidManifest.xml file
└ done
┌ Compiling sources
│ info Picked 1 source file
│      javac: invalid flag: Shekh\AppData\Roaming\rush\workspaces\io.test.com.test\classes
│      Usage: javac <options> <source files>
│      use -help for a list of possible options
└ failed

• Build failed [266ms] []

C:\Users\Rijvan Shekh\.rush\bin\test>

Other Info

java version "1.8.0_202"
Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)

C:\Users\Rijvan Shekh\.rush\bin\test>javac -version
javac 1.8.0_202

C:\Users\Rijvan Shekh\.rush\bin\test>

File Folder : C:\Users\Rijvan Shekh\.rush\bin\test

Screenshots

Error :

Environment Variables :

@NoobCoder
Your your username space problem create
C:\Users\Rijvan Shekh.rush\bin\test>

File Folder : C:\Users\Rijvan Shekh.rush\bin\test

To change Rijvan_Shekh or RijvanShekh
and solved your error occurred

I am facing this type error and solved.

1 Like

i am facing this error please help @Shreyash
Screenshot 2024-09-23 144639

is there any youtube tutorial for rush development then please share the link

i want to build a extension in rush platform , is there any tutorial video for rush that how to set up rush and how to use it @Shreyash

Here is a tutorial video to follow:

Below docs might be helpful for you:

http://kio4.com/appinventor/145_extension_rush.htm

1 Like

The rush is giving me empty error, Anyone on kodular can help me?

i unable to build extension

package com.maths;

import com.google.appinventor.components.annotations.*;
import com.google.appinventor.components.runtime.*;

@SimpleObject(external = true)
public class Maths extends AndroidNonvisibleComponent {

  public Maths(ComponentContainer container) {
    super(container.$form());
  }

  @SimpleFunction(description = "Adds two numeric values and returns the result.")
  public double AddNumbers(double number1, double number2) {
    return number1 + number2;
  }
}

There is no SimpleObject annotation in rush. Read the first post.

can you sugesst list of the annotations in the rush , that i can create in project
@Xoma

@DesignerProperty
@SimpleEvent
@SimpleFunction
@SimpleProperty

ok , thank you

1 Like

This post was flagged by the community and is temporarily hidden.

A post was merged into an existing topic: Please help! error creating extension?