<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">I managed to solved the problem as follows:</div><div class=""><br class=""></div><div class="">I downloaded android command line tools from the official Android Studio web site as an archive.</div><div class=""><br class=""></div><div class="">The archive should be extracted into a folder “tools” which should be placed into android sdk directory.</div><div class=""><br class=""></div><div class="">The android sdk directory will probably already contain a folder “tools”.</div><div class=""><br class=""></div><div class="">One should substitute the default android sdk “tools” with the android command line tools downloaded as a standalone package.</div><div class=""><br class=""></div><div class="">The reason for this is that “tools/android” tool is deprecated in modern Android Studio distributions and doesn’t work as it used to.</div><div class=""><br class=""></div><div class="">I guess this issue should be considered by developers of VTK in order to ged rid of difficulties on the user side since Google doesn’t distribute proper android command line tools with Android Studio any more.</div><div><blockquote type="cite" class=""><div class="">On 12. Apr 2017, at 16:21, Alexander Novinskiy <<a href="mailto:alexander.novinskiy@gmail.com" class="">alexander.novinskiy@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Dear VTK users ,<div class=""><br class=""></div><div class="">When building VTK v7.1 on my Mac if came across the following problem.</div><div class=""><br class=""></div><div class="">On the configuration phase I chose building for Android and pointed out the location of the “android” tool as was demanded during the VTK build configuration process.</div><div class=""><br class=""></div><div class="">When ran “make” command my VTK build failed on building NativeVTK with the following message:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(255, 60, 255); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Scanning dependencies of target NativeVTK</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(52, 188, 38); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #c0c0c0" class="">[100%] </span><span style="font-variant-ligatures: no-common-ligatures" class="">Building CXX object Examples/Android/NativeVTK/jni/CMakeFiles/NativeVTK.dir/main.cxx.o</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(52, 188, 38); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #c0c0c0" class="">[100%] </span><span style="font-variant-ligatures: no-common-ligatures" class="">Building C object Examples/Android/NativeVTK/jni/CMakeFiles/NativeVTK.dir/Users/alex/Library/Android/sdk/ndk-bundle/sources/android/native_app_glue/android_native_app_glue.c.o</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(46, 231, 33); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #c0c0c0" class="">[100%] </span><span style="font-variant-ligatures: no-common-ligatures" class="">Linking CXX shared library ../libs/armeabi/libNativeVTK.so</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(192, 192, 192); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[100%] Built target NativeVTK</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(255, 60, 255); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Scanning dependencies of target NativeVTK-ant-configure</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(192, 192, 192); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">*************************************************************************</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(192, 192, 192); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">The "android" command is deprecated.</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(192, 192, 192); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">For manual SDK, AVD, and project management, please use Android Studio.</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(192, 192, 192); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(192, 192, 192); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">*************************************************************************</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(192, 192, 192); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Invalid or unsupported command "update project --name NativeVTK --path /Users/alex/Development/GameDev/KitWare/VTK/Examples/Android/NativeVTK --target android-21"</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(192, 192, 192); background-color: rgba(0, 0, 0, 0.882353); min-height: 21px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(192, 192, 192); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Supported commands are:</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(192, 192, 192); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">android list target</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(192, 192, 192); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">android list avd</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(192, 192, 192); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">android list device</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(192, 192, 192); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">android create avd</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(192, 192, 192); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">android move avd</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(192, 192, 192); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">android delete avd</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(192, 192, 192); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">android list sdk</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(192, 192, 192); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">android update sdk</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(192, 192, 192); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">make[5]: *** [Examples/Android/NativeVTK/CMakeFiles/NativeVTK-ant-configure] Error 2</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(192, 192, 192); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">make[4]: *** [Examples/Android/NativeVTK/CMakeFiles/NativeVTK-ant-configure.dir/all] Error 2</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(192, 192, 192); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">make[3]: *** [all] Error 2</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(192, 192, 192); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">make[2]: *** [CMakeExternals/Prefix/vtk-android-21-armeabi/src/vtk-android-stamp/vtk-android-build] Error 2</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(192, 192, 192); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">make[1]: *** [CMakeFiles/vtk-android.dir/all] Error 2</span></div><div style="margin: 0px; font-size: 16px; line-height: normal; font-family: Monaco; color: rgb(192, 192, 192); background-color: rgba(0, 0, 0, 0.882353);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">make: *** [all] Error 2</span></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Can anyone give me a hint about getting around this problem?</div><div class=""><br class=""></div><div class="">With kind regards,</div><div class=""><br class=""></div><div class="">Alexander Novinskiy.</div></div></div></div></blockquote></div><br class=""></body></html>