I have understood. The problem was because of incompatible NDK version. I used 28.0.12674087, now I installed 26.1.10909125 using the command "sdkmanager", and now everything works correctly.