:/lizongbo/workspacenew/. Metadata/. plugins/org. Eclipse. jdt. Core/variablesandcontainers. dat
At the same time, the android Java source code compressed package is created as follows:1. Install the following components on the remote Ubuntu Linux Server (linode VPs) (jdk1.6 has been installed ):Sudo apt-Get install Git-core GnuPG flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-devInformation from Android official: http://source.android.com
file to the local hard disk.[Html] view plaincopy
Cp-avf/mnt/cdrom/yum #-a: This option retains links and file attributes, and Recursively copies directories.
2. Create a repo file [html] view plaincopy
Cat>/etc/yum. repos. d/CentOS-Local.repo
[Local]
Name = LocalYum
Baseurl = file: // yum/
Gpgcheck = 1
Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Enabled = 1
Q: Why can't I install the createrepo software?The role of createrepo
I'm very glad that today we have a link with the android development website and the source code website. Although it is a bit difficult, it is still worth it !!
Summary download source code method, from http://source.android.com/source/downloading.html
Before installation, ensure that git and curl are installed. If not, run the following command:
Sudo apt-Get install Git-core curl
Installing Repo
Install the r
is a brief description of the steps to download and how to resolve the problem.1, installation RepoA) Set up Repo installation folder, configure environment variables$ mkdir ~/bin$ PATH=~/bin:$PATHb) Get Repo tool$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/
Tstringlist class is a pair of the most factory used in Delphi, we look at the detailed usage of tstringlist here together.
Let's start by listing several properties to be discussed:1, CommaText2, Delimiter Delimitedtext3, Names Values Valuefromindex
Tstrings is an abstract class that, in actual development, is the most applied except for the basic type.
Tstringlist Common Methods and properties:
Var
List:tstringlist;
I:integer;
Begin
List: = tstringlist.create;
List.add (' Strings1 '); Add
Log in to the Linux system after entering the password, you want to delete ctrl+u Delete all the input before, (is uppercase U)IP a view IP (full ifconfig addr)Systemctl Restart Networkmanager.service Start commandDhclient dynamic acquisition of IP addressesControl+o (ctrl+o) Sign OutControl+l (ctrl+l) Clear screen can also use the command clearDevice class information is in the/dev directoryTop View memory InformationWho view all current online usersWhoAmI See who you are uname-r view kernel ve
P2 values less than (11),Partition P3 values less than (16));Then, create the local index:Create INDEX IDX_TP2_C2 on TP2 (C2) local;Because the primary key is a global index, you do not need to create another global indexes, we insert the data:INSERT into TP2 values (1, ' AAA ', ' AAA ');INSERT into TP2 values (2, ' AAA ', '
Basic conceptsYum is a front- End management tool for software packages based on the C/S architecture. It is a package based on rpm package management, which solves the problem of dependencies during rpm package installation. server side of Yum:Its essence is a file server, the main function:1 . Using yum 's file sharing mechanism, each rpm package is shared to the client. 2. Share file dependencies, the metadata of file list information generated after installation. Sharing protocol:FTP, HTTP,
Some time ago, because Android betrayed GNU and the idea of freedom and open source pursued by Linux, it kicked out the main line of Linux source code. In addition to the recent adjustments made by kernel.org to black and Google for android, there are various reasons. The method for downloading the android source code is invalid. The original source code for downloading android is: repo init-u git: // Repository.
The following is the latest android s
following content at the end of the file:
#set java environment JAVA_HOME=/home/ahaxzh/workspace/soft/jdk1.6.0_45 export JRE_HOME=/home/ahaxzh/workspace/soft/jdk1.6.0_45/jre export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH
Log out of the system and log on again. Run the java-version command on the terminal to check whether the JDK installation is complete. If the installation is successful, the current JDK version is displayed:
java versi
Description: After the online plagiarism and their own summary and experiment, very detailed, can be left for reference.There are generally two ways to configure Yum:One is to configure the yum.conf file in the/etc directory directly, and the other is to add the. repo file under the/ETC/YUM.REPOS.D directory.One, yum configuration file yum.conf detailed$Cat/etc/Yum. conf [Main]cachedir=/var/cache/Yum#yum下载的RPM包的缓存目录keepcache=0#缓存是否保存, 1 saved, 0 not s
Java code
String STR = new string ("AAA ");
How many string objects have been created in this line of code? The answer is 2, not 3. Because new string ("AAA") is equivalent to "AAA" and the original Instance Object created when it is placed in the heap, and the other is the "AAA" object in the constant pool, of cour
Java code
String str=New string ("AAA");
How many string objects does this line of code create? The answer is 2 instead of 3. Since the new String ("AAA") is equivalent to "AAA" and one is the original instance object that was created when placed in the heap, and the other is the "AAA" object placed in th
The Callbacks tool method, which functions as a unified management of function callbacks Jquery.callbacks = function (options) {} is used: Similar to event binding, after fire, the previously bound method is executed. Viewer mode. function aaa () {alert (1); } function bbb () {alert (2); } function CCC () {alert (3)} var cb = $. Callbacks (); Cb.add (AAA); Cb.add (BBB); Cb.add (CCC); Cb
instanceofDetects if an object is an array; (used to deal with complex data types;)Simple data type typeof;A instanceof b//A is not made of B;Cases:var arr = [n/a];Console.log (arr instanceof Array); The arr genus is not of type array;Array.isarray ()Array.isarray (parameter); Determines whether the parameter is an array, returns a Boolean value;Cases:var arr = [n/a];var num = 123;Console.log (Array.isarray (arr)); TrueConsole.log (Array.isarray (num)); FalseToString ()Array. toString (); Turns
installed.
Ii. Download source code
Now we have prepared the environment required for android source code development (no error). The process of downloading the source code is very huge because the Android source code needs to be obtained in two parts: Android source code and kernel. I don't need the source code of the kernel for the time being, so here I only download the source code.
1. Create a new folder to store the Android directory and initialize the
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.