从Android Studio 3.0构建时如何克服应用未安装错误? [英] How to overcome app not installed error when building from Android Studio 3.0?

查看:405
本文介绍了从Android Studio 3.0构建时如何克服应用未安装错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

要为Android Studio 3.0中的调试Android应用提供构建,请不要将其安装在具有棉花糖及以上版本的Mobile中(未经测试的Lollipop)。

For giving build for a debug Android app from Android Studio 3.0, it’s not installing in Mobile having Marshmallow and up (in Lollipop not tested).

我已经使用了Stack Overflow的许多解决方案,但仍然无法正常工作。

I have used many solutions from Stack overflow but it’s still not working.

它始终在手机上显示未安装应用

推荐答案

好,最初的问题没有足够的信息,但是我们可以得到一些信息,以得到一些评论:

Well the original question doesn´t have enough information, but we can have some info getting some comments:



  • Android Studio 3.0和compileSdkVersion 26,buildToolsVersion '26 .0.2',minSdkVersion 15,targetSdkVersion 26

  • Android studio 3.0 and compileSdkVersion 26, buildToolsVersion '26.0.2',minSdkVersion 15, targetSdkVersion 26

虚拟调试选项

将android studio从2.3升级到3.0后,我也面临着同样的问题

I am facing same issue after upgrading android studio from 2.3 to 3.0

确定消息未安装应用程序 ,将涉及多种原因,请返回Android Studio 2.3。从3.0开始是不可能的!

Ok the message "App Not Installed" will refer to multiple causes, and please returning to Android Studio 2.3. from 3.0 is not an option!

当我们从Android Studio 2.3升级到3.0时,我们会发现一些主要由支持库引起的配置问题,这将导致我们的应用程序

When we upgrade from Android Studio 2.3 to 3.0 we can find some configuration issues caused mainly by the support libraries, that will cause that our application could not be installed.

为避免此问题,我们需要使Android Studio 3.0+中的缓存无效,然后将解决该问题。

To avoid this problem we need to invalidate cache in Android Studio 3.0+ and the problem will be solved.

请尝试此选项。

这篇关于从Android Studio 3.0构建时如何克服应用未安装错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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