For mobile Android testing, the ADB command is a very important point, you must memorize the usual ADB commands in the heart, will be a great convenience for Android testing, many of the commands will be used in automated test scripts.Android Debug
01) Installationsudo add-apt-repository ppa:nilarimogard/webupd8sudo apt-get updatesudo apt-get install android-tools-adb02) Environment variablesI. Introduction of TOOLSAndroid-sdk-linux_x86/tools has a bunch of tools to use today: Android Debug
In web development, the session represents the "sessions" of the HTTP server and the client (for example, the browser), each client has its corresponding session saved on the server side, usually used to hold some information associated with the
Turn off eclipse.
Turn Adb.exe off in Task Manager
Enter the ADB directory and then execute the ADB start-server to successfully execute the problem resolution
The problem should be solved, but if adb start-server start up!Finally, the
Transferred from: http://www.sjsjw.com/kf_mobile/article/3_24710_14072.aspHere is an easier way to do this (and the same effect as the following method):Sometimes the connection to ADB will appear when you open the emulator, and a severe error has
============ Problem Description ============Server side: Add 1 to the int from the client and pass it back.public class Server extends thread{@Overridepublic void Run () {//TODO auto-generated method Stubtry{serversocket Serverso Cket=new
============ Problem Description ============I even when the phone debugging on the choice of equipment, there are two identical millet mobile phones, meters 2 and meters 3 are the case, and other models of mobile phones do not have this problem.
1. Understanding of parameters in the new Socket ()Server side:
Call ServerSocket ServerSocket = new ServerSocket (1287,2), the backend server side opens the specified port 1287, and the PID 5449 is bound.
Client side:
Call
http://blog.csdn.net/weijonathan/article/details/18301321Always want to contact storm real-time computing this piece of things, recently in the group to see a brother in Shanghai Luobao wrote Flume+kafka+storm real-time log flow system building
Ext.: http://blog.csdn.net/wangdong20/article/details/20839533Do Android debugging often encounter, the program is written, ready to connect to the phone debugging, can appear in a few momentsI believe that the students who have done Android
Original address: http://www.crifan.com/android_adt_the_connection_to_adb_is_down__and_a_severe_error_has_occured/SummaryAppearThe connection to ADB are down, and a severe error have occuredProblem, mainly because the ADB can not function
1. Open terminal, enter: System_profiler spusbdatatype, check all USB device information of Mac system, find the corresponding manufacturer Vender ID.-----------------Spreadtrum Phone: Product id:0x5d04 Vendor id:0x1782
First, the sceneWe sometimes want to use the phone to debug Android programs, but after connecting the phone to the computer, but not the mobile phone device, can not be used to debug the phone.Second, the reasonThere are generally two reasons: (1)
Directory structure for Android projects
Activity: The interface that is displayed when the app is opened
SRC: Project Code
R.java: Resource ID for all resource files in the project
Android.jar:Android jar Package, import this
The Android Debug Bridge (ADB) is a versatile tool that can help you manage the state of your device or emulator.You can join ADB in the following ways:
Run the shell command on the device
To manage the emulator or device via port
The General Android Connection Mac is very convenient without the installation of drivers can be, but do not know why the special circumstances of some Android phones (Xiaomi 2, Huawei, etc.) is not connected, down to say how special circumstances
First, communication technology1, 1G: Analog format can only be voice calls.2, 2g:gsm, CDMA send and receive SMS and mail.3, 2.5G : GPRS, EDGE, access to WAP network data. (Pictures, wallpapers, text messages).4, 3G:WCDMA (Unicom), CDMA2000
CMD enters the command line and enters the directory where the ADB is located:The ghost problem arises as follows.C:\USERS\XXXX>ADB start-server ADB Server is an out of date. killing ... ADB server didn ' t ACK * Failed to start daemon * ADB
An important command that contains the Android emulator operation under the Tools folder of the SDK Adb,adb is all called Android Debug Bridge, which is the role of the debug bridges, with this tool, we can manage the status of the device or phone
1.Create a new project1. Package Name: cannot be a Chinese--------------package name on the phone2. Minimum Required SDK: The smallest SDK, typically 2.33. Target SDK: The largest SDK, running version4. Compile with: Compiled version, general and
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.