Because I study Android also quite a long time, has kept the diary in Evernote, because just leave relatively idle plan to put Evernote in the log over and over again published to share online.This article will use the C # and Java languages, respectively, to implement the PC client code that communicates with the Android terminal.The ADB-related components are r
After configuring the Appium environment in accordance with the online tutorial, the true machine runs the automated process, encountering the following error:Appium error is as follows:[ADB] Checking whether AAPT is present[adb] The android_home environment variable are not set to the ANDROID SDK root directory P Ath.
Yesterday Android studio was fine, and today it's a problem to run again:Started thinking that it was an SDK issue and changed the SDK to the SDK that came with Android Studio, but the problem still exists:Click on the Android sma
Reprint Address: http://jingyan.baidu.com/article/17bd8e52f514d985ab2bb800.html
For Android developers, the first thing to do is to configure the environment variables. People who have studied Java know that Java is required to configure environment variables, so does Android development also require us to configure environment variables? Of course, the environment variables of
Android app-FAQs about third-party Weibo sdk logon and sharing, androidsdk
Preface
Recently, many problems have been encountered during third-party login and sharing. On the one hand, it can be attributed to the lack of experience, and on the other hand, it also shows the ambiguity of the official documentation. This blog post will not write about how to use a third-party login to share information, because
The first chapter focuses on the Android SDK (4) and androidsdk.1.4 Android debugging-debugging tool (DDMS)
The full name of DDMS is Dalvik Debug Monitor Service, which provides us with many useful services, such as: screenshot capture for devices; view running threads and heap information for specific processes; logca
In Android, in addition to starting a program from the interface, you can also start the program from the command line, using the command line tool AM.
Enter am -- help in the work area of the ADB Tool
Bytes ---------------------------------------------------------------------------------------------------------------
the problem:1. We have already opened the Android SDK Manager in the previous step, make sure that the Tools directory is installed up-to-date, otherwise it will fail at Studio buildTools directory, select:Android SDK ToolsAndroid SDK Platform-toolsAndroid SDK build-tools (
4.4. Test whether the installation is successfulEnter "Android" in the terminal, can open the Android SDK Manager, the instructions are successfulPerhaps you will encounter the problem:1. We have already opened the Android SDK Manager in the previous step, make sure th
on the desktop.
Add the method for loading the SD card (thanks nsnboy)
The android simulator allows us to use a disk image in FAT32 format as the SD card module.I plan to record the process and share it with you today:1. Go to the tools subdirectory under the android SDK directory and runMksdcard-l sdcard 512 m e:/sdcard. imgIn this way, a m SD card image file
Reprinted from http://zhuyonghui116.blog.hexun.com/53467491_d.html
The first is how to modify the problem.Find the following lines in/frameworks/base/Android. mk:Packages_to_document: =Add the variable at the end of the value assignment statementXXXXX (here is the name of your package, such as COM/sina/UI, in fact, here is a part of your source code path in/frameworks/base/
You can.The meaning of this addition is that the make system will include ou
Question: Please ensure the ADB is correctly located
1. Phenomenon:
When you run a written application, the "Please ensure," ADB are correctly located at ' e:/src/android23sdk/android-sdk_r08-windows/ Android-sdk-windows/platform-tools ' and can be executed. Tips.
2. Solu
Installing the JDKPlease look at the JDK environment to build.Install EclipseEclipse is an open-source, Java-based, extensible development platform. For its part, it is just a framework and a set of services for building a development environment through plug-in components. Fortunately, Eclipse comes with a standard set of plugins, including Java development tools (Java Development kit,jdk). We can build an Android development environment by adding AD
, with the blue light, according to their own * * * settings!) ):Usually the online introduction of some of their own mirror server, such as Dalian Neusoft University mirror server address: mirrors.neusoft.edu.cn:80, and XXX Open Source Association Mirror station Address: mirrors.opencas.org:80 and so on, as follows:4, the SDK environment variables must be configured: Turn on the computer properties-Advanced system settings-environment change.Create a
Every time you reinstall the system and reconfigure the SDK, there will always be some minor issues. Simply record them and check them later.
1. Make sure that your SDK has been installed (copy the ADB and other tools in platforms to the tools directory)
Note: Configure andorid SDK to path to. bashrc.
$ Vim. bashrc
Problem phenomenon:
Create a new Andriod project, then run as, and the following interface appears:
[2014-02-13 16:36:54-Flashlight]------------------------------
[2014-02-13 16:36:54-Flashlight] Android launch!
[2014-02-13 16:36:54-Flashlight] The connection to ADB are down, and a severe error has occured.
[2014-02-13 16:36:54-Flashlight] You must restart ADB an
When using the real machine to debug the Android program, the error is as follows:could not read OK from ADB Server* failed to start Daemonerror:cannot connect to daemon
First, open the command-line tool to find the corresponding PID number that occupies the 5037 port number
Netstat-ano | findstr:5037
If the port is occupied, the process that occupi
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.