-
Notifications
You must be signed in to change notification settings - Fork 71
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
.so does not end up in .apk if project inside workspace #109
Comments
Use |
Unfortunately it doesn't work. I also tried to pass
so it builds the workspace but only uses |
I think the best option here would be to run |
I assume you mean |
I was able to make it work by
I tried to fix the problem though but gradle is very annoying when using a local plugin for fast changes |
Can you say more? The substitution workflow is pretty smooth for me: https://github.com/mozilla/rust-android-gradle/blob/master/README.md#testing-local-changes. |
I had similar issues and I can confirm that a mix of:
Fixed it for me. Thank you both for the workaround! |
Glad to hear it. @lattice0, if you want to propose a "first class" fix, I'd entertain it. |
same problem here. I cant get it to work with any combination of |
Ignore my previous comments - I was looking for |
If you have
and
Cargo.toml
happens to be a workspace forlibsomething
andlibsomething2
, thenwill compile the libs but the
libsomething.so
does not end up in the rustJniLibs folder, probably because thetarget
folder is not insidelibsomething
but at the root workspace.I don't want to compile the entire workspace, just this lib, that's why I point to just it. If I pointed to the workspace, it would probably work, but the workspace contains non android things.
Fully working example: https://github.com/lattice0/flutter_workspace/blob/master/flutter_bug/android/app/build.gradle#L66
What could be done here? I really need this stuff to be in a workspace otherwise
rust-analyzer
goes completely crazy.The text was updated successfully, but these errors were encountered: