OK, with this NDK it is working. Would be nice if this will be written in the Readme
I am not sure where this version is pinned, is it in
or somehow derived from build.gradle
config.
Donât know much about Android build system. @Hocuri any idea how can NDK version be updated?
I canât edit the first post. Is some able to change it to [SOLVED] ? Thx
You can mark any post in the thread as a solution.
If there is no such button, maybe itâs because itâs âGuidesâ category and guides are not supposed to have a solution?
SOLUTION: Use the very old 21b NDK
Yes, itâs probably somewhere in the 6200805_latest
:
- The download page at https://developer.android.com/studio/index.html#command-tools#command-tools under âCommand line tools onlyâ links
8092744_latest.zip
today, so obviously these versions change - AFAIK think that the
build.gradle
isnât used at all at this point of building yet, and also I canât find anything hinting to an NDK version in it.
No idea how fix the build problems with the newer versions so that we can upgrade.
Nice, finally !! And thanks @link2xt for chiming in and having the right intuition (or knowledge)!
Totally. We already have
Currently ndk20b is the minimum required version. Newer versions will likely work, however, are not tested and not used in official releases, in general, changes on the ndk-version should be done with care.
which we can improve; alternatively, we could add a Troubleshooting entry.
Sth. like:
+Use NDK version r22b (22.1.7171670). Versions that are a bit newer
+or older will also work, but if your version is too new or too old, you will get
+a build error like TODO which of your error messages was caused by the wrong NDK?
Currently ndk20b is the minimum required version.
-Newer versions will likely work, however, are not tested and not used
-in official releases, in general, changes on the ndk-version should be
-done with care.
@LeOS-GSI What do you think about the proposed readme change, and which of your error messages was caused by the wrong NDK?
Edit: I also already created a PR on GitHub, you can also comment there: Improve readme by Hocuri ¡ Pull Request #2285 ¡ deltachat/deltachat-android ¡ GitHub
@LeOS-GSI ping - do you think that with Improve readme by Hocuri ¡ Pull Request #2285 ¡ deltachat/deltachat-android ¡ GitHub the this problem wouldnât have occured?
Support for NDK r23c (current LTS release) has been added:
Newer NDKs do not work because of dropped androideabi16-clang compilers. Using newer NDK means dropping support for Android 4 and itâs not an option for Delta Chat.