Just installed 64-bit system, Ubuntu14.04, build jdk,android environment, the Android SDK copied over, the inside of the ADB and other commands can not be used.Error message: android-sdk-linux_86/platform-tools/adb: There is no file or directory.Goolge to the solution: because it is a 64bit system, and the
After Ubuntu 12.04 is installed, install eclipse. After installing and downloading eclipse, decompress the package and install jdk.
Adt installation because I am a telecommunications network, I cannot connect to google's Development Network during installation.Https://dl-ssl.google.com/android/eclipse/, modify the hosts file at: /etc/hosts. Add:
74.125.237.1 dl-s
After installing the system, the first step is to update the source and find the fastest source. The second step is to obtain the latest software information, which has little to do with this question. In fact, there are many methods to implement file transmission between Windows and Ubuntu, such as using FTP, SAMBA, or directly mounting a USB flash disk. The following describes a
transmission vulnerability.
Until now, Pidgin does not support mutual transmission of files with the official MSN client, resulting in abnormal and slow direct file transmission. The vulnerability was finally fixed several days ago and is included in the latest version of Pidgin 2.7.1.
Pidgin 2.7.1: supports direct connection (with the official MSN client), provides a faster file
Due to various reasons in the Celestial kingdom, the Android SDK cannot be downloaded. There are all kinds of HTTP proxy methods on the Internet, but setting in the SDK manager is not found in the Ubuntu environment, so we will write the configuration to the configuration file:Create File ~/.androidtool.cfgAdd the following content to the
First, open your Android device, connect to your computer, and enable the USB debugging function in the developer options in the settings.
Then, according to the android developer website (http://developer.android.com/tools/device.html) to do some preparation work. In this exampleAndroidmanifest. xmlIn the fileAndroid: debuggable = "true"AddElement. Then, use the text editor to write the. Rules
directory folder, replace with, and then enter
You can enter the JNI folder to see the generated. h header File
View files as
[HTML]View Plaincopy
/* Don't EDIT this file-it are machine generated */
#include jni.h>
/* Header for class com_hello_word_hellowordactivity */
#ifndef _included_com_hello_word_hellowordactivity
#define _included_com_hello_word_hellowordactivi
the installation was successful.2. Installing ADT Bundle for LinuxDownload ADT bundle for Linux from Google's website, which contains the Android SDK and Eclipse, and has already installed ADT.Unzip to the installation directory when the download is complete.Perhaps you would also like to:Open EclipseExecute Help--Install New software ...Click Add ...In the popup dialog box, fill in the Name:android Developer Tools Update Site, location:http://dl-ssl
The first headache for new users to transfer to Ubuntu is partitioning, because it is very different from the partitioning method on windows. You must first understand two things before partitioning, 1. LINUX partition rules. 2. Linux File System. After you confirm the file system, you can select a partition solution s
Ndk make: *** no rule can be created
$ Ndk/ndk-build
The above error is generally because Android. mk in your JNI file contains spaces that are not suitable.
There may be many reasons for this problem.If this problem occurs, check the Android. mk file and remove all useless spaces.
==================================
For some reason, it is very difficult for us to access Google's website. I remember that we could download at least the android API versions in the Eclipse plug-in. But now we can't download them directly .. Various pitfalls
The solution is as follows:
The solution for downloading the android API version is as follows:
Modify the hosts file in the c: \ windows
In Linux and Windows systems, some files are often transmitted, and I often transfer small files to each other.
So the first thought of it is to use the Flying Pigeon ipmsg, but the Flying Pigeon only supports the 32-bit Linux version. In ubuntuamd64, you need to find another alternative-the messenger iptux, which is compatible with the Flying Pigeon.
But from the file: Win's Flying Pigeon hair-> Ubuntu's
1. Install MTP Software FirstApt-get Install Mtpfs libmtp-common mtp-tools libmtp-dev libmtp-runtime LIBMTP92. Edit the/etc/fuse.conf file#/etc/fuse.conf-configuration file for Filesystem in userspace (fuse) #Set The maximum number of fuse mounts allowed to nOn-root users. #The default is. #mount_max = 1000# Allow non-root users to specify the Allow_other or allow_root mount Options.user_allow_otherUncommen
by modifying the SMali file code.It is common practice to obtain an index value for a resource in the res Resource Directory, and then search the smali directory for the . Smali file that contains the index.0x7f0c004e /home/lionel/outdir/smali/*The command is to traverse files and subfolders that contain '0x7f0c004e ' files under the specified directory2. RePack the apk
In fact, every time you reinstall the Ubuntu system, you have to perform a basic environment configuration, and every time you forget some environment configuration items, write this blog post, it is convenient for you to review the system in the future, and also serves as a reference for you to build the basic environment after reinstalling the system.
Because my system is 64-bit, I will use the 64-bit example below. For 32-bit, you only need to down
Sometimes when compared to the code, see some changes, but not clear the author and reason for the change, do not know the corresponding bug number, that is, there is no way to find out the specific reasons for these changes ~"Note": A file changes are limited, and each time the code changes submitted will have a commit description, we can start from here;One, switch to the directoryFirst switch to the directory where you want to view the files:CD pac
Compile Android system problems in Ubuntu
Before compiling the Android system, make sure that all the relevant compilation environment support software has been installed:
$sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-devF
When filezilla is used in Ubuntu and the Windows File Server to transfer files, some files cannot be uploaded or the uploaded file names are garbled. You have also encounteredYou can use filezilla to upload and download files from a Windows Remote machine. However, some files on the remote machine cannot be displayed,
When using Ubuntu64 bit (14.04), download a adt-bundle-linux-x86_64-20131030.zip, but run the Times wrong:
Android:Gradle:Execution failed for task cannot the Run program android-studio/sdk/build-tools/android-4.2. 2/aapt error=2, not the file or directory
Compile resource times with AAPT error, prompt cannot find aapt this command, but in the S
Virtual Machines Select the bridge, and disable the wired and wireless network card, open the local connection, local connection properties to write as follows:The IP address is ipconfig after connecting the board with Windows cmd .the network cable of the board is best connected to the switch or router, and then connected to the computer by using another cableIf the direct board is connected to the computer, sometimes NFS may not work, because the network cable is equivalent to in full-duplex c
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.