Android和QUOT;的Hello World"教程程序。错误:[解析错误]有分析包有问题 [英] Android "Hello World" tutorial program. Error: [Parse Error] There is a problem parsing the package

查看:146
本文介绍了Android和QUOT;的Hello World"教程程序。错误:[解析错误]有分析包有问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天,我决定开始为Android操作系统开发。我去他们的网站上,下载了所有必需的软件(Eclipse中,而Android SDK,ADT Eclipse插件等)。我跟着附带的Hello World的教程(链接文本)。我有它使用Android SDK 2.1。
该计划的工作几乎完美无缺。它运行在Android模拟器罚款,但在任何Android手机不安装。我没有自己的Andr​​oid手机,所以我有三个朋友试图安装在他们的程序。结果
我们用的手机是:

Today I decided to start developing for the Android OS. I went on their website, downloaded all the required software (Eclipse, The Android SDK, ADT Plugin for Eclipse etc.). I followed the "Hello World" tutorial supplied (link text). I have it using the Android SDK 2.1. The program worked almost flawlessly. It runs fine on the Android emulator, but doesn't install on any Android phones. I don't own an Android phone, so I had three of my friends try to install the program on theirs.
The phones we used were:


    运行
  1. 根植G1 2.1

  2. 的Droid运行2.1

  3. 另一个Droid的运行2.1

我通过电子邮件发送的.apk文件到自己在Gmail,并通过Android模拟器访问它。它跑并安装包就好了。然而,当我的朋友们试图在手机上安装它,他们都遇到了这样的错误:
[解析错误]有分析包有问题

I emailed the .apk to myself in gmail, and accessed it via the Android emulator. It ran and installed the package just fine. However, when my friends tried to install it on their phones, they were all met with this error: "[Parse Error] There is a problem parsing the package"

我想知道如果任何人有任何建议,什么可能是错误的。感谢您的帮助。

I'm wondering if anyone has any suggestions as to what may be wrong. Thanks for your help.

推荐答案

你是如何安装包?结果
你应该:

How are you installing the package ?
You should :


  • 从Android Market安装AppManager的。

  • 让你的SD卡上的.apk文件。

  • 开始的AppManager并单击菜单按钮。

  • 选择安装,安装应用程序。

如果应用程序没有显示出来,请选择全SD看到所有的SD卡应用。

If the application doesn't show up, select "Whole SD" to see all the SD card applications.

这篇关于Android和QUOT;的Hello World"教程程序。错误:[解析错误]有分析包有问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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