On the Android platform, network accessibility and devicemonitor: Connection

Source: Internet
Author: User

Since squeeze (testing at the time) was installed in his notebook at the beginning of last year, it has not been re-installed, so it has been upgraded, upgraded to stable squeeze, and then upgraded to wheezy (testing ). use of recent school curriculum design requirements

Android SDK, So I installed it according to the official documentation. After installing and playing with ADT, I want to update the installation package. Why can't I link to the website where the android package is downloaded? A network failure error occurs. if you create an android project

Console will appear

Devicemonitor: error messages such as connection. after Google, this problem was found On Debian squeeze (testing at the time), and my system was upgraded from squeeze. in this process, the configuration file is not updated, so this error occurs. I checked the stable version of squeeze, and the configuration file of wheezy (testing), Sid (unstable) does not exist.
root@debian:/etc/sysctl.d# cat /etc/sysctl.d/bindv6only.conf # This sysctl sets the default value of the IPV6_V6ONLY socket option.## When disabled, IPv6 sockets will also be able to send and receive IPv4# traffic with addresses in the form ::ffff:192.0.2.1 and daemons listening# on IPv6 sockets will also accept IPv4 connections.## When IPV6_V6ONLY is enabled, daemons interested in both IPv4 and IPv6# connections must open two listening sockets.# This is the default behaviour of almost all modern operating systems.net.ipv6.bindv6only = 1

Change 1 to 0. The detailed explanation is in the comment.

Refer:

1. http://stackoverflow.com/questions/3461033/android-development-ddms-from-command-line-not-seeing-devices

2. http://bugs.debian.org/cgi-bin/bugreport.cgi? Bug = 560044

Related Article

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.