Android-developed apps that can be accessed with simulators, but not installed on the phone

Source: Internet
Author: User

============ Problem Description ============


Develop a program with the database return data, the server is written by the servlet, with the simulator test, is able to access, and can return data, but the program installed on the phone, but can not access the service side, I wonder why AH

============ Solution 1============


Sure, your phone's IP is not the same as your simulator! Your simulator is with the default address of the computer, you modify the phone's IP, change to the address of your access path to try.

============ Solution 2============


Is your machine on the service side? If it was you, the phone must not be accessible.

You should put the service on the public network, then the phone through the public network IP and port to access

============ Solution 3============


Host Wireless Router phone

Host chain to wireless router check host IP
Mobile phone chain to wireless router
Mobile Access to host IP connections

============ Solution 4============


Reference 6 floor Ianafollow's reply:
otherwise recommend a blog about this also
can be done

Phone and computer are connected to the same LAN, or your computer share a hotspot, mobile phone connection on the OK

============ Solution 5============


Reference 8 Floor Ianafollow's reply:
Quote: Quote 7 floor sagittarius1988 reply:

Quote: Referring to the reply of the 6 floor Ianafollow:

Or you could recommend a blog about this.


Phone and computer are connected to the same LAN, or your computer share a hotspot, mobile phone connection on the OK

Now the local IP and mobile IP is on the same LAN, but still no


See if IP can ping through

============ Solution 6============


Reference 10 Floor Ianafollow's reply:
Quote: Referring to the reply of the 9 floor sagittarius1988:

Quote: Referring to the reply of the 8 floor Ianafollow:

Quote: Referring to the reply of the 7 floor sagittarius1988:

Quote: Referring to the reply of the 6 floor Ianafollow:

Or you could recommend a blog about this.


Phone and computer are connected to the same LAN, or your computer share a hotspot, mobile phone connection on the OK

Now the local IP and mobile IP is on the same LAN, but still no


See if IP can ping through

It is possible to ping your phone's IP on your computer
.

Ping your computer on your phone.

============ Solution 7============


You QQ is how much, I can add you, can ask quickly, OK?

============ Solution 8============


Or you could recommend a blog about this.

============ Solution 9============


Experts on the tall Ah, admire and admire

============ Solution 10============


What do you do?

============ Solution 11============


Understand the situation under the hey!

============ Solution 12============


Good, hey.

============ Solution 13============


program re-signing, Android core cracked this feasible not

============ Solution 14============


Should it be a network problem?

============ Solution 15============


============ Solution 16============


It's really important to be aware of this.

============ Solution 17============


And I don't know what to think.

============ Solution 18============


Network problems.
The virtual machine and the host are on the same network, but the phone and the host are not.
This is a common mistake for beginners.

============ Solution 19============


Learning Java

============ Solution 20============


Allows the phone and host to access the same LAN to resolve this issue.

============ Solution 21============


The computer's firewall shuts down

============ Solution 22============


Dubug problems

============ Solution 23============


Dubug problem.

Android-developed apps that can be accessed with simulators, but not installed on the phone

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.