在Android SDK上安装指向奇怪的Linux软件包的软件包

时间:2012-05-01 00:58:15

标签: android linux install

我正在尝试安装SDK Manager内部显示的Android 2.3.3 API 10(默认情况下不是某些外部程序包)。

我点击接受并且无法安装,下面是SDK Manager溢出的整个日志:

Fetching https://dl-ssl.google.com/android/repository/addons_list-1.xml
Validate XML
Parse XML
Fetched Add-ons List successfully
Fetching URL: https://dl-ssl.google.com/android/repository/repository-6.xml
Validate XML: https://dl-ssl.google.com/android/repository/repository-6.xml
Parse XML:    https://dl-ssl.google.com/android/repository/repository-6.xml
  Found SDK Platform Android 1.1, API 2, revision 1 (Obsolete)
  Found SDK Platform Android 1.5, API 3, revision 4
  Found SDK Platform Android 1.6, API 4, revision 3
  Found SDK Platform Android 2.0, API 5, revision 1 (Obsolete)
  Found SDK Platform Android 2.0.1, API 6, revision 1 (Obsolete)
  Found SDK Platform Android 2.1, API 7, revision 3
  Found SDK Platform Android 2.2, API 8, revision 3
  Found SDK Platform Android 2.3.1, API 9, revision 2 (Obsolete)
  Found SDK Platform Android 2.3.3, API 10, revision 2
  Found SDK Platform Android 3.0, API 11, revision 2
  Found SDK Platform Android 3.1, API 12, revision 3
  Found SDK Platform Android 3.2, API 13, revision 1
  Found SDK Platform Android 4.0, API 14, revision 3
  Found SDK Platform Android 4.0.3, API 15, revision 3
  Found ARM EABI v7a System Image, Android API 14, revision 2
  Found ARM EABI v7a System Image, Android API 15, revision 2
  Found Samples for SDK API 7, revision 1
  Found Samples for SDK API 8, revision 1
  Found Samples for SDK API 9, revision 1 (Obsolete)
  Found Samples for SDK API 10, revision 1
  Found Samples for SDK API 11, revision 1
  Found Samples for SDK API 12, revision 1
  Found Samples for SDK API 13, revision 1
  Found Samples for SDK API 14, revision 2
  Found Samples for SDK API 15, revision 2
  Found Android SDK Platform-tools, revision 11
  Found Android SDK Tools, revision 19
  Found Documentation for Android SDK, API 15, revision 2
  Found Sources for Android SDK, API 14, revision 1
  Found Sources for Android SDK, API 15, revision 2
  Found Android Support, revision 8
Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
Parse XML:    https://dl-ssl.google.com/android/repository/addon.xml
  Found Google APIs, Android API 3, revision 3
  Found Google APIs, Android API 4, revision 2
  Found Google APIs, Android API 5, revision 1 (Obsolete)
  Found Google APIs, Android API 6, revision 1 (Obsolete)
  Found Google APIs, Android API 7, revision 1
  Found Google APIs, Android API 8, revision 2
  Found Google APIs, Android API 9, revision 2 (Obsolete)
  Found Google APIs, Android API 10, revision 2
  Found Google APIs, Android API 11, revision 1
  Found Google APIs, Android API 12, revision 1
  Found Google APIs, Android API 13, revision 1
  Found Google APIs, Android API 14, revision 2
  Found Google TV Addon, Android API 12, revision 2
  Found Google APIs, Android API 15, revision 2
  Found Google Play Licensing Library, revision 2
  Found Google Play APK Expansion Library, revision 1
  Found Google USB Driver, revision 4
  Found Google Play Billing Library, revision 1
  Found Google AdMob Ads SDK, revision 5
  Found Google Analytics SDK, revision 2
  Found Google Web Driver, revision 2
Fetching URL: http://dl.htcdev.com/sdk/addon.xml
Validate XML: http://dl.htcdev.com/sdk/addon.xml
Parse XML:    http://dl.htcdev.com/sdk/addon.xml
  Found OpenSense SDK for Tablets, Android API 12, revision 2
  Found OpenSense SDK for Phones, Android API 10, revision 2
Fetching URL: http://software.intel.com/sites/landingpage/android/addon.xml
Validate XML: http://software.intel.com/sites/landingpage/android/addon.xml
Parse XML:    http://software.intel.com/sites/landingpage/android/addon.xml
  Found Intel Atom x86 System Image, Android API 10, revision 1
  Found Intel Hardware Accelerated Execution Manager, revision 1
Fetching URL: http://www.echobykyocera.com/download/echo_repository.xml
Validate XML: http://www.echobykyocera.com/download/echo_repository.xml
Parse XML:    http://www.echobykyocera.com/download/echo_repository.xml
  Found Dual Screen APIs, Android API 8, revision 1
  Found Dual Screen APIs, Android API 10, revision 1
Fetching URL: http://developer.lgmobile.com/sdk/android/repository.xml
Validate XML: http://developer.lgmobile.com/sdk/android/repository.xml
Parse XML:    http://developer.lgmobile.com/sdk/android/repository.xml
  Found Real3D, Android API 10, revision 2
  Found Real3D, Android API 8, revision 1
Fetching URL: http://android-sdk-addons.motodevupdate.com/addons.xml
Validate XML: http://android-sdk-addons.motodevupdate.com/addons.xml
Parse XML:    http://android-sdk-addons.motodevupdate.com/addons.xml
  Found ADMIRAL, Android API 10, revision 5
  Found ATRIX2, Android API 10, revision 1
  Found Droid4, Android API 10, revision 2
  Found DroidRAZR, Android API 10, revision 5
  Found MT917, Android API 10, revision 1
  Found MotorolaPro+, Android API 10, revision 2
  Found XOOM2, Android API 13, revision 2
  Found XOOM2ME, Android API 13, revision 2
  Found XT882, Android API 10, revision 2
  Found XT928, Android API 10, revision 1
  Found defy+, Android API 10, revision 1
  Found Bionic, Android API 10, revision 2
  Found MT870, Android API 10, revision 2
  Found PHOTON, Android API 10, revision 1
  Found XOOM, Android API 11, revision 2
Fetching URL: http://innovator.samsungmobile.com/android/repository/repository.xml
Validate XML: http://innovator.samsungmobile.com/android/repository/repository.xml
Parse XML:    http://innovator.samsungmobile.com/android/repository/repository.xml
  Found GALAXY Tab, Android API 8, revision 1
Fetching URL: http://developer.sonymobile.com/edk/android/repository.xml
Validate XML: http://developer.sonymobile.com/edk/android/repository.xml
Parse XML:    http://developer.sonymobile.com/edk/android/repository.xml
  Found Sony Xperia Extensions EDK 2.0, Android API 10, revision 2
Done loading packages.
Preparing to install archives
Downloading SDK Platform Android 2.3.3, API 10, revision 2
File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-2.3.3_r02-linux.zip (Access is denied)
Downloading Samples for SDK API 10, revision 1
File not found: C:\Program Files (x86)\Android\android-sdk\temp\samples-2.3.3_r01-linux.zip (Access is denied)
Downloading Google USB Driver, revision 4
File not found: C:\Program Files (x86)\Android\android-sdk\temp\usb_driver_r04-windows.zip (Access is denied)
Skipping 'Google APIs, Android API 10, revision 2'; it depends on 'SDK Platform Android 2.3.3, API 10, revision 2' which was not installed.
Skipping 'OpenSense SDK for Phones, Android API 10, revision 2'; it depends on 'SDK Platform Android 2.3.3, API 10, revision 2' which was not installed.
Skipping 'Intel Atom x86 System Image, Android API 10, revision 1'; it depends on 'SDK Platform Android 2.3.3, API 10, revision 2' which was not installed.
Skipping 'Dual Screen APIs, Android API 10, revision 1'; it depends on 'SDK Platform Android 2.3.3, API 10, revision 2' which was not installed.
Skipping 'Real3D, Android API 10, revision 2'; it depends on 'SDK Platform Android 2.3.3, API 10, revision 2' which was not installed.
Skipping 'ADMIRAL, Android API 10, revision 5'; it depends on 'SDK Platform Android 2.3.3, API 10, revision 2' which was not installed.
Skipping 'ATRIX2, Android API 10, revision 1'; it depends on 'SDK Platform Android 2.3.3, API 10, revision 2' which was not installed.
Skipping 'Bionic, Android API 10, revision 2'; it depends on 'SDK Platform Android 2.3.3, API 10, revision 2' which was not installed.
Skipping 'defy+, Android API 10, revision 1'; it depends on 'SDK Platform Android 2.3.3, API 10, revision 2' which was not installed.
Skipping 'Droid4, Android API 10, revision 2'; it depends on 'SDK Platform Android 2.3.3, API 10, revision 2' which was not installed.
Skipping 'DroidRAZR, Android API 10, revision 5'; it depends on 'SDK Platform Android 2.3.3, API 10, revision 2' which was not installed.
Skipping 'MotorolaPro+, Android API 10, revision 2'; it depends on 'SDK Platform Android 2.3.3, API 10, revision 2' which was not installed.
Skipping 'MT870, Android API 10, revision 2'; it depends on 'SDK Platform Android 2.3.3, API 10, revision 2' which was not installed.
Skipping 'MT917, Android API 10, revision 1'; it depends on 'SDK Platform Android 2.3.3, API 10, revision 2' which was not installed.
Skipping 'PHOTON, Android API 10, revision 1'; it depends on 'SDK Platform Android 2.3.3, API 10, revision 2' which was not installed.
Skipping 'XT882, Android API 10, revision 2'; it depends on 'SDK Platform Android 2.3.3, API 10, revision 2' which was not installed.
Skipping 'XT928, Android API 10, revision 1'; it depends on 'SDK Platform Android 2.3.3, API 10, revision 2' which was not installed.
Skipping 'Sony Xperia Extensions EDK 2.0, Android API 10, revision 2'; it depends on 'SDK Platform Android 2.3.3, API 10, revision 2' which was not installed.
Done. Nothing was installed.
Preparing to install archives
Downloading SDK Platform Android 2.3.3, API 10, revision 2
File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-2.3.3_r02-linux.zip (Access is denied)
Downloading Samples for SDK API 10, revision 1
File not found: C:\Program Files (x86)\Android\android-sdk\temp\samples-2.3.3_r01-linux.zip (Access is denied)
Done. Nothing was installed.

我注意到有一些引用:“找不到文件:C:\ Program Files(x86)\ Android \ android-sdk \ temp \ samples-2.3.3_r01-linux.zip(访问被拒绝)”或某种linux.zip的东西,但我使用的是Windows 7而不是Linux操作系统。

Linux为什么要长大? Linux二进制文件不适用于Windows吗?

1 个答案:

答案 0 :(得分:12)

您必须以管理员身份运行它,因为您收到Access is denied错误。 Windows(> Vista afaik)不允许在没有它的情况下写入C:\Program Files (x86)\