Android SDK中不安装的软件包 [英] Android SDK Not Installing Packages

查看:250
本文介绍了Android SDK中不安装的软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是Android SDK中遇到了麻烦,而我运行它作为管理员,当我启动它。

I am having trouble using the android SDK, and I am running it 'As Administrator' when I start it up.

下面是一个很好的例子,刚才我选择的项目

Here is a good example, just now I selected the item

由索尼爱立信移动通信公司(EDK)1.2

'EDK 1.2 by Sony Ericsson Mobile Communications AB'

它说,它是安装,并在最后我有我的列表中两次这样的,

It says it was installing, and at the end I have it in my list twice like this,

EDK 1.2 by Sony Ericsson Mobile Communications AB 10 1     Not Installed
EDK 1.2 by Sony Ericsson Mobile Communications AB 10 1     Installed

这似乎混淆。在这种情况下,当我刷新列表它说,该项目已安装,但我有很多情况下,它只是拒绝安装的项目。

It seems to be confused. In this case when I refreshed the list it said that the item was installed, but I am having a lot of cases where it just refuses to install the item.

我也有其中的列表它说的是安装了一个项目的情况下,但是当我回来后,它没有安装。

I also had a case where in the list it said an item was installed, but when I came back later it wasn't installed.

推荐答案

这是一个名称不匹配的问题也发生在你下载其它的附加件,如插件,dual_screen_apis-kyocera_corporation,插件-galaxy_tab-samsung_electronics和
插件-REAL3D,LGE,您可以通过以下步骤解决这个问题:

This is a "name doesn't match" issue which also happens when you download other add-ons like addon-dual_screen_apis-kyocera_corporation, addon-galaxy_tab-samsung_electronics and addon-real3d-lge, you can fix it by the following steps:

步骤0:如果你已经下载的多个副本相同的插件,然后只留一个并删除所有其他

Step 0: if you've downloaded more than one copy of the same add-on then keep only one and remove all the others.

Android SDK:\add-ons\addon-edk_1_2-sony_ericsson_mobile_communications_ab-10
Android SDK:\add-ons\addon-edk_1_2-sony_ericsson_mobile_communications_ab-10-1 (remove it)

步骤1.找出真正的附加名称和供应商名称

Step 1. Find out the real add-on name and the vendor name

打开附加的source.properties为文本文件,你可以找到的URL库

Open the add-on's source.properties as a text file and you can find the url to the repository

Android SDK中:\\插件\\插件 - edk_1_2-sony_ericsson_mobile_communications_ab-10 \\ source.properties

Android SDK:\add-ons\addon-edk_1_2-sony_ericsson_mobile_communications_ab-10\source.properties

...
Pkg.SourceUrl=http\://developer.sonyericsson.com/edk/android/repository.xml
...

然后浏览网址:

http://developer.sonyericsson.com/edk/android/repository.xml

...
<sdk:name>EDK 1.2</sdk:name>
...
<sdk:vendor>Sony Ericsson Mobile Communications AB</sdk:vendor>
...

步骤2.编辑附加匹配步骤1中找到名字的清单。

Step 2. Edit the manifest of the add-on to match the names found in step 1.

Android SDK中:\\插件\\插件 - edk_1_2-sony_ericsson_mobile_communications_ab-10 \\ manifest.ini

Android SDK:\add-ons\addon-edk_1_2-sony_ericsson_mobile_communications_ab-10\manifest.ini

name=EDK 1.2
vendor=Sony Ericsson Mobile Communications AB

然后重新启动SDK管理器,你将看到SDK被标记为已安装

Then restart the SDK Manager you will see that the SDK is marked as "Installed"

问候

紫藤陈

这篇关于Android SDK中不安装的软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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