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.
Features
- 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.
Supported OS
- Windows
- Linux
- MacOS
- Android (Termux)
How to install?
Refer to this wiki to install the FAST on your system.
How to Update?
Refer to this wiki to update the FAST to the latest version.
How to create a new FAST project
- 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.
How to build a FAST project
- 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.
How to optimize using ProGuard?
- Make sure that ProGuard is enabled in fast.yml.
- Run the build command with
-r
.
How to optimize using R8?
- Make sure that R8 is enabled in fast.yml
- Run the build command with
-s
.
- Donations are welcome here.
- Release notes are here.
- Ideas are welcome here.
- Submit issues here.
- For getting additional supports, text me in PM or drop a comment below.
Thanks a lot to all the beta testers of FAST. Without their feedback and help, it would have been impossible to make FAST a stable compiler.