Welcome to the world of Qigsaw, a clever library that allows Android developers to embrace dynamic modularization through the use of App Bundles. If you’re ready to enhance your application’s delivery system, you’ve come to the right place. This guide will walk you through the initial setup process and beyond while also addressing potential troubleshooting issues that may arise. Let’s dive into the exciting realm of Qigsaw!
Getting Started with Qigsaw
To kickstart your journey with Qigsaw, follow these steps:
- Import the Qigsaw Gradle plugin into your main
build.gradlefile located at the root of your project.
buildscript {
dependencies {
classpath 'com.iqiyi.android.qigsaw:gradle-plugin:1.4.1-hotfix01'
}
}
build.gradle file and import the necessary dependencies:dependencies {
// Qigsaw core library
implementation 'com.iqiyi.android.qigsaw:splitcore:1.4.1-hotfix01'
}
apply plugin: 'com.iqiyi.qigsaw.application'
build.gradle:apply plugin: 'com.iqiyi.qigsaw.dynamicfeature'
Understanding the Code: An Analogy
Imagine you’re building a modular Lego city. Each Lego block represents a different feature of your app. Qigsaw acts as the master builder, assembling those blocks dynamically without having to rebuild the entire city. When you need to add or change a block (or feature), you do so quickly and easily with Qigsaw, making your overall process smoother and more efficient.
Downloading and Uploading APKs
As every app has its downloader, Qigsaw provides an interface called Downloader, which you need to implement. Make sure you check out the sample code for a clearer understanding: SampleDownloader.
Qigsaw also automatically uploads the split APKs during compilation. You’ll need to implement the SplitApkUploader for your CDN server. More info can be found here: SampleSplitApkUploader.
Additional Configurations
If you need further configurations, the app/build.gradle sample can provide you with various setups to enhance your app’s functionality with Qigsaw.
How to Troubleshoot Common Issues
As with any technology, problems may arise. Here are some known issues with their descriptions:
- Qigsaw cannot dynamically update the split
AndroidManifest.xml. - You can’t update the base APK dynamically.
- Support for Android OS versions lower than 4.0 is not available.
- Incremental updates for split APKs are not supported.
To explore more known issues, visit the documentation related to Android App Bundle known issues.
For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.
Extensive Functions of Qigsaw
Qigsaw supports functions that go beyond standard Android App Bundles, such as:
- Declaring Application components in split AndroidManifest files.
- Declaring ContentProvider elements in split AndroidManifest files.
Concluding Thoughts
At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.
Successfully implementing Qigsaw into your Android projects can significantly improve dynamic feature delivery. Now that you’re equipped with the essential steps, go ahead, build a dynamic experience for your users!

