Skip to content

Setting "minSdkVersion=20" makes the rust build fail #1901

Answered by fzyzcjy
TibiToz asked this question in Q&A
Discussion options

You must be logged in to vote

So the error looks like:

[        ] SEVERE:           SEVERE: STDERR:
[        ] SEVERE:           SEVERE: ld: error: cannot open crtbegin_so.o: No such file or directory
[        ] SEVERE:           SEVERE: ld: error: unable to find library -llog
[        ] SEVERE:           SEVERE: ld: error: cannot open crtend_so.o: No such file or directory
[        ] SEVERE:           SEVERE: clang-12: error: linker command failed with exit code 1 (use -v to see invocation)

Could you please try to google for this error and see whether the solutions work for you? e.g. https://stackoverflow.com/questions/6881164/crtbegin-so-o-missing-for-android-toolchain-custom-build, android/ndk#1690, etc

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@TibiToz
Comment options

@fzyzcjy
Comment options

Answer selected by TibiToz
@TibiToz
Comment options

@fzyzcjy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants