<div dir="ltr">Glad you got it working! <div><br></div><div>Google changed their build process and VTK's build process needs to be updated to reflect it. </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 13, 2017 at 8:39 AM, Alexander Novinskiy <span dir="ltr"><<a href="mailto:alexander.novinskiy@gmail.com" target="_blank">alexander.novinskiy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>I managed to solved the problem as follows:</div><div><br></div><div>I downloaded android command line tools from the official Android Studio web site as an archive.</div><div><br></div><div>The archive should be extracted into a folder “tools” which should be placed into android sdk directory.</div><div><br></div><div>The android sdk directory will probably already contain a folder “tools”.</div><div><br></div><div>One should substitute the default android sdk “tools” with the android command line tools downloaded as a standalone package.</div><div><br></div><div>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><br></div><div>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"><div>On 12. Apr 2017, at 16:21, Alexander Novinskiy <<a href="mailto:alexander.novinskiy@gmail.com" target="_blank">alexander.novinskiy@gmail.com</a><wbr>> wrote:</div><br class="m_2098665789857147309Apple-interchange-newline"><div><div style="word-wrap:break-word"><div style="word-wrap:break-word">Dear VTK users ,<div><br></div><div>When building VTK v7.1 on my Mac if came across the following problem.</div><div><br></div><div>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><br></div><div>When ran “make” command my VTK build failed on building NativeVTK with the following message:</div><div><br></div><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)"><span style="font-variant-ligatures:no-common-ligatures">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)"><span style="font-variant-ligatures:no-common-ligatures;color:#c0c0c0">[100%] </span><span style="font-variant-ligatures:no-common-ligatures">Building CXX object Examples/Android/NativeVTK/<wbr>jni/CMakeFiles/NativeVTK.dir/<wbr>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)"><span style="font-variant-ligatures:no-common-ligatures;color:#c0c0c0">[100%] </span><span style="font-variant-ligatures:no-common-ligatures">Building C object Examples/Android/NativeVTK/<wbr>jni/CMakeFiles/NativeVTK.dir/<wbr>Users/alex/Library/Android/<wbr>sdk/ndk-bundle/sources/<wbr>android/native_app_glue/<wbr>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)"><span style="font-variant-ligatures:no-common-ligatures;color:#c0c0c0">[100%] </span><span style="font-variant-ligatures:no-common-ligatures">Linking CXX shared library ../libs/armeabi/libNativeVTK.<wbr>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)"><span style="font-variant-ligatures:no-common-ligatures">[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)"><span style="font-variant-ligatures:no-common-ligatures">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)"><span style="font-variant-ligatures:no-common-ligatures">******************************<wbr>******************************<wbr>*************</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)"><span style="font-variant-ligatures:no-common-ligatures">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)"><span style="font-variant-ligatures:no-common-ligatures">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)"><span style="font-variant-ligatures:no-common-ligatures">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)"><span style="font-variant-ligatures:no-common-ligatures">******************************<wbr>******************************<wbr>*************</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)"><span style="font-variant-ligatures:no-common-ligatures">Invalid or unsupported command "update project --name NativeVTK --path /Users/alex/Development/<wbr>GameDev/KitWare/VTK/Examples/<wbr>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"><span style="font-variant-ligatures:no-common-ligatures"></span><br></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)"><span style="font-variant-ligatures:no-common-ligatures">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)"><span style="font-variant-ligatures:no-common-ligatures">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)"><span style="font-variant-ligatures:no-common-ligatures">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)"><span style="font-variant-ligatures:no-common-ligatures">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)"><span style="font-variant-ligatures:no-common-ligatures">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)"><span style="font-variant-ligatures:no-common-ligatures">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)"><span style="font-variant-ligatures:no-common-ligatures">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)"><span style="font-variant-ligatures:no-common-ligatures">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)"><span style="font-variant-ligatures:no-common-ligatures">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)"><span style="font-variant-ligatures:no-common-ligatures">make[5]: *** [Examples/Android/NativeVTK/<wbr>CMakeFiles/NativeVTK-ant-<wbr>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)"><span style="font-variant-ligatures:no-common-ligatures">make[4]: *** [Examples/Android/NativeVTK/<wbr>CMakeFiles/NativeVTK-ant-<wbr>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)"><span style="font-variant-ligatures:no-common-ligatures">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)"><span style="font-variant-ligatures:no-common-ligatures">make[2]: *** [CMakeExternals/Prefix/vtk-<wbr>android-21-armeabi/src/vtk-<wbr>android-stamp/vtk-android-<wbr>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)"><span style="font-variant-ligatures:no-common-ligatures">make[1]: *** [CMakeFiles/vtk-android.dir/<wbr>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)"><span style="font-variant-ligatures:no-common-ligatures">make: *** [all] Error 2</span></div></div><div><br></div><div><br></div><div>Can anyone give me a hint about getting around this problem?</div><div><br></div><div>With kind regards,</div><div><br></div><div>Alexander Novinskiy.</div></div></div></div></blockquote></div><br></div><br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Ken Martin PhD<div>Distinguished Engineer<br><span style="font-size:12.8px">Kitware Inc.</span><br></div><div>28 Corporate Drive<br>Clifton Park NY 12065<br><div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee.  Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message. 
Thank you.</span></div></div></div></div></div>
</div>