Vulkan Android Samples Upgrade Problems

Will keep updating…

Android Vulkan Tutorials

https://github.com/googlesamples/android-vulkan-tutorials

NDK r18

No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
Could not find com.android.tools.build:aapt2:3.2.1–4818971.
CMake Error at D:/Project/Android/android-vulkan-tutorials-master/tutorial06_texture/.cdep/modules/cdep-dependencies-config.cmake:165 (message):
 Android runtime ‘’ is not supported by com.github.ggfan:shaderc:0.0.1.
 Supported: gnustl c++ CMAKE_SYSTEM_VERSION=24 ANDROID_SYSTEM_VERSION=
 CMAKE_ANDROID_STL_TYPE= ANDROID_STL=c++_static
In file included from D:\Project\Android\android-vulkan-tutorials-master\tutorial06_texture\app\src\main\cpp\CreateShaderModule.cpp:20:
In file included from C:/Users/letss/.cdep/exploded/com.github.ggfan/shaderc/0.0.1/shaderc-headers.zip/include\shaderc/shaderc.hpp:18:
D:/Android/Sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include\memory:2321:5: error: delete called on ‘shaderc::CompileOptions::IncluderInterface’ that is abstract but has non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
 delete __ptr;
 ^
D:/Android/Sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include\memory:2634:7: note: in instantiation of member function ‘std::__ndk1::default_delete<shaderc::CompileOptions::IncluderInterface>::operator()’ requested here
 __ptr_.second()(__tmp);
 ^
D:/Android/Sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include\memory:2588:19: note: in instantiation of member function ‘std::__ndk1::unique_ptr<shaderc::CompileOptions::IncluderInterface, std::__ndk1::default_delete<shaderc::CompileOptions::IncluderInterface> >::reset’ requested here
 ~unique_ptr() { reset(); }
 ^
C:/Users/letss/.cdep/exploded/com.github.ggfan/shaderc/0.0.1/shaderc-headers.zip/include\shaderc/shaderc.hpp:133:3: note: in instantiation of member function ‘std::__ndk1::unique_ptr<shaderc::CompileOptions::IncluderInterface, std::__ndk1::default_delete<shaderc::CompileOptions::IncluderInterface> >::~unique_ptr’ requested here
 CompileOptions() { options_ = shaderc_compile_options_initialize(); }
 ^
1 error generated.

Add missing virtual destructor.

class IncluderInterface {
...
virtual ~IncluderInterface() = default;
};
clang++.exe: error: no such file or directory: ‘D:/Android/Sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/libs/x86_64/libc++.a’

Delete .externalNativeBuild/cmake and rebuild.