Closed xujunjie12345 closed 1 year ago
No, the client does not support aar archives. If the aar contains only a native shared library, unzip it and include it using build.rs. If it contains any Java bytecode, it will not work with ALVR.
No, the client does not support aar archives. If the aar contains only a native shared library, unzip it and include it using build.rs. If it contains any Java bytecode, it will not work with ALVR. you mean that we can only reflect the system's java code, but us can't use your own java libraries?
you mean that we can only reflect the system's java code, but us can't use your own java libraries?
Exactly. You can access built-in android java objects/methods using JNI (with some caveats) but you can't add third party java libraries. This is mostly a limitation of the tool we use to build the APK. Techically nothing prevents us from packing the APK using custom code and adding the java bytecode dex.
I see. Thank you very much.
close
Currently, the code is entirely built using cargo, but my lib is aar. Can I integrate and use it? txs