Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compiled via AGP 7.1+ #10

Open
b95505017 opened this issue Oct 14, 2021 · 4 comments
Open

Can't compiled via AGP 7.1+ #10

b95505017 opened this issue Oct 14, 2021 · 4 comments

Comments

@b95505017
Copy link

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

@jeanlucbr
Copy link
Collaborator

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
Copy link
Author

@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
Copy link

JosuGZ commented Jun 25, 2022

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

Did you solved this?

@ls89757
Copy link

ls89757 commented Jul 7, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants