-
-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android setup documentation #418
Comments
This assumes I know anything about android build systems, which I absolutely do not, so I can't really help on that side. I've handled this in my flutter app by just leaving the .aar in the app repo: https://github.com/intiface/intiface-central/tree/main/android/libs So you may be able to just pull that .aar file, put it in your libs directory for your app, and call it done without needing to build everything yourself. |
I see your library is referenced in the gradle files. Does your Xbuild command build the gradle files too? I've added gradle: true to my yaml. But the gradle files still fail to be build by X build. I'm wondering if there's a step I'm missing.... Edit: FYI im trying to use xbuild to build.... Maybe its not supported with xbuild? |
I have no idea what xbuild is. |
which build tools are you using? ndk + gradle or cargo-apk? |
For the droidplug stuff I think I used ndk + gradle. IT's been a long time since I've built it. |
I'm working on adding this to my android project. The project is using xbuild and slint, which uses and android activity crate ( https://github.com/slint-ui/slint/tree/master/internal/backends/android-activity ).
Ive completed the steps below:
This gets step 1 complete, and most of step 2...
But how do i do step 2?
have the Java portion of your android app point to that as a local implementation
when slint takes care of this all for me?Do I need to modify the slint source code to add the btleplug stuff? Or load that through rust?
They have no gradle files, no mainactivity... do I modify the java?
The text was updated successfully, but these errors were encountered: