renderscript-intrinsics-replacement-toolkit icon indicating copy to clipboard operation
renderscript-intrinsics-replacement-toolkit copied to clipboard

Can't compiled via AGP 7.1+

Open b95505017 opened this issue 4 years ago • 4 comments

It seems that it can't recognize AndroidNdkModules. Should I change any build config?

b95505017 avatar Oct 14 '21 23:10 b95505017

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.

jeanlucbr avatar Nov 16 '21 17:11 jeanlucbr

@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

b95505017 avatar Nov 16 '21 19:11 b95505017

It seems that it can't recognize AndroidNdkModules. Should I change any build config?

Did you solved this?

JosuGZ avatar Jun 25 '22 18:06 JosuGZ

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

ls89757 avatar Jul 07 '22 12:07 ls89757