Ubuntu12.04 Software Configuration

Source: Internet
Author: User
Tags android sdk manager

**************************************

Install QQ

**************************************

1. Download the Deb installation package http://www.longene.org/forum/viewtopic.php to the compatible kernel forum? F = 6 & t = 4700

2.64-bit system installation ia32-libs: sudo apt-Get install ia32-libs

3. During installation of wine sudo apt-Get install wine, you will be asked to confirm and accept the terms, and select OK. The installation will be completed.

4. Install the downloaded Deb package. (Double-click the software manager and click Install on the right)


**************************************

Install eclipse

**************************************

Sudo apt-Get install eclipse

Add SVN

Open eclipse after installation, enter the plug-in installation address: http://subclipse.tigris.org/update in "install new software" in the Help options

**************************************

Install anrdoid SDK Tool

**************************************

1. Download SDK package http://developer.android.com/sdk/index.html

Http://dl.google.com/android/android-sdk_r21-linux.tgz

Decompress

2. Download the ADT package

Http://dl.google.com/android/ADT-21.0.0.zip

3. eclipse-> help-> install new software-> Add-> archive-> OK

Select the developer tools and ndk plugin options. click Next.

4. Select the SDK directory from eclipse> WINDOW> preference> android.

5.

**************************************

Anrdoid SDK manager is enabled

**************************************

Go to the SDK Tools Folder

./Android

Select the corresponding Android SDK version and download it. After the download is complete, you can perform development.

**************************************

Solution after eclipse + ADT is installed, Android-related menus are invisible in the Windows menu of Eclipse.

**************************************

Manual setting

Window-> customize perspective sets Android SDK manager and so on. Now you can see it.

**************************************

Install hichina)

**************************************

The procedure is as follows:

1. Download the omnipotent input method:

Address: http://downloads.sourceforge.net/project/wnwb/linux-wnwb2-ibus

 

2. Extract

Tar xzfv linux-wnwb2-ibus.tar.gz

 

3. copy the file to the ibus directory.
CD Linux-wnwb
Sudo CP xgwnwb. SVG/usr/share/ibus-table/icons
Sudo CP xgwnwb. DB/usr/share/ibus-table/Tables

 

4. Restart ibus

 

5. Add the xgwnwb Input Method to Chinese

**************************************

Install the best SVN visual Client

**************************************
Sudo add-Apt-repository PPA: rabbitvcs/PPA
Sudo apt-Get update
Sudo apt-Get install rabbitvcs-core rabbitvcs-nautilus3 rabbitvcs-thunar rabbitvcs-gedit rabbitvcs-cli

**************************************

Install git

**************************************

Sudo apt-Get install git

Sudo apt-Get install Git-Gui

**************************************

Install NTFS-config. in Linux, you can load NTFs and Set permissions.

**************************************

Sudo apt-Get install NTFS-config

**************************************** *****************
Install RTX
**************************************** *****************
Sudo apt-Get install wine
Sudo apt-Get install cabextract
Sudo chmod + x winetricks
./Winetricks riched20 msxml3 msxml6 vcrun6 Win2k

Copy the font from windows, modify the wine registry, and solve the garbled problem.
Copy simsun. TTC from Windows (Path: C:/Windows/fonts/) ~ /. Wine/dosdevices/C:/Windows/fonts /:
CP/home/Zhu/simsun. TTC/. Wine/drive_c/Windows/Fonts

Then modify the wine registry and enter Regedit on the terminal (the interface is the same as that in Windows)
Open [HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows NT \ CurrentVersion \ fontsubstitutes]
MS shell DLG = simsun
MS shell DLG 2 = simsun
Tahoma = simsun (manually create a string)

6. Solve the garbled Problem
Open "application"-> "Wine"-> "Configure wine"-> "function library"-> in "add function library replacement", enter "oleaut32.dll ", click "add"> "application"> "OK ".
7. Solve the Problem of automatic disconnection
After logging on to RTX, remove the "Automatic status switch" check box in "Reply Settings" in "personal Settings.
8. Solve the Problem of name garbled characters in the RTX dialog window
Reset "name" in "personal Settings" of RTX

**************************************** *****************
Solve the problem that sudo apt-Get install eclipse cannot run (x64 ubuntu12.04)
**************************************** *****************
Ln-S/usr/lib/JNI/libswt-*. SWT/lib/Linux/x86/
Or
CP/usr/lib/JNI/libswt -*~ /. SWT/lib/Linux/x86_64

**************************************** *****************
Add the most useful SVN
**************************************** *****************
Sudo add-Apt-repository PPA: rabbitvcs/PPA
Sudo apt-Get update
Sudo apt-Get install rabbitvcs-core rabbitvcs-nautilus3 rabbitvcs-thunar rabbitvcs-gedit rabbitvcs-cli

Fixed the problem that icons cannot be displayed.

Gconftool-2 -- set/desktop/gnome/interface/menus_have_icons -- type bool true

Finally, run the following command to restart Nautilus to use rabbitvcs.
Nautilus-Q

**************************************** *******
Eclipse import Android source code
**************************************** *******
The compiled source code can be imported into eclipse for convenience.
1. Copy. classpath from the source code directory \ Development \ ide \ eclipse to the source code root directory.
2. Change the eclipse cache settings
Modify eclipse. ini under the eclipse installation root directory
-Xms128m
-Xmx512m
-XX: maxpermsize = 256 m
3. Import the android-formatting.xml and Android. importorder in the source directory \ Development \ ide \ eclipse into eclipse
Android-formatting.xml is used to configure the code style of the eclipse editor; Android. importorder is used to configure the order and structure of the eclipse import.
Window-> preferences-> JAVA-> code style-> formatter import android-formatting.xml
Window-> preferences-> JAVA-> code style-> organize imports import Android. importorder.
4. Import Source Code
It is best to switch to another workspace, because the source code is relatively large. Create a new Java project, specify a name, and then remove the use default location, specify it to the directory of your source code, and finish.

**************************************** ******
Compile source code (for emulator)
**************************************** ******
Sudo apt-Get install lunch

Source build/envsetup. Sh
Lunch full-Eng
Lunch full-Eng
/Bin/Bash: prebuilts/GCC/linux-x86/ARM/arm-linux-androideabi-4.6/bin/ARM-Linux-androideabi-GCC: Permission denied
/Bin/Bash: prebuilts/GCC/linux-x86/ARM/arm-linux-androideabi-4.6/bin/ARM-Linux-androideabi-GCC: Permission denied
/Bin/Bash: prebuilts/GCC/linux-x86/ARM/arm-linux-androideabi-4.6/bin/ARM-Linux-androideabi-GCC: Permission denied
/Bin/Bash: build/CORE/find-jdk-tools-jar.sh: Permission denied
Build/CORE/config. mk: 342: *** error: cocould not find JDK tools. jar, please install jdk6, which you can download from java.sun.com. Stop.

** Don't have a product spec for: 'full'
** Do you have the right repo manifest?

(Transfer)
The problem has been solved, and the ins and outs are as follows:
1. I installed Ubuntu 12.04 with wubi. To save Ubuntu disk space, I downloaded the compiled Android source code and copied it to the Windows disk mounted by media, the problem is that my windows drive letter is in the NTFS format, and I find that the files in it cannot be added with executable permissions, nor can I manually modify them, and root is useless.
2. Of course, there are also reasons why the Java environment variables are not configured, but I am using the above one, so how to configure the Java environment variables is not acceptable, also, the CHMOD weighting attempt fails.

The solution is as follows:
My windows drive letter is in the NTFS format. I found that the files in it could not be added with executable permissions, nor could I modify them manually, and the root was useless. I had no choice but to search online and finally found a solution, install two plug-ins: sudo apt-Get installntfs-3g // This 12.04 already has.
Sudo apt-Get installntfs-config // This is a graphical NTFS permission configuration program. Run the following command: NTFS-config (NTFs write supports configuration program) and check the configuration to grant the executable permission to the mounted drive letter ~

Http://www.eoeandroid.com/archiver/tid-192736.html

**************************************** **********
[Out/target/common/docs/doc-comment-check-timestamp] Error 45
**************************************** **********
Solution
Make clean
Make Update-API
Make

**************************************** ***********
SWT folder '/Media/data/android-4.2_r1/out/host/linux-x86/framework/x86_64' does not exist.
Please export android_swt to point to the folder containing SWT. jar for your platform.
**************************************** ***********

**************************************** ************
New software Manager
**************************************** ************
Sudo apt-Get install synaptic

**************************************** ************
Install Chromium
**************************************** ************
Sudo apt-Get install chromium-Browser

**************************************** ************
Disable a guest user
**************************************** ************
Sudo gedit/etc/lightdm. conf

Add

Allow-Guest = false

After modification

[Seatdefaults]
User-session = Ubuntu
Greeter-session = unity-greeter
Allow-Guest = false

**************************************** ************

Create an ISO file and create a directory as an ISO file.
**************************************** ************

Mkisofs-r-o 81mbxp. ISO 81 mbxp/

**************************************** ************

Virtualbox virtual XP shared folder access in Ubuntu
**************************************** ************

1. Install additional package devices-> install enhanced features

2. Under XP, select "tools- ing network drive" on the menu bar, enter "\ vboxsvr \ share" in "folder", and select the start link.

**************************************** ************

Use virtualbox virtual XP in Ubuntu to access a USB device
**************************************** ************

1. Add your user to the vboxusers user group. If the user name is myusername

Sudo addgroup myusername vboxusers

2. Install the virtualbox extension package Oracle_VM_VirtualBox_Extension_Pack-4.1.12-77245.vbox-extpack (to correspond to the version number of your installed virtualbox, otherwise it will prompt a different version number)

Virtualbox menu-> Management-> global settings-> extension select the "add package" icon to install. The installation instructions must be dragged to the bottom and the agree button can be clicked. To proceed to the next step.

3. Configure the virtual machine itself

Select the virtual machine, click "set"> USB device> Add filter from device list to select the USB device you want to control.

4. Restart the VM. After the VM is started, your USB device will be detected.

**************************************** ************

Ubuntu12.04 connect to HTC mobile phone via USB for debugging
**************************************** ************

By default, UBUNTU does not recognize the HTC mobile phone serial number. If you use ADB devices, the following information appears:

???????????? No Permissions

Configuration required:

1. Set USB Permissions

$ Lsusb

Bus 001 device 001: Id 1d6b: 0002 Linux Foundation 2.0 root Hub
Bus 002 device 001: Id 1d6b: 0002 Linux Foundation 2.0 root Hub
Bus 001 device 002: Id 8087: 0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 device 002: Id 8087: 0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 device 003: Id 04b3: 310c IBM Corp. Wheel mouse
Bus 002 device 003: Id 0bb4: 0ccf high tech Computer Corp.

2. In the list, the USB port used by bus 002 device 003: Id 0bb4: 0ccf high tech Computer Corp. HTC mobile phone is determined based on the device ID of each user.

3. sudo gedit/etc/udev/rules. d/70-android.rules

Add the following content: (fill in the ID of the HTC line obtained in lsusb with idvendor and idproduct)

Subsystem = "USB", attrs {idvendor} = "0bb4", attrs {idproduct} = "0ccf", mode = "0666"

4. $ sudo chmod A + Rx/etc/udev/rules. d/70-android.rules

5.

A) sudo reboot

Or B) unplug the USB cable and execute

Sudo/etc/init. d/udev restart
Sudo kill-Server
Sudo Devices

6. Use ADB devices to view the specific mobile phone device.

**************************************** ************

Ubuntu12.04 KDE Desktop Installation
**************************************** ************

Sudo apt-Get install kubuntu-Desktop

Install the Chinese package:

Sudo apt-Get install language-pack-KDE-ZH-HANT-base language-pack-ZH-HANT- base

**************************************** ************

Install kdesvn in ubuntu12.04
**************************************** ************

Sudo apt-Get install kdesvn

**************************************** ************

Ubuntu12.04 install the "typing interrupted" software on the timed screen lock software and modify it in system settings

**************************************** ************

Sudo add-Apt-repository PPA: drwright/stable

Sudo apt-Get update

Sudo apt-Get install drwright

**************************************** ************

Ubuntu12.04 powerful workrave function for timed screen lock Software Installation

**************************************** ************

Sudo apt-Get install workrave

Related Article

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.