I try to use "Runtime: android" with my cmake project. It generates the following string: /home/v/compile/2048_NG/abuild> /usr/bin/cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Debug /home/v/compile/2048_NG -DCMAKE_TOOLCHAIN_FILE=file:///usr/share/ECM/toolchain/Android.cmake -DANDROID_ABI=armeabi-v7a -DANDROID_NDK=file:/home/v/compile/android-ndk-r17/ -DANDROID_TOOLCHAIN=arm-linux-androideabi -DANDROID_API_LEVEL=14 -DANDROID_ARCHITECTURE=arm -DANDROID_SDK_BUILD_TOOLS_REVISION=21.1.1 CMake don't understand file:/// notation and crash.
Git commit 815a84a7a59c1b0c47d92d348606d0184f25f39f by Aleix Pol, on behalf of Björn Stresing. Committed on 05/12/2019 at 00:30. Pushed by apol into branch 'master'. Pass the android toolchain file path to CMake as a local file path not as a URI Summary: BUG: 395763 Reviewers: apol Reviewed By: apol Subscribers: kdevelop-devel Tags: #kdevelop Differential Revision: https://phabricator.kde.org/D21936 M +15 -3 plugins/android/androidpreferences.ui M +5 -5 plugins/android/androidruntime.cpp https://invent.kde.org/kde/kdevelop/commit/815a84a7a59c1b0c47d92d348606d0184f25f39f