1
I made a client/server socket application, where the client is an android device and the server is made in java. At first this all ok, in the emulator it runs correctly, but when I install the apk on the phone it does not work, it says that the application stopped.
It can be your network configuration. The emulator is running on the same PC (I imagine) and on
localhost
, that is, there are fewer barriers between them. Already on the device even the settings of your router can interfere.– Lucas Lima
If so, show the server and client parts of the code.
– Lucas Lima
Your Android Manifest is asking for Internet and 3G releases?
– Alexandre Marcondes