Rush • A new and improved way of building extensions

option ‘-dontwarn’ in Rush - not supported?

You need to add them in the progaurd configuration file, to ignore all the errors you can just:


if i make rush build -dontware or rush build -d i get:

PS C:\Rush\test1\test1> rush build -dontware (or PS C:\Rush\test1\test1> rush build -d)
_______ / /
/ / / / / / __
/ / / /
/ (
/ / / /
/ _
/ /

A new and improved way of building App Inventor 2 extensions.

rush [command]

Global options:
-h, --help Prints usage information.

Available commands:
build Identifies and builds the extension project in current working directory.
create Scaffolds a new extension project in current working directory.
migrate Introspects and migrates the extension-template project in CWD to Rush.
upgrade Upgrades Rush and all it’s components to the latest available version.

in which file should I write “-dontwarn”?

In the in your src directory

Just add it at the end, then compile extension with rush build -r


eeee it worked !)))

1 Like

how to fix this error? @Shreyash

Make sure that you’re connected to the internet and that the URL is accessible from your ISP. You might need to use a VPN or setup DoH for your PC.

1 Like

return super.onInterceptTouchEvent(ev);

i make extension onInterceptTouchEvent error in jaava ide
can help me make that
if touch down view return super.onInterceptTouchEvent(ev);

Hi, I did this:

//--------in Manifest.xml-------

  <receiver android:exported="true" android:name=".MyBroadcastReceiver">
          <action android:name="com.GO-1"/>

//-------and code:--------------

package com.test1

import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.widget.Toast

class Test1(container: ComponentContainer) : AndroidNonvisibleComponent(container.$form()) {
private fun get_random(): Int {
return (0…1000).random()

@SimpleFunction(description = "text2")
fun SumAll(x: Int): Int {
    val test01 = get_random()
    return test01 * -1


class MyBroadcastReceiver : BroadcastReceiver() {
override fun onReceive(context: Context, intent: Intent) {
intent.let {
val data = it.extras?.getString(“data”)
Toast.makeText(context, “Broadcast Received with data $data”, Toast.LENGTH_LONG).show()

The build in Rush is successful.
The build in Kodular is successful.
But when my application receives Broadcast = “com.GO-1” - my the application is destroyed!
Why is this happening?

@ashishlambat5 You use Java 8

i got problem:
android.widget.FrameLayout cannot be cast to com.facebook.shimmer.ShimmerFrameLayout
Note: You will not see another error reported for 5 seconds

public void addsshimer (AndroidViewComponent view) {
final View vx2 = view.getView ();

shimmer_layout = (ShimmerFrameLayout) vx2;

iam add deps

Use addView method to add any custom view to AndroidViewComponent.

how do that … give me example.
is should 2 layer component for shimmer work

Hello colleagues!
Rush uses runtime.jar and runtime-sources.jar archives to compile extensions. However, the content of the runtime components has not been updated since 2021. And some new class interaction features are not available for extensions. Does anyone know how to get new versions of these libraries?