Android Deep Exploration--chapter II reading notes and experiences

Source: Internet
Author: User

Android Development Environment Construction

--Chapter II reading notes and experiences

Learn how to build Android under Ubuntu Linux in this chapter, including building Android application development environment, Android NDK development Environment and cross-compilation environment. Learn about the various things you need to build your Android environment, and learn about the need to configure ADT-so that ADT can find the Android SDK. Know the various tools needed for the underlying development. Learned how to install the JDK under Ubuntu. and compiled cross-compilation environment, originally in the study of Linux cross-environment compilation is not particularly successful, the middle of a lot of errors. By studying this book I have a more in-depth understanding of the cross-compilation environment. is not completely ignorant.

Android infrastructure requires Android apps and Android NDK programs to test Linux drivers. There are a number of assistive tools required: JDK, Eclipse, ADT, CDT, Android SDK, Android NDK, cross-compilation environment, Linux kernel source, Android source code, serial tool->minicom for debugging the Development Board.

JDK installation in Ubuntu has a simpler way, just enter the following code (need to Network):

#add-apt-repository "Deb Http://archive.canonical.com/lucid partner"

#apt-get Update

#apt-get Install SUN-JAVA6-JDK

The JDK installed under this method eliminates the need to reconfigure the path value as you would install the JDK under Windows.

Building an Android application development environment requires installing the SDK, installing Eclipse, installing ADT, configuring ADT, and creating an AVD. The installation SDK needs to be unpacked first, then a script file named Android is found in the directory named Android-sdk-linux, tools, and the script file is executed, selecting the Android version that needs to be installed (note: Networking is required during installation). The installation of ADT needs to be added in the menu item of the install new software in the Help directory in eclipse. Configure ADT, and in Eclipse, click the Windows > Preference menu item, enter the installation directory of the Android SDK in the SDK location text box on the right side of the Android node, click Apple > OK After closing the preference. Create an AVD so that each version of Android has a corresponding AVD.

By learning to combine the Android driver and the once Linux driver, it is easy to understand the book and deepen the belief in learning good Android drive.

Blog Park Address: http://www.cnblogs.com/zhanghui9505/

Android Deep Exploration--chapter II reading notes and experiences

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.