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

ADB_EXECUTABLE not found when building with Android Studio #1075

Closed
mpatalberta opened this issue Jun 19, 2024 · 3 comments
Closed

ADB_EXECUTABLE not found when building with Android Studio #1075

mpatalberta opened this issue Jun 19, 2024 · 3 comments

Comments

@mpatalberta
Copy link

Execution failed for task ':app:buildCMakeDebug[arm64-v8a]'.

com.android.ide.common.process.ProcessException: ninja: Entering directory `D:\spock\Vulkan-Samples\build\android_gradle\app\build-native\Debug\4x4g2r6w\arm64-v8a'
[0/2] Re-checking globbed directories...
[1/4] Update assets in external storage
FAILED: app/CMakeFiles/sync.assets.stamp D:/spock/Vulkan-Samples/build/android_gradle/app/build-native/Debug/4x4g2r6w/arm64-v8a/app/CMakeFiles/sync.assets.stamp
cmd.exe /C "cd /D D:\spock\Vulkan-Samples\build\android_gradle\app\build-native\Debug\4x4g2r6w\arm64-v8a\app && C:\Users\PMH786\AppData\Local\Android\Sdk\cmake\3.22.1\bin\cmake.exe -DCMAKE_MODULE_PATH=D:/spock/Vulkan-Samples/bldsys/cmake/module D:/spock/Vulkan-Samples/bldsys/cmake D:/spock/Vulkan-Samples/bldsys/cmake/module -DFOLDER_DIR=D:/spock/Vulkan-Samples/app/../assets/. -DDEVICE_DIR=/sdcard/Android/data/com.khronos.vulkan_samples/files/assets/ -P D:/spock/Vulkan-Samples/bldsys/cmake/android_sync_folder.cmake"
CMake Error at C:/Users/PMH786/AppData/Local/Android/Sdk/cmake/3.22.1/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Adb (missing: ADB_EXECUTABLE) (Required is at least version
"1.0.39")
Call Stack (most recent call first):

C:/Users/PMH786/AppData/Local/Android/Sdk/cmake/3.22.1/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
D:/spock/Vulkan-Samples/bldsys/cmake/module/FindAdb.cmake:50 (find_package_handle_standard_args)
D:/spock/Vulkan-Samples/bldsys/cmake/android_sync_folder.cmake:26 (find_package)

@SaschaWillems
Copy link
Collaborator

That message clearly states that ADB cannot be found. Is it installed (e.g. via the Android SDK)? You can simply test this by opening a command prompt and trying to run ADB from there. If that doesn't work ADB is either not installed, or not in your path.

@mpatalberta
Copy link
Author

After some work i finally got the path enviroment correct

@mpatalberta
Copy link
Author

thanks

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

2 participants