For. net developers to write java, it can be said that there are too many similarities;
Due to work factors, some functions of the project need to be transplanted to the android platform in the recent period. After half a month of suffering, it was finally completed.
The article will intuitively record my learning about android development in my project and share it with you.
Okay, you don't need to talk about it. Go to the topic;
Preparations
Starting from the Environment setup, the blogger uses
System:
Preparation file: JRE, JDK 6 or above | eclipse 3.6.2 | ADT-21 | Android SDK
When the above files are ready, start to build your android development environment.
Ps: Do not worry about downloading it first. You can refer to the following for more information.
Step 1
Click here to download
For java developers, I would like to say "Install JRE and install JDK first" to. net developers ". The above also emphasizes version 6 and later, because the Android SDK version will be incompatible, and I am using 7.
Step 2
Click here to download the android SDK.
On the page, you can take a minute to see the Introduction, especially the options at the bottom of the page, to avoid unnecessary time waste.
After the download is complete, run the decompressed SDK Manager.exe file,
Select All Android1.5-Android4.2 and click Install (package count) Packages. It takes some time to wait.
.....
When the following State is bad, it means it is finished.
The next step is the focus, so use the red font to write.
,
Step 3
Step 4
Open eclipse, prepare to Install Android ADT, move to the top menu bar, select Help> Install New Software,
,
Click here to download
A friend who successfully accessed the website may be able to see this interface and click Next to install it.
After the installation is complete, you need to restart Eclipse. After the restart, eclipse will automatically pop up the path of the specified SDK. Select Use existing SDKs and the Existing Location is the path of the Android SDK, for example:
Next, check whether your Eclipse is different. check whether there are two more icons in your operation column,
Click this icon to bring up a form. Click New to create a New simulator and enter "myavd2.2" as the Name,
Select the screen size of 4.0 WVGA (480x800 ),
Specify Target to select Android2.2-API Level 8,
Then, allocate the size of the SD Card and click OK;
Go back to the pop-up window, select the AVD you want to start, that is, the one you just created, and click Start.
A form will pop up. Don't worry about it. If there is no special requirement, do not select one. click the button directly.
Of course, if you think that the parameter settings are incorrect, you can also select the new AVD, and there are operation buttons on the right, such as modifications ....
Step 5
When the first progress bar is finished, you can drop it by cancel,
Then the familiar android interface came out,
Because it is produced by Google and the default language is English, we have to set the language we are familiar with right away.
Unlock the app and go to the main menu. Find the app and click it to pull it down quickly. Find
Click the button at the end. The button is different for different versions.
Now, if you have succeeded, congratulations, your android development environment has been deployed. Enjoy your exploration.
In the next article, I will write something worth your attention and practical experience as a. net programmer in a simple and easy-to-understand way.
If not, you can directly say that we can learn from each other. If you want to discuss it in real time, add the QQ Group I created:
| Copyright Disclaimer: This article was originally published in the blog. The author is Wen min. You are welcome to repost this article. However, this statement must be retained without the consent of the author, and the original article is not connected clearly on the article page, otherwise, it is deemed as infringement. |