1. Android SDK Manager is updated.
1. Update Host
Open the directory C: \ Windows \ System32 \ drivers \ etc. There is a hosts file under the Directory and open it in the editor.
Copy the following fields to the hosts file and save them. Note that the original file content is not modified, but only the content is appended.
203.208.46.146 www.google.com74.125.11
Reference: http://www.oschina.net/question/1399261_195245Android SDK for a long time, want to update to the latest SDK package:Dalian Neusoft Institute of Information Mirror server address:-http://mirrors.neusoft.edu.cn Port: 80Beijing University mirror server address:-ipv4:http://ubuntu.buct.edu.cn/Port: 80-ipv4:http://ubuntu.buct.cn/Port: 80-ipv6:http://ubuntu.buct6.edu.cn/Port: 80Shanghai GDG Mirror serv
Workaround:Transfer from http://www.cnblogs.com/tc310/archive/2012/12/21/2828450.htmlHttp://jingyan.baidu.com/article/636f38bb267982d6b84610f0.htmlFirst step: Modify the Hosts fileThe contents of the modified Hosts file are:127.0.0.1 Localhost#google Home 203.208.46.146 www.google.com# This line is for the convenience of opening the Android development website now it seems like no VPN can also open 74.125.113.121 developer.android.com# updated content
Problem Description:the Android SDK Manager cannot download the update, or the update is very slow, or the list of packages to be installed is not displayed. Workaround:First, we'll modify the hosts file. The location of the file is in the system disk (typically C-drive) with the following path:C:\Windows\System32\ drivers\etc\hosts. After the file is found, we n
I don't know when to start, when I open the Android SDK Manager.exe, the command-line window is automatically turned off.Want to update some of the android things are not updated.Check it out, the solution is:System variables for environment variables in path, Java\bin's path is placed in front of Windows\System32.For example, my situation is:D:\Program Files\jav
For well-known reasons, there is a red wall in our network environment, which leads us to have a lot of problems when we configure our environment-we can't connect to Google servers to download some dependent packages.Android Studio is really disgusting, today is the nth time said, all kinds of configuration after the thought can be happy to write code, but offline work when new project finished Xxxxactivity.xml cannot use graphical interface preview, cannot drag the control. Finally have the ne
Original address: http://blog.csdn.net/exlsunshine/article/details/22208857The Celestial network ... Ah ~ really no words ... Fortunately recently installed Google Chrome + red apricot, finally see the world outside the big wall ...Red Apricot plugin can only be used in chrome, if you can set Google Browser as a proxy.Recently want to install an Android development environment, Android
First, modify the hostsUnder OSX, like Linux, into the/PRIVATE/ETC directory, and then sudo vim hosts, add a sentence inside:#google_android更新74.125.237.1 dl-ssl.google.comTwo, set the SDK Manager's HTTP Proxy Server and PortHTTP Proxy Server filled in: mirrors.neusoft.edu.cnPort Fillthen tick the first option in others: Force https://using/HTTP//just go through the two steps above and then you can download it normally. MAC OSX
Problem Description:the Android SDK Manager cannot download the update, or the update is very slow, or the list of packages to be installed is not displayed. Open the Hosts file and add the following code in its trailing margin to save:#Google主页203.208.46.146Wwwgoogle. #这行是为了方便打开Android开发官网 now seems to be not VPN can
it to an IP address on the DNS server and then access it. Then, we added the Android SDK to the hosts to obtain the update link and download the update link URL and the corresponding IP address. The purpose is to save the DNS resolution step, thus saving time, it also accelerates the download speed.
Modify the http Request Method to force the http request instead of the https request. The principle is to
My android SDK is android4.0.4 of the A10 solution. Because the company develops a device based on this platform, it needs to remove the software that comes with android and the software that comes with the manufacturer. To learn how to crop the android apk. The method is re
();} inputStream. close ();} System. out. println ("downloaded"); // send a Message to handler to change the text attribute of the button. message = handler. obtainMessage (); message. what = 1; handler. sendMessage (message);} catch (MalformedURLException e) {e. printStackTrace ();} catch (IOException e) {e. printStackTrace ();}}}). start (); return file ;}
Here is how to install APK:
/*** Install APK *
When launching the SDK manager Download Configuration SDK, the error is as follows:
[Email protected]:/opt/android-sdk-linux/tools$ sudo./android Update SDK./
scale, number of methods and so on.
Analysis of any APK
Check the size of the APK download package, the actual size after decompression
decompile resource file, restore resource ID in layout, code
Analyze Dex, show the number of methods in each section, and see the size of the library directly
How to use: Build-Analyz APKWith Analyz APK
, which is very convenient and recommended, as follows:
First step: Export.
Step Two: Create KeyStore keystore, enter the KeyStore export location and password, remember the password, the next use existing KeyStore will be used.
Step three: Fill in the key library information, fill in some apk file password, the use of time and organizational unit information.
Step Fourth: Generate the
Unity3d publishes detailed steps for APK to run in the Android virtual machine (Unity3d export Android apk), the total process is divided into the following 6 steps:
1. Installation JAVA_JDK
2. Configure Java Environment variables
3, update the Android
Android: several common tips for compiling and packaging apk: android: compiling and packaging apk
Today I will share with you three tips for packaging apk with eclipse:
1. Prevent obfuscation and encryption from being decompiled:
1. Open this sentence in the project. proper
be modified.
3. zipalign Optimization
Using zipalign to optimize your APK file can reduce the usage of running Memory RAM.
If you have downloaded Android SDK tools, the file is located in the Android-SDK-Windows \ tools directory.
Command Format
Zipalign.exe-V 4 your
${android_sdk_home}/build-tools/android_version/aidl
Frameworks\base\tools\aidl
javac
java Compiler
${jdk_home}/java C or/usr/bin/javac
dex
Convert. class files to. dex files that are recognized by the Davik VM
${ANDROID_SDK_HOME}/BUILD-TOOLS/NBSP;ANDROID_VERSION/DX
Apkbuilder
Build APK Package
${android_sdk_home}/tools/apkbuilder
Avd manager or sdk manager cannot be enabled,
Recently, I started to use Android. When I started the project using AS, I always reported various errors, but many of the information on the Internet could not be solved. You can only do this by experiment.
If you find that avd manager
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.