Search code examples
androidgdbcygwinandroid-ndkgdbserver

Cannot find adb tool during running ndk-gdb


I am building my android ndk application by using ndk-build commend and it works fine but, when i use ndk-gdb commend from cygwin i get a following error ;

    ERROR: The 'adb' tool is not in your path.
           You can change your PATH variable, or use
           --adb=<executable> to point to a valid one.

Please help me out to solve this problem.


Solution

  • Its seems to be like, your instruction command can't find your adb executable,

    So either set environment path for adb.exe or give full path of your adb.exe in command..