There was an error in unity, they say, it is not possible to install on the device. Prior to this, the device of this program was not. I created an empty project for the sake of interest, and immediately decided to build and launch it. But the error comes out:

CommandInvokationFailure: Unable to install APK to device. Please make sure the Android SDK is configured and is properly configured in the Editor. See the C: / Users / user-k576 / AppData / Local / Android / Sdk \ platform-tools \ adb.exe -s "346133e" install -r "C: \ Users \ user-k576 \ Desktop \ djvureader_2_0_0_26 \ Decb1ug. apk "stderr [adb: failed to install" ] stdout [Performing Streamed Install] exit code: 1

I reinstalled android studio, jdk, sdk, unity. But the error did not disappear. I do not know what to do. I tried everything. Build type is internal, compatibility with old sdk set. Completely demolished everything related to java, and put everything new. Project one needs to be assembled by Monday, and unity has rested and does not want to collect anything. Okay, I decided to collect separately apk. Everything went smoothly. I threw it on the phone (Xiaomi Redmi note 6 pro), I try to install it. And right away: parsing error. The most interesting thing is that unity refers to android sdk, they say that it is incorrectly configured. I went to the android studio, created an example, and assembled it and installed it on the device. Everything is working. I don’t even know where to look. I hope to help the community. Debugging is enabled. Variables are spelled out. sdk version 25.2.5, jdk 1.8.0_201

    0