using zipalign.exe (in the android-sdk-windows \ tools directory) to optimize it:Copy codeAs shown above, zipalign can align uncompressed data in the apk file on the 4-byte boundary (4 bytes are a good value), so that the android system can use mmap () (please check the purpose of this function) function reading files
Android SDK after the extracted directory, the wrong choice will be error, this is the upgrade tool, there is no version of the SDK(2) To upgrade the SDK version, select the menu Window->android SDK and AVD
Revisions
The sections below provide notes about successive releases of the SDK tools, as denoted by revision number. to determine what revision of the SDK tools you are using, refer to the "installed packages" listing in the android SDK manager.
For a summary of all known i
In SDK 2.3, we can see that a proguard folder is added under android_sdk _ path/tools/. Google places proguard Technology in the android SDK, it can be implemented through normal CompilationCodeConfused.
After Version 2.3, no matter which SDK version is used for development, two files, default. properties and proguar
-ins, please refer to me above described operation.
Then create a new Notepad file in your MyEclipse installation directory (my myeclipse is installed under d:myeclipse6.5) d:myeclipse6.5 eclipselinks Named Adt.link, and then open with Notepad editor, enter the following: path=d:/adt-14.0.0,d:/adt-14.0.0 is my ADT plugin decompression path, or that sentence: Your decompression path is best not to include Chinese. Then reboot your myeclipse, and you will see two small icons, which indicate that
The previous walfred has introduced the use of Apktool to reverse-compile apk, By Apktool we can actually decompile the serialized Androidmanifest.xml and resource files, and so on, but is there a quick and efficient tool to get the basic content, permissions, and basic information of a apk in the context of a package? The answer is yes, this tool is the AAPT to be introduced today.
AAPT Introduction
AAPT
In Android development, there are a lot of times when you need to use dynamic loading, today to learn how to dynamically load the installed APK in Android.First, we need to create a new Android project to be loaded, and give him a name called: plugprojCreate a new class Dynamic in Plugproj, in which we create new methods, and so on, we will load these methods sep
[Learn Android while working on projects] Xiao Bai will encounter problems -- This Android SDK requires Android Developer Toolkit version 23.0.0 or abve, androidadt23.0.0Problem description:
In the previous article, we talked about reducing the adt version to solve the Appcompat_V7 problem, so we changed the old versio
and flash size of the system at will, CPU frequency and other hardware attributes make it unnecessary for your application development to consider the impact of various hardware resources on the simulator, you don't have to drink coffee or eat bread and watch the simulator run slowly !!! You can even find a host and install the Android system on a desktop or notebook !!
Write here, the key question comes, some friends may want to ask, so, how to
more simple and convenient)4. run Android SDK Manager.exe(the SDK path cannot contain Chinese). Run appears asAndroid SDK (Android software Development Kit): Android Software Development Kit toolNote 1: Some of the files in tools
we use HTML5 to develop applications and simply encapsulate them into APK files?1. webview in Android SDK1. instantiate the webview component in the activity: webview = new webview (this );2. Call the webview loadurl () method to set the web page to be displayed in wevview:For Internet: webview. loadurl ("http://www.31358.com ");Local file: webview. loadurl ("file: // android_asset/xx.html"); local files a
In ubuntu, the apk software was installed on the android Virtual Machine for android development in the window some time ago. You can use the adb command to install the apk software on the android Virtual Machine. During this time, it was transferred to linux, I am using ubu
, and then enter the command "VI/ETC/BASHRC" to modify the filePress "I" key to enter insert state, insert the following two lines in the fileThe path here is the directory where we just placed Ant.At this point we press "ESC" key to exit the edit state, and then enter ": wq!" (the command in quotation marks), click Enter, save and exit.Finally, we shut down the terminal. Then, re-open the terminal and enter "Ant-version" again to see the following output, indicating that our ant configuration w
in you Ubuntu system.Reference: http://blog.chinaunix.net/u3/104357/showart_2132259.html
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml appears when installing Android SDK for Linux
There are some differences between installing Android AVD manager
omitted, the SDK will modify the system's Libaray load path, generally, there will be no problem (informal code, small probability will be modified with the Android upgrade new code), if convenient, or the use of system.load ( Decrawso.getinstance (). GetPath ("* * *"))Following these simple steps, the compressed SDK has been integrated into the project.Iv. How
Open Source Association of Chinese Academy of Sciences Mirror Station address:
ipv4/ipv6:http://mirrors.opencas.cn Port: 80
ipv4/ipv6:http://mirrors.opencas.org Port: 80
ipv4/ipv6:http://mirrors.opencas.ac.cn Port: 80
Shanghai GDG Mirror server address:
Http://sdk.gdgshanghai.com Port: 8000
Beijing 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: 80
Dalian Neusoft Information College mirr
SDKWindows or Mac system)
◆ A powerful enough computer netbook can only simulate one smartphone)
Then:
1. decompress the Android SDK. You should see a bunch of folders and files, including Platforms, Add-ons and Tools.
Decompress Android SDK
2. Open a program or script called Andr
Android .intentobject use. APK DecompilationIntentobject decompilation using .apkJiangdg_VIPhttp: // blog.csdn.net/u012637501 the first three sections mainly learn the functions, attributes, and values passing between different activities of the Intent object. This section focuses on the usage of the Intent object. In my speech recognition project, you can use Inteng objects to start in-app components, syst
Window->android SDK and AVD Manager appear the following interfaceSelect the Update All button and the following interface appearsSelect an item on the left, click on the installation, click Reject to not install, I only choose the SDK 2.1 and samples for API 7, I can arbitrarily customize, OK, select the Install butt
1, run the SDK Manager, select the simulator, and run the simulator, I use the configured simulator "RedMI"2, has started the good simulator "RedMI"3. Remember the location where the apk file needs to be installed, I put it in the root directory of the F-driveI downloaded the apk file that is keyed to the movie, it is
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.