eclipse Android sdk Content Loader 遇到问题

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/13355889/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 19:23:35  来源:igfitidea点击:

Android sdk Content Loader has encountered an issue

androideclipseandroid-emulatoravd

提问by Rovinsan

I got an error message when I start eclipse.

我在启动 eclipse 时收到一条错误消息。

"Android sdk Content Loader has encountered a problem.

Android sdk Content Loader 遇到问题

parseSdkContent failed"

parseSdkContent 失败

" parseSdkContent failed

" parseSdkContent 失败

java.lang.NullPointerException"

java.lang.NullPointerException"

What I can do now? I can't get AVD manager to start emulator. I can't get SDK manager also....

我现在能做什么?我无法让 AVD 管理器启动模拟器。我也无法获得 SDK 管理器....

回答by Hiren Patel

It's so Easy:

这很容易

  1. Delete your "C:\Users\ [username] \ .android\avd"
  2. Delete all AVD
  3. Restart eclipse and
  4. start AVD manager
  1. 删除你的“C:\Users\[用户名]\.android\avd”
  2. 删除所有 AVD
  3. 重新启动日食和
  4. 启动 AVD 管理器

Done

完毕

回答by Stranger

'Android SDK Content Loader' has encountered a problem - parseSdkContent failed After install fresh Ubuntu 14.04.1 and Eclipse ADT with Android SDK, 'Android SDK Content Loader' has encountered a problem of parseSdkContent failed, Could not initialize class android.graphics.Typeface.

'Android SDK Content Loader' 遇到问题 - parseSdkContent failed 在使用 Android SDK 安装新的 Ubuntu 14.04.1 和 Eclipse ADT 后,'Android SDK Content Loader' 遇到了 parseSdkContent 失败的问题,无法初始化类 android.graphics.Typeface .

enter image description here

在此处输入图片说明

To fix it, delete Android L (API 20, L preview) in Android SDK Manager and restart Eclipse. It work in my case. Even re-install Android L (API 20, L preview).

要修复它,请在 Android SDK Manager 中删除 Android L(API 20,L 预览版)并重新启动 Eclipse。它适用于我的情况。甚至重新安装 Android L(API 20,L 预览版)。

Taken from, http://android-er.blogspot.in/2014/07/android-sdk-content-loader-has.html

取自http://android-er.blogspot.in/2014/07/android-sdk-content-loader-has.html

回答by Vishal

The issue is in the your-avd-name.ini (config files)that is located at .android (Search it in windows search) on your Windows machine (if you're Windows user). When any error occurs during the avd.ini parser, the Google ADT plugin tries to access a map that is null. The workaround is to delete the offending .ini file and recreate your avd(s).

问题出在您的 Windows 计算机(如果您是 Windows 用户)上位于 .android(在 Windows 搜索中搜索)的your-avd-name.ini(配置文件)中。当 avd.ini 解析器期间发生任何错误时,Google ADT 插件会尝试访问为 null 的地图。解决方法是删除有问题的 .ini 文件并重新创建您的 avd。

回答by Haile

I faced the same problem once. I fixed it by removing all the android virtual devices I created. By clicking on Android Virtual Device Manager you will see all the virtual devices created.

我曾经遇到过同样的问题。我通过删除我创建的所有 android 虚拟设备来修复它。通过单击 Android 虚拟设备管理器,您将看到创建的所有虚拟设备。