Can't compiled via AGP 7.1+
Opened this issue · 4 comments
b95505017 commented
It seems that it can't recognize AndroidNdkModules. Should I change any build config?
jeanlucbr commented
I suspect that you don't have the Android NDK installed. Please check and let us know, if this is still an issue for you.
I'll add something to the documentation.
b95505017 commented
@jeanlucbr Already installed.
CMake Warning at /Users/yuhsuan/Library/Android/sdk/ndk/24.0.7856742/build/cmake/android-legacy.toolchain.cmake:418 (message):
An old version of CMake is being used that cannot automatically detect
compiler attributes. Compiler identification is being bypassed. Some
values may be wrong or missing. Update to CMake 3.19 or newer to use
CMake's built-in compiler identification.
Call Stack (most recent call first):
/Users/yuhsuan/Library/Android/sdk/ndk/24.0.7856742/build/cmake/android.toolchain.cmake:54 (include)
/Users/yuhsuan/Documents/ikala/renderscript-intrinsics-replacement-toolkit/renderscript-toolkit/.cxx/Debug/6q3c5c6z/x86/CMakeFiles/3.18.1-g7d599d4/CMakeSystem.cmake:6 (include)
/Users/yuhsuan/Documents/ikala/renderscript-intrinsics-replacement-toolkit/renderscript-toolkit/.cxx/Debug/6q3c5c6z/x86/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
CMake Error at CMakeLists.txt:117 (include):
include could not find load file:
AndroidNdkModules
JosuGZ commented
It seems that it can't recognize AndroidNdkModules. Should I change any build config?
Did you solved this?
ls89757 commented
I have faced the same issue when compiling the Telegram for the Android assembleDebug
task using my PC on Linux. I have checked the AndroidNdkModules.cmake is in the directory of SDK of Android.
There is a grade scan link describing the details. https://scans.gradle.com/s/6jm4gxlfheywc