Continuing the discussion from Kodular Creator 2025.8 :
@Diego During my test on App inventor test server, I found that assets from libraries are not added into the build apk. Does kodular platform fully support aar attachment into extension including assets and resources from aar libraries. Thanks
JEWEL
(Extension Developer 🧩)
August 11, 2025, 5:04pm
2
Following the merging of this pull request , it won’t merge assets, JNI/native (.so) libraries and elements from AndroidManifest.xml.
1 Like
That’s why I raised and highlighted this issue here—so that the Kodular team, this time, can go a step beyond the App Inventor team and implement these features into their platform, especially since it’s a commercial project, unlike App Inventor.
1 Like
JEWEL
(Extension Developer 🧩)
August 11, 2025, 5:25pm
4
If the Kodular team would consider modifying the AAR attachment feature for extensions to merge at least assets and JNI libraries, it would be greatly appreciated.
1 Like
pavi2410
(Pavitra Golchha)
August 11, 2025, 5:27pm
5
This is not easy to handle though, because two different extensions can include the same library and resources which can cause conflict when building the APK.
However, we have merged the PR from MIT App Inventor.
1 Like
JEWEL
(Extension Developer 🧩)
August 11, 2025, 5:44pm
6
Yeah, you’re totally right. But I believe you could catch any issues before adding each AAR.
Like:
We need to make a list of already attached AAR’s package names.
Read the package name from the AndroidManifest.xml and see if it’s already there. If not, attach it and save the package name to the list.
I believe, in this way we would be able to resolve conflicts before attaching each AAR from extensions.
2 Likes
JEWEL
(Extension Developer 🧩)
August 13, 2025, 4:18am
7
This pull request is intended to address that issue.
master ← jewelshkjony:master
opened 06:19PM - 12 Aug 25 UTC
General items:
- [ ] I have updated the relevant documentation files under do… cs/
- [ ] My code follows the:
- [x] [Google Java style guide](https://google.github.io/styleguide/javaguide.html) (for .java files)
- [ ] [Google JavaScript style guide](https://google.github.io/styleguide/jsguide.html) (for .js files)
- [ ] `ant tests` passes on my machine
For all other changes:
- [x] I branched from `master`
- [x] My pull request has `master` as the base
What does this PR accomplish?
This PR is a modified and updated version of [this PR](https://github.com/mit-cml/appinventor-sources/pull/2230).
Changes # .
- Retrieves and merges assets if available.
- Avoid attaching duplicate libraries to avoid potential conflicts.
- Retrieves and merges JNI native (.so) libraries if available.
Fixes # .
- A minor bug has been fixed at [ExternalComponentGenerator.java (365)](https://github.com/jewelshkjony/appinventor-sources/commit/d1c02343a3f082c1fa85250182078e323c523201#diff-a56907c695118f181a4678ba67d4a58654e72e60b716e9aab2c366ccba68bc82R365)
1 Like
JEWEL
(Extension Developer 🧩)
February 9, 2026, 5:24pm
11
MIT merged it, hopefully we’ll see it in Kodular super soon.
master ← jewelshkjony:fullaar
opened 06:19PM - 12 Aug 25 UTC
General items:
- [ ] I have updated the relevant documentation files under do… cs/
- [x] My code follows the:
- [x] [Google Java style guide](https://google.github.io/styleguide/javaguide.html) (for .java files)
- [ ] [Google JavaScript style guide](https://google.github.io/styleguide/jsguide.html) (for .js files)
- [ ] `ant tests` passes on my machine
For all other changes:
- [x] I branched from `master`
- [x] My pull request has `master` as the base
What does this PR accomplish?
This PR is a modified and updated version of [this PR](https://github.com/mit-cml/appinventor-sources/pull/2230).
Changes # .
- Retrieves and merges assets and JNI native (.so) libraries if available.
- Avoid attaching duplicate libraries to avoid potential conflicts.
Fixes # .
- A minor bug has been fixed at [ExternalComponentGenerator.java (365)](https://github.com/jewelshkjony/appinventor-sources/commit/d1c02343a3f082c1fa85250182078e323c523201#diff-a56907c695118f181a4678ba67d4a58654e72e60b716e9aab2c366ccba68bc82R365)
1 Like
Diego
(Diego Barreiro Pérez)
February 9, 2026, 7:54pm
12
This will be included in next release, sorry I missed it. I’ll add it to the tracker and get it merged later today.
4 Likes
JEWEL
(Extension Developer 🧩)
February 10, 2026, 2:21am
13
Nice to hear that. However, the pull request linked below is also relevant to the recently merged pull request. Perhaps both could be implemented together.
master ← jewelshkjony:fix/no-unnecessary-resources
opened 12:49PM - 18 Jan 26 UTC
General items:
- [ ] I have updated the relevant documentation files under do… cs/
- [x] My code follows the:
- [x] [Google Java style guide](https://google.github.io/styleguide/javaguide.html) (for .java files)
- [ ] [Google JavaScript style guide](https://google.github.io/styleguide/jsguide.html) (for .js files)
- [ ] `ant tests` passes on my machine
If your code changes how something works on the device (i.e., it affects the companion):
- [ ] I branched from `ucr`
- [ ] My pull request has `ucr` as the base
Further, if you've changed the blocks language or another user-facing designer/blocks API (added a SimpleProperty, etc.):
- [ ] I have updated the corresponding version number in appinventor/components/src/.../common/YaVersion.java
- [ ] I have updated the corresponding upgrader in appinventor/appengine/src/.../client/youngandroid/YoungAndroidFormUpgrader.java (components only)
- [ ] I have updated the corresponding entries in appinventor/blocklyeditor/src/versioning.js
For all other changes:
- [x] I branched from `master`
- [x] My pull request has `master` as the base
What does this PR accomplish?
*Avoid unpacking assets & jni libraries in the AAR package dir. These are not necessary here.*
Fixes # .
Resolves # .
1 Like
Diego
(Diego Barreiro Pérez)
February 15, 2026, 7:34pm
14
@JEWEL both PRs are now merged as of 2025.10.6: Kodular Creator 2025.10 - #12
6 Likes
JEWEL
(Extension Developer 🧩)
Closed
April 1, 2026, 2:00am
16
This topic was automatically closed after 43 days. New replies are no longer allowed.