Developing Android with Eclipse, using genymotion to test times wrong adb error

Source: Internet
Author: User

Whenever I want to run the Android app, the console will report

The connection to ADB are down, and a severe error has occured.

You must restart ADB and Eclipse.

Tried the various methods on the Internet do not work, for example, with the install new software not so, there is no genymotion. Also, in Eclipse Marketplace inside find genymotion to install, can't find at all. But Kung fu is not a conscientious, and finally found the solution of the great God, all of a sudden.

1, configure the SDK inside the genymotion:

After clicking Open Genymotion, there is a settings option, click Open, Find the ADB tab,

For example, locate your SDK path in the Android SDK and click OK. Then you can turn off the genymotion first.

At this point, run the CD. platform-tools file under your SDK folder under the command line. There is a Platform-tools folder under the SDK folder, and there will be a adb.exe after opening.

For example, my CD C:\Android development environment \ Tool \android-sdk\platform-tools (do not learn my path has Chinese) run the preceding line command in the command line.

Then when you go to this directory run: ADB kill-server enter

Then run: adb start-server

Wait to see the sucessfully.

Then turn on eclipse and you'll see the genymotion option in devices.

Then you can run the Android program in Genymotion.

Developing Android with Eclipse, using genymotion to test times wrong adb error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.