Credit: The idea of the installation process and the project structures is inspired by Rush. Thanks a ton, Shreyash ππ
πββοΈ FAST is An Efficient Way to Build App Inventor Extensions For MIT App Inventor 2. With FAST, you no longer need to use any class level annotations except @DesignerComponent
.
Explore the wiki section for comprehensive overview and step-by-step instructions on FAST.
- π₯ Generates docs in Markdown.
- π₯ Maven dependency resolver.
- π₯ Dynamic Kotlin Compiler.
- π₯ Integration of R8 Shrinker.
- π₯ Support
AAR
as dependencies. - Java 8 support, including lambda expressions
()->
. - Seamless support for Java and Kotlin languages.
- Support for Multi-component in extension.
- Integration of new red drop-down helper blocks.
- Up-to-date ProGuard library 7.6.1.
- Generates a smaller size of extension.
- All
@annotations
will be removed from built AIX. - Ability to declare manifest in AndroidManifest.xml.
- Code suggestions on VSCode, Eclipse, IntelliJ IDEA & Android Studio.
- Ability to filter AI2 provided classes to reduce the AIX size.
- Auto Project migration from Rush, extension-template & AI2 source based project.
- Jetifier to migrate Android support libraries to Androidx.
- Windows
- Linux
- MacOS
- Android (Termux)
Refer to this wiki to install the FAST on your system.
Refer to this wiki to update the FAST to the latest version.
- Open or navigate terminal at where you want to create your extension project.
- Run
fast create <ProjectName>
- Enter the package name.
- Enter author name.
- Select language.
- Done.
- Open or navigate termanl at where the FAST project is.
- Run
fast build
to build the project. - Done. The compiled extension should be inside the
out
directory.
- Make sure that ProGuard is enabled in fast.yml.
- Run the build command with
-r
.
- Make sure that R8 is enabled in fast.yml
- Run the build command with
-s
.