🏃‍♂️ Fast : An Efficient Way to Build & Publish Extensions

where is generate block , icant find

ih ave found

Pass -b as an additional argument with the build command to generate blocks and docs.

1 Like

Even though libraries are resolved and are in classpath but still i am getting unresolved reference and import error for that library. Below are my logs.

fast build -d
  __           _   
 / _| __ _ ___| |_ 
| |_ / _` / __| __|
|  _| (_| \__ \ |_ 
|_|  \__,_|___/\__| (v2.8.4)

- Cleaning build caches
- Increasing Components version
- Resolving runtime dependencies
  - Searching for required dependencies
    + io.coil-kt:coil:2.7.0
    + io.coil-kt:coil-base:2.7.0
    + org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.1
    + com.squareup.okio:okio:3.9.0
    + androidx.appcompat:appcompat-resources:1.6.1
    + com.squareup.okhttp3:okhttp:4.12.0
    + androidx.core:core-ktx:1.12.0
    + androidx.exifinterface:exifinterface:1.3.7
    + androidx.profileinstaller:profileinstaller:1.3.1
    + org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.8.1
    + org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.21
    + org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.8.1
    + com.squareup.okio:okio:3.6.0
    + androidx.concurrent:concurrent-futures:1.1.0
    + com.squareup.okio:okio-jvm:3.9.0
    + org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.8.1
    + androidx.startup:startup-runtime:1.1.1
    + com.google.guava:listenablefuture:1.0
    + com.google.guava:guava-parent:26.0-android
    + org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.21
    + androidx.tracing:tracing:1.0.0
    + org.sonatype.oss:oss-parent:9
  - Resolving required dependencies
    + io.coil-kt:coil:2.7.0:jar
    + io.coil-kt:coil-base:2.7.0:jar
    + org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.1:jar
    + org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.8.1:jar
    + com.squareup.okhttp3:okhttp:4.12.0:jar
    + org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.21:jar
    + org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.21:jar
    + com.squareup.okio:okio:3.9.0:jar
    + com.squareup.okio:okio-jvm:3.9.0:jar
    + androidx.appcompat:appcompat-resources:1.6.1:jar
    + androidx.core:core-ktx:1.12.0:jar
    + androidx.exifinterface:exifinterface:1.3.7:jar
    + androidx.profileinstaller:profileinstaller:1.3.1:jar
    + androidx.concurrent:concurrent-futures:1.1.0:jar
    + androidx.startup:startup-runtime:1.1.1:aar
    + androidx.tracing:tracing:1.0.0:aar
    + com.google.guava:listenablefuture:1.0:jar
- Compiling Kotlin classes
  - logging: using Kotlin home directory /Users/apple/Work/Development-extension/Fast/fast/lib/compiler/2.1.0/kotlinc
  - logging: using JDK home directory /Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home
  - logging: using JVM IR backend
  - logging: configuring the compilation environment
  - logging: loading modules: [java.se, jdk.accessibility, jdk.attach, jdk.compiler, jdk.dynalink, jdk.httpserver, jdk.incubator.foreign, jdk.incubator.vector, jdk.jartool, jdk.javadoc, jdk.jconsole, jdk.jdi, jdk.jfr, jdk.jshell, jdk.jsobject, jdk.management, jdk.management.jfr, jdk.net, jdk.nio.mapmode, jdk.sctp, jdk.security.auth, jdk.security.jgss, jdk.unsupported, jdk.unsupported.desktop, jdk.xml.dom, kotlin.stdlib, kotlin.script.runtime, kotlin.reflect, java.base, java.compiler, java.datatransfer, java.desktop, java.xml, java.instrument, java.logging, java.management, java.management.rmi, java.rmi, java.naming, java.net.http, java.prefs, java.scripting, java.security.jgss, java.security.sasl, java.sql, java.transaction.xa, java.sql.rowset, java.xml.crypto, jdk.internal.jvmstat, jdk.management.agent, jdk.jdwp.agent, jdk.internal.ed, jdk.internal.le, jdk.internal.opt]
  - src/pk/asyncimagepk/AsyncImagepk.kt:21:13: error: unresolved reference 'imageLoader'.
  - import coil.imageLoader 
               ^^^^^^^^^^^
  - src/pk/asyncimagepk/AsyncImagepk.kt:34:53: error: unresolved reference 'imageLoader'.
       private val imageLoader: ImageLoader = activity.imageLoader
                                                       ^^^^^^^^^^^
x java.io.IOException: BUILD FAILED!
        at com.jewel.fast.repacked.cT.<init>(KotlinCompiler.java:64)
        at com.jewel.fast.repacked.cx.<init>(Build.java:341)
        at com.jewel.fast.Fast.main(Fast.java:60)

The Maven resolver has some problems, and that's why I've added the Gradle resolver. Since you're on an older version, you might be using local dependencies.

hello jewel is there a tutorial how to add library?

Yes, on latest free version. It,s working with local dependencies but getting above error with remote dependencies.

- com.squareup.okio:okio:3.9.0

Here is the way to specify remote dependencies.

1 Like

Hello Jewel, Can i get some discount on the purchase of Fast premium?

Regrettably, no discounts are currently applicable. Furthermore, pricing adjustments may be necessary in the future, as we are actively developing and integrating new features and enhancements.

Are AAR libraries and gradle is fully supported in fast? As the test server now supports aar feature. Can i import the extension packed with aar library into the server?

Indeed, FAST-CLI offers support for packaging AARs with extensions. Furthermore, it is capable of resolving all necessary dependencies through Gradle, mirroring the functionality of Android Studio.

The functionality has been successfully integrated by Niotron and AndroidBuilder. Furthermore, Kodular is scheduled to introduce this feature in their forthcoming update. We anticipate that AI2 may also incorporate this feature in the near future.

Note: I believe this feature is now available on AI2 test server.


I installed fast earlier and instailed rush ,
Now it shows like this
Do i need to reinstall fast

I've pushed a quick fix, please install it again.

1 Like

Does I have to purchase the license of Fast Premium version for one time fee or it's recurring with every update we have to pay some fees to receive latest features. Asking this because seeing edit history of premium post is a bit concerning because it changes after some time?

One time payment only!

1 Like

Will I also get all updates after license purchase without paying extra fee?

No extra fees for updates. Please read the license before you purchase.

2 Likes

:droplet: An update is available 4.1.1

Date built: 08.08.25.16.38 :bangladesh:


  • Auto upgrade checker while running fast sync.
  • Support for migrates old FAST projects to new (fast migrate this).
  • A few changes in logs.txt.
  • GitHub Action workflows support dynamic JDK version.
  • Added missing arguments to the default terminal prompts.

Breaking changes:

  • Availability to define project specific ProGuard version in fast.yml.

Note: A clean installation is required (fast upgrade -f).

2 Likes

:triangular_flag_on_post: An update is available 4.2.0

Date built: 18.08.25.22.56 :bangladesh:


  • Deprecated desugaring features and will be removed in future release!
  • Support for using Gradle version 9+ with bundled or system JRE 17+.

Breaking changes:

  • Updated AndroidRuntime.jar to be compatible with nb202.
  • Changed default Android compile SDK to 35.

Note: A clean installation is required (fast upgrade -f).

5 Likes

aar is currently only avaible in paid version or free too?