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

Build is broken due to Android toolchain cmake missing #44

Open
nevyn opened this issue Nov 15, 2022 · 0 comments
Open

Build is broken due to Android toolchain cmake missing #44

nevyn opened this issue Nov 15, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@nevyn
Copy link
Member

nevyn commented Nov 15, 2022

The cmake toolchain file can't be found. I'm guessing the agent image has changed, maybe it doesn't have Android on it by default anymore.

/usr/local/bin/cmake -DCMAKE_TOOLCHAIN_FILE=/Users/runner/Library/Android/sdk/ndk-bundle/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a -DANDROID_NATIVE_API_LEVEL=26 -DANDROID_BUILD_TOOLS_VERSION=29.0.2 -DANDROID_SDK=/Users/runner/Library/Android/sdk -DJAVA_HOME=/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home -DANDROID_KEYSTORE=/Users/runner/work/1/s/android.release.keystore -DANDROID_KEYSTORE_PASS=pass:*** -DANDROID_KEY_PASS=pass:*** -DANDROID_VARIANT=quest ..
CMake Warning:
  Ignoring extra path from command line:

   "/Users/runner/work/1/s/build/Studio.app/Contents/jre/jdk/Contents/Home"


CMake Error at /usr/local/Cellar/cmake/3.24.2/share/cmake/Modules/CMakeDetermineSystem.cmake:130 (message):
  Could not find toolchain file:
  /Users/runner/Library/Android/sdk/ndk-bundle/build/cmake/android.toolchain.cmake
Call Stack (most recent call first):
  CMakeLists.txt:3 (project)


CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
##[error]The process '/usr/local/bin/cmake' failed with exit code 1
##[error]CMake failed with error: The process '/usr/local/bin/cmake' failed with exit code 1
Finishing: CMake
Fund with Polar
@nevyn nevyn added the bug Something isn't working label Nov 15, 2022
@nevyn nevyn moved this to 📫 Inbox in The Alloverse Project Nov 15, 2022
@nevyn nevyn moved this from 📫 Inbox to ✅ Done in The Alloverse Project Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

1 participant