JEWEL
August 27, 2022, 7:01am
1
Hello dear @ewpatton , is it possible to package extension with non project java file with the extension by any way?
Or by editing build.xml file?
If it's possible then please help me to add non project java classes with the extension.
It's very needed to add R.java for the uses .aar dependency.
(Thanks for your valuable time)
AAR libraries are not supported in extensions at this time.
Sir, I've read the PR by Jarlisson. When will this be implemented in App Inventor? It's been 2 years since this was suggested.
mit-cml:master
← jarlisson2:edit
opened 05:37AM - 03 Jul 20 UTC
With this implementation it is possible to add an .aar type library in extension… . Just use the existing annotation "@UsesLibraries (libraries ="library.aar ") and add the library to the dependencies, just like the .jar files.
Duo
August 30, 2022, 9:51am
5
Vagrant installation tutorial
JEWEL
August 30, 2022, 10:06am
6
Actually my question was, can I pack the extension with non package related java files?
1 Like
You could just put built class package files in jar, open it using WinRAR
(I do same to inject my R.class in aixs )
You mentioned R.java and .aar dependency in your post, which is why my response was relevant.
Generally, you cannot include sources for packages outside of your extension's package. Instead, those packages need to be separately compiled into a .jar file and then you would include the jar file in @UsesLibraries
.
Duo
August 30, 2022, 10:53pm
11
你好!有vagrant安装教程么 。
Hello! Is there a vagrant installation tutorial
system
Closed
September 6, 2022, 10:54pm
12
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.