Bounty 0.01 btc. Android demo app bug #51
Comments
Copy the .so file into app/src/main/jniLibs/mySharedLib.so instead of libs Alternatively, use Android Studio to create a new module of type 'import .jar/.aar', then in your app/build.gradle file's
As a PR cannot fix the issue (steps are being performed manually). See https://donate.matthewnelson.io to send reward |
Thank you for the suggestions!
Can you pls clarify what do you mean by this? The repo is automated with docker containers, it has READMEs, plus it is possible to modify gradle files. The bounty concept is to get the task solved by a PRs, not to get others work on it and get a full reward - since without an actual PR the reward must be split between you and those who will do the PR and show that the solution works (and had found which of the possible solutions had actually worked). |
The steps to produce the issue are to manually copy the compiled .aar into the libs folder. As those steps are performed manually, a PR cannot be made to fix the issue due to the issue not being in the code base, but in the steps of importing the compiled native shared library. I would strongly advise against merging a PR for a fix to this issue, too, as the PR would be one of compiling the binaries and simply adding a module to import the produced .aar properly. The potential for malicious code injection is present as the docker build is not setup to be reproducable making it impossible to verify the build, and I would definitely want someone on your team to compile the binaries. |
Not sure I understand why the situation you described applies. This is the script that should be modified according to your first suggestion https://github.com/rgb-org/rgb-sdk/blob/master/bindings/android/build_rust.sh#L21 BTW, as you can see a correct As for the second suggestion, nothing prevents from doing PR with creating that additional project inside the repo and providing instructions to replicate successful build in the README, if manual The solution should be a PR such that the app that will run on the simulator when doing |
тут вопрос на самом деле в другом. Что вот эта штука |
Communication in our repos is held in English, so please respect our rules and use English language for your comments. |
@UkolovaOlga with all respect i don't understand what are you waiting for |
do you have the same? |
looks like i've fixed stuff you're talking about. lady hurry up a little bit please , we're talking about money here. i can make pr right now , and here's firebase report
looks like you also forgot to init/load a library, but it's a different story. |
PR should be submitted and then it will be reviewed, as pointed out in the initial issue description. |
i didn't say it is. It's about that the app will still not work after you merge the pr. ok |
If the PR does not solve the described problem, no bounty will be paid (which is a pretty logical consequence). |
last error turns out to be simple:
and really i do not see it too. |
Agenda: 1. Brief demo of RGB working with real-life software (Bitcoin Pro tool and WIP on MyCitadel wallet that are being developed by Pandora Core). 2. Proposal to create standards that would cover the ways to visually represent the client-side functionality that is not a part of Core RGB Library and protocol. 3. Technical update on the progress. 4. RGB workflow diagram RGB-WG/FAQ#1 5. Android bounty bug RGB-WG/rgb-sdk#51 6. Other bugs and issues raised by the core dev team and external contributors.
https://github.com/alexeyneu/rgb-sdk/tree/test |
+ 20806 files? 20 thousand new files after the checkout? Are you joking? |
And sorry, I do not need the presence of the library in the .aar. It was already there. I need the app launching and running. Please stop wasting my time and spamming until you get the solution ready. |
@dr-orlovsky good luck. see you soon |
Originally reported by @Jasonvdb here #47
Steps to reproduce:
artifacts/android/library-debug.aar
intodemo/android/app/libs/
/demo/android
in Android Studio and build projectError message
Possible cause of the bug
libc++_shared
is not part of the APK, while present in theaar
produced from bindings.With static lib it can't find a function from
libc++_shared
. The library is included into the.aar
file, so DemoApp gradle due to some reason does not include it into the resulting apk.Attempts to fix the bug
#48
Contribution terms
For more details feel free to reach out to @UkolovaOlga on telegram (@dr_ukolova) or drop a message in IRC channel (#lnp-bp @freenode).
The text was updated successfully, but these errors were encountered: