I try to install app via adb and get a error:
$ ./adb -d install /Users/dimon/Projects/one-place/myprogram/platforms/android/build/outputs/apk/android-debug.
I tried all the steps described above but failed.
Like, connect to the internet with Data connection
, Turning off the MIUI optimization and reboot
, Turning on Install via USB
from Security settings etc.
Then I found a solution.
Steps:
China-Shanghai
serverInstall via USB
from Developer option.That's all.