如何在Android Studio上修复此错误?在Android Studio 3.2.1上安装APK时出错

时间:2019-05-08 06:50:44

标签: android-studio android-install-apk

我正在我们的设备上构建应用程序,并且错误

  

com.android.ddmlib.AdbCommandRejectedException:设备未授权。请检查设备上的确认对话框。   安装APK时出错

您能帮我吗?

我在终端上尝试了The certificate that is attached to your distribution doesn't cover the alternate domain name (CNAME) that you're trying to add. For more details, see: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-requirements (Service: AmazonCloudFront; Status Code: 400; Error Code: InvalidViewerCertificate;sudo adb kill server,但是又失败了

我运行

sudo adb start-server

输出:

sudo adb kill-server & sudo adb start-server

我希望在运行[2] 12133 * daemon not running. starting it now on port 5037 * * daemon started successfully * [1] Done sudo adb kill-server [2]+ Done sudo adb kill-server 之后,该应用程序将运行。但是失败了

0 个答案:

没有答案