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

:mega: An update is available v1.2.3

Date built: 07.11.24.11.31


  • A few compilation bugs have been fixed.
  • Optimized the Java compiler.
  • Optimized the Kotlin comliler.
  • Optimized the desugar process.
  • Issue regarding space has been fixed.
  • Terminal prints style has changed.
1 Like

its a custom linux theme fast theme doesn’t seems updated

How to create a project in Kotlin, when I use: fast create MyExtension it creates it in Java

:mega: An update available v1.2.4

Date built: 08.11.24.22.50


  • Added a new feature that allows to select a language when creating a new project.
  • Changes in terminal prints.
2 Likes

How can I declare file.js and file.html that are in the Assets folder?
Or should I put them somewhere else?

2 Likes

You need to declare them on fast.yml.

Example:

# Extension assets. [Should be present into assets directory]
assets:
- file.js
- file.html
2 Likes

I’ve done exactly that, but I get an error when calling fast sync

1 Like

Could you please share the logs.txt file with me so that I can investigate this issue further?

1 Like

Okay, in about 12 hours I’ll have access to the computer and I’ll send that to you.

1 Like

Nothing appears in the logs.txt
logs.txt (143 Bytes)

But in the terminal, this appears:

  • x class java.util.ArrayList cannot be cast to class java.util.Map (java.util.ArrayList and java.util.Map are in module java.base of loader ‘bootstrap’)

hello-assets.aia (10.7 KB)
It’s a FAST project and uses assets.

  • I agree that there’s a problem with syncing projects when it use assets.

:mega: An update is available v1.2.5

Date built: 10.11.24.23.22


  • The project sync issue has been successfully resolved.
  • Enhanced the code recommendations classpath.
  • The R8 optimizer has been deprecated and will be removed in the next update.
2 Likes

:fire: An update is available v1.2.6

Date built: 11.11.24.21.56


  • The .aar file is now supported to use as dependencies. Run fast sync to parse AARs.
  • A few minor bugs have been fixed.
  • Added some extra prints into the logs.txt.
  • Changes in IDE classpath.
2 Likes

Does this mean the system will extract and make available not only the .jar file but also all internal implementations, including attributes and other resources, allowing us to use the Java classes directly?

1 Like

As we know that AI2 doesn’t support using aar files with extensions? Well, FAST is here to save the day! It’ll collect all the necessary jars from those aars and convert (if exists) that R.txt file into a proper R.class file, placing it right where it needs to go.

4 Likes

Once again an impressive update.

Was waiting for this

The problem has been solved and the libraries load correctly, but when I try to read the .js and .html files from assets in the extension, it does not load the files, it does not find the location, but if I load those files in the application assets, it does read them correctly.

Could you give me an example of how I should do it to make it work from the extension? Or is there something else I should do?

  • I tried to load the aia you provided, but it could not:
    The selected project is not a project source file! Project source files are aia files.

It’s a FAST project zip file not an aia. You need to unzip it and run fast sync and fast build.

See here how to read extension assets :arrow_down:

1 Like

It worked perfectly :grinning:, thanks a lot JEWEL.

2 Likes

You’re welcome :bouquet:

2 Likes