Helloworldproject creation and execution
Android App 1.New, ProjectIf not found, can go to other----Android found, is the same:2. Then enter project information in turn:3. Execute the Created program4. See the execution effect from the simulator:
5. Folder structure analysis of the project
Let's take a look at our project folder diagram:What we need to know next:
src folder: includes all the program code files require
Problem:Want to use Gradle in an existing Eclipse ADT projectSolution:Eclipse ADT Plugin can help generate Gradle filesDiscuss:The ADT plugin for Eclipse was the main Android development tool before the launch of Gradle in 2013. The ADT project is now being replaced by Android studio, but there are still legacy project
ADT Integrated Environment + PhoneGap 2.9.0 build HTML5 development APP environment, phonegaphtml5
I.Environment Construction
1. build and develop the Android environment, which is not described here. You can use the ADT integrated environment or Eclipse + Android SDK + ADT Plugin.
A. Environment Construction1. Build a development Android environment, no longer described here, you can use the ADT integration environment, you can also use Eclipse + Android SDK + ADT Plugin.ADT Integration Environment: http://developer.android.com/sdk/index.html2. Configure PhoneGapphonegap:http://phonegap.com/install/This document is not suitable for versions above phonegap-2.9.0, and is suitable for
Develop Android applicationsProgramYou may need to test between multiple devices, including emulator and handheld devices.
When you need to delete an app in development, you need to use the ADB uninstall command. Its explanation is as follows:
ADB uninstall [-K] ('-K' means keep the data and cache Directories)
By default, this command can run normally when one device is connected. When multiple devices are connected, the following situation occur
Build an eclipse Android Development Environment (eclipse + jdk + adt + sdk) and Android adt
The school's summer job allows android to write an app. There are two solutions (android stduio + sdk and eclipse + jdk + adt + sdk). After a few days, I found that the latter is easy to use, however, the installation environme
Developing Android Application Environment building1. Install JDK1.6 or laterWe can open the Oracle company website http://www.oracle.com/technetwork/java/javase/downloads/index.htmlThe downloads section on the Web page has jdk download instructionsFree download After accepting his terms of useTo select the same JDK version as the native operating system in the download list when downloadingInstall after download2. Download the package for the appropriate platform for
When Eclipse creates an Android project, you are prompted when previewing the Layout.xml file: This version of the rendering library was more recent than your version of ADT plug- In. Please update ADT plug-in, resulting in the inability to preview the layout file properly. Root cause: The SDK version is too high and the ADT version is too low. The workaround is
ADT, C, Java, ADT, CJava
Chapter 2: data abstraction allows the user programmer to get rid of the Implementation Details of the Data Type while writing the customer program and only care about the interfaces of the data type. In computer science, there are some important data abstractions-data structures, which should be introduced as soon as possible. The data structures of computer science research mainly
Yesterday hand the Android SDK upgrade, and then get the ADT version does not correspond, and then search from the Internet some methods ~ effect can also, reinstall ADT.The method for uninstalling ADT is as follows (my eclipse version is 3.5):1. Choose Help > Install New software;2. In the Details panel, click on the "What is already installed?" link;3. In the Eclipse Installation Details dialog box, selec
Original: http://blog.csdn.net/shulianghan/article/details/38023959Recently Google has been wall, upload their own collection of Android development environment, the following website links can also be downloaded;1. Baidu Network DiskAndroid Integrated Environment NDK JDK Total link : http://pan.baidu.com/s/1bnjaDKb;Android Studio Linux version : Http://pan.baidu.com/s/1eQjA6MA;ADT Bundle Windows 64-Bit Edition : Http://pan.baidu.com/s/1bnvlVnL;
Original: http://blog.csdn.net/shulianghan/article/details/38023959Recently Google has been wall, upload their own collection of Android development environment, the following website links can also be downloaded;1. Baidu Network DiskAndroid Integrated Environment NDK JDK Total link : http://pan.baidu.com/s/1bnjaDKb;Android Studio Linux version : Http://pan.baidu.com/s/1eQjA6MA;ADT Bundle Windows 64-Bit Edition : Http://pan.baidu.com/s/1bnvlVnL;
Recently Google has been wall, upload their own collection of Android development environment, the following website links can also be downloaded;1. Baidu Network DiskAndroid Integrated Environment NDK JDK Total link : http://pan.baidu.com/s/1bnjaDKb;Android Studio Linux version : Http://pan.baidu.com/s/1eQjA6MA;Adt Bundle Windows 32-Bit Edition : Http://pan.baidu.com/s/1bnvlVnL;Adt Bundle Linux 32-bit vers
After the ADT is installed, the SDK will be updated as well. Later, I want to see what version I upgraded. It turns out that there is a small robot icon in eclipse's help-> about eclipse, which is the android open source project. Click it and you will see its version. My current version is 0.9.7. Complete this process ~~~
If ADT releases a new version, how can we upgrade it? Generally, you can download fi
The android developer of svn1.6 is also noted.
A few days ago, I updated my development environment, downloaded the new version of Eclipse, updated SDK to 4.2, and updated ADT to 21.
After loading the old eclipse_workspace with the new version of Eclipse, it is found that the project checkout from the SVN version library cannot be compiled, and the following error is reported:
Errors occurred during the build.
Errors running builder 'android pre co
Update 130410
In the latest version of Eclipse, click Help-about eclipse-Installation Details
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>
The latest version 2.3 was released, but the update was not found. I tried to unload the ADT and reload it. I searched for the method.
To uninstall ADT, follow these steps (my eclipse version is 3.5 ):
1. Select help> install
thread isIn object. Wait ().)
If you are currently paused on a breakpoint, you can simply highlight and executeA piece of source code by pressing CTRL + Shift + D.
You can highlight a block of text within the same scope by pressing Alt + Shift+ Up arrow to select larger and larger enclosing blocks, or down arrow to selectSmaller blocks.
Here are a few sample inputs and responses in eclipse using the display window.
Input
Response
zip
(java.lang.String) /work/device/out/l
default until completed.7, after a minute may be card, the system will automatically establish a HelloWorld project.8, click on the top of the run, select the Android app, then click OK.9, after opening the Android simulator will also have to wait a long time. Although Linux and Android are homologous, the command system is the same, without the other auxiliary compilation environment can be executed, but it is not necessarily fast where to go. Open
eclipse via ADT. On this basis, you can modify the source package, such as modify the source code in Android system/app/phone.apk, and then call the Make command again, you can generate a new System.image file, this file is an image file.----------phone ROM contains two basic image, one is boot.image, this image is mainly kernel and file system/directory of some things. Kernel I'm not going to say,/directo
eclipse via ADT. On this basis, you can modify the source package, such as modify the source code in Android system/app/phone.apk, and then call the Make command again, you can generate a new System.image file, this file is an image file. ----------phone ROM contains two basic image, one is boot.image, this image is mainly kernel and file system/directory of some things. Kernel I'm not going to say,/direct
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.