-
Notifications
You must be signed in to change notification settings - Fork 73
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
Support and add a sample/test showing how to include a Rust binary like $name
instead of a library like lib$name.so
#30
Comments
Can you elaborate here? We should be outputting |
According to my test, it didn't work until we used some patch like shadowsocks/shadowsocks-android@5ea3e35. |
Can you elaborate on "didn't work"? Sorry, just trying to understand what the issue is. |
Yeah as said in title, the output binary is named |
I understand that the code I changed in #31 is supposed to do exactly that but somehow that did not work. |
Okay I guess the issue is that we are compiling a binary instead of libraries like most Android apps do. I wonder what's the easiest way to do this with this plugin then. Currently we are using a convoluted workaround: shadowsocks/shadowsocks-android@833b35e |
$name
instead of a library like lib$name.so
Should somebody see this, I think we can support this without a workaround right now using |
I am not sure how this relates to compiling a binary? |
If I understand correctly, the issue is that |
I think last time I checked, the binary is not extracted from apk if the filename does not match |
OK, I took a look at this. The way I'd like to support binaries is as follows:
|
gradle.plugin.org.mozilla.rust-android-gradle:plugin:0.8.3
. Android gradle plugin 4.0.0-beta01.The text was updated successfully, but these errors were encountered: