Can't Build and run

Hi there!

I using Redmi Note 10 Pro with Android 13 with Unity 2022.3.14f1,(my project still need) and I plug that Android device to USB and I also enable developer mode on the device already,

But, when I switched platform to Android and press Build and Run…
Unity freezed a bit and can’t run on that actual device,

and it said about
invalid build target or something,
I don’t know why…?

I even create a blank project for this test

What is the issue of this case?
Thanks!!!

Hello, Please provide the Editor.log to see what the full errors are.

Can you check to make sure the Android device you’re trying to install to is shown in the Build Settings:

If your device is not showing up there, open a cmd line and check to see what devices are listed using “adb devices”.

If the device is showing correctly as a target, then it could be a compatibly error with the device you’re using. The full Editor.log may have more information on why the install is failing. Additionally, you could try only creating an APK with Unity, and then try installing the APK via “adb install ” and see if that shows you the same error.

Finally, did you install the Android SDK on your own, or did you let Unity handle that? If you could check the project Preferences > External Tools to see which paths it’s using: