Android Packaging ETC1 Error_Unknown

Hello! I’m an inept noob in porting to Android. I ran into a problem that I can’t solve for several weeks.
When assembling the package of my prototype using CodeWorks in various formats (ETC1, ATC and others), the engine constantly gives an error PackagingResults: Error: Unknown Error.
I reinstalled CodeWorks several times, checked all the license agreements and individual elements of the prototype, but still could not find the source of the error. Below is a part of the log:

UATHelper: Packaging (Android (ETC1)): ==== Writing new file to D:\Unreal Engine\Unreal Projects\DwarfShooter\Intermediate/Android/APK\src\com\epicgames\ue4\ ====
UATHelper: Packaging (Android (ETC1)): Copying new .so D:\Unreal Engine\UE_4.21\Engine\Binaries\Android\ file to jni folder…
UATHelper: Packaging (Android (ETC1)): Preparing native code for debugging…
UATHelper: Packaging (Android (ETC1)): ERROR: D:\Unreal Engine\NvidiaCodeWorks\android-ndk-r14b/ndk-build.cmd failed with args APP_ABI="armeabi-v7a " NDK_DEBUG=1
UATHelper: Packaging (Android (ETC1)): (see C:\Users\Red\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Unreal+Engine+UE_4.21\Log.txt for full exception trace)
UATHelper: Packaging (Android (ETC1)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Android (ETC1)): BUILD FAILED
PackagingResults: Error: Unknown Error

Any help or advice would be appreciated.