20145326 experiment four Android Development basics

Source: Internet
Author: User

20145326 experiment four Android development fundamentals one, experimental content and steps installing the JDK and configuring the JDK environment variables

Locate and copy the JDK file in the previous path variable.

Create a new java_home environment variable with the copied variable name.

Installing the SDK

Tick all options.

Select the installation directory for Android studio and Android SDK.

Run Android Studio

set up a JDK or Android SDK directory

Create a new project:

To modify the code:

Finally, the expected effect appears:

Experimental code hosting:

Ii. problems encountered in the course of the experiment

at run time may prompt us to install the HAXM, this is an accelerator, recommends everybody installs, the installation process does not need the network, has already brought in the previous download. However, the issue pops up at run time :

The solution is:
When the computer boot screen appears, a continuous rapid press F1 key into the BIOS interface (each computer into the BIOS interface is not the same way, you can Baidu), and then find Security->intel virtualization Technology (Intel Virtualization technology location may not be the same, look for yourself), press ENTER, select Enabled, and then press F10 Save exit, after restarting the problem is resolved.

Three, summary and experience

The experiment took a long time, but in the installation process I did not waste too long (with the help of Zhou Zhengyi classmate), before the experimental class has been installed successfully, but the problem is running above, the process of running due to the unfamiliar software, many places do not know how to do, there is a feeling of helpless, For fear of what step of the operation of the error will affect the entire experiment, so I started with the video teaching step-by-step, so that finally the relevant content is displayed, but the layout is more ugly, but the video is not said. I had to go to Lou teacher to inquire, later only then know, we add text inside. is added as a "module", since it is a module, you can drag, very simple. So you can compose yourself. The experiment gave me the feeling that I had to meet a new problem and not run away from it and try to solve it by all means, so that my ability would improve ~!!

PSP Time
Steps Take Percentage
Demand analysis 20min 16.7%
Design 40min 33.3%
Code implementation 20min 16.7%
Test 20min 16.7%
Analysis Summary 20min 16.7%

20145326 experiment four Android Development basics

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.