Android的错误:应用程序未安装在手机上? [英] Android error: Application is not installed on your phone?

查看:132
本文介绍了Android的错误:应用程序未安装在手机上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过学习萨姆斯这个自学Android在24个小时。

I am learning this via Sams Teach Yourself Android in 24 hours.

这是真的很奇怪,我运行仿真器中的应用程序,我让我的启动画面(只是一些蹩脚的文字真),那么我preSS主页按钮,然后点击我的应用程序的图标,它给了我应用程序没有安装你的手机关于

This is really strange, I run the app in the emulator and I get my splash screen (just some crappy text really) then I press the home button, and click on my app's icon and it gives me "Application is not installed on your phone"

我走进模拟器设置 - >应用程序和它的存在!

I went into the emulators settings->applications and it's there!

我打扫的项目,从仿真器卸载它并重新运行它。同样该死的问题。

I cleaned the project, uninstalled it from the emulator and re-ran it. Same damn problem.

(项目很简单:
6activities,每个人都有独特的文本,因为它启动时它显示飞溅活动
我还没有连接其他的活动......仅此)

(project is simple: 6activities, each has a unique text, as it starts it shows the splash activity I have not even connected the other activities... just this)

您可以在 http://elxotica.com/TriviaQuiz.rar

推荐答案

好,知道了去作者的网站工作后,下载的支持code和去在它和一行行比较吧。

Ok, got it working after going to the authors website, downloading the support code and going over it and comparing it line by line.

基本上在我的清单文件我有

Basically in my manifest file I had

<activity android:name=".QuizSplashActivity"
                  android:label="@string/app_name">

和下面我再次有

<activity android:name="QuizSplashActivity"></activity>

我认为是必要的,但它看起来像不应申报两次。

which I thought was needed, but it looks like that should not be declared twice.

我解决了问题,但我不是100%肯定的原因:((

I fixed the problem but am not 100% sure of the cause :((

这篇关于Android的错误:应用程序未安装在手机上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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