Failed to parse the output of 'adb version'

你离开我真会死。 提交于 2019-12-05 11:30:12
madan ram
  1. Install Oracle JRE using PPA:

    sudo add-apt-repository ppa:ferramroberto/java
    sudo apt-get update
    sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
    
  2. Install ia32-libs from software center.

Two options to solve this problem on windows: Option 1:

  1. Close the eclipse, if it is running.
  2. Run the command prompt.
  3. Go to the tools location of the android sdk.
  4. run 'adb kill-server'
  5. then run 'adb start-server'.
  6. start the eclipse.

Option 2:

  1. Open the task manager.
  2. kill the adb process.
  3. start the eclipse.

Problem should be solved.

The official Android SDK only runs on i386 JVM, so you need to manually specify the i386 JVM on Eclipse.

  1. First install the Sun(Oracle) 32-bit JVM. Here is a step-by-step on how to do this:
  2. Add the JVM to Eclipse. Navigate:

    Window > Preferences > Java > Installed JREs > Add
    

    Put the location of the JVM. Probably will be /usr/lib/jvm/java7/ (my is /usr/lib/jvm/java-7-sun-1.7.0.01). The external libraries will be automatically added when you put the location of the JVM.

  3. Set the Sun (Oracle) 32-bit JVM as default.

if you run eclipse immediately after installing your java JDK, the java virtual machine MIGHT not be properly started. you will receive this error code when launching eclipse.

first check if when you installed your JDK, you copied a script file

/etc/init.d/jexec

if you did, before you do anything fancy, reboot your machine so that jvm starts properly. if you didnt, please decompress your jdk rpm file and extract the contents properly and then reboot.

worked for me, i just had this problem while installing adt bundle (and java jdk) on a virgin install of ubuntu 12.04 on a 64bit machine.

tarek

Delete the platform tools and then re-install them from the SDK manager

Copy the sdk\platform-tools contents to sdk\tool also you must have a JAVA_HOME env var pointing to your java location ex. JAVA_HOME=C:\Program Files\Java\jdk1.7.0_21

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!