Android Studio未部署应用 [英] Android Studio Not Deploying App

查看:164
本文介绍了Android Studio未部署应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我当前拥有最新版本的Android Studio,并且正在尝试将应用程序部署到运行Android 5.0.1 Lollipop的手机上.构建完成后,终端会显示apk已安装到手机上,并且状态指示它正在运行.但是,我的手机上什么也没有显示(没有正在运行的应用程序,并且该应用程序未显示在已安装的应用程序列表中).我曾尝试在Studio设置中禁用自动运行,但这无济于事.有任何想法为什么要这样做吗?我也重新安装了adb驱动程序,以防万一.还要注意,即使在Studio生成的默认模板应用程序上也会发生这种情况.

I currently have the latest version of Android Studio and I'm trying to deploy an app onto my phone running Android 5.0.1 Lollipop. After building, the terminal shows that the apk is being installed onto the phone and the status indicates that it is running. However, nothing shows up on my phone (no running applications and the app does not show up in the installed applications list). I've tried disabling auto-run in studio settings but it doesn't help. Any ideas why it's doing this? Also I reinstalled the adb driver just in case that was the cause. It might be helpful to note also that this happens even on the default template apps generated by studio.

推荐答案

尝试关闭即时运行

文件-设置-搜索即时运行,取消选择所有选项

File - Settings - Search Instant Run , unselect all the options

希望这会有所帮助.

这篇关于Android Studio未部署应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆