1. Generate KeyStoreFollow the command line below in the C:\Program files\java\jdk1.6.0_10\bin> directory, enter Keytool-genkey-alias Android.keystore- Keyalg rsa-validity 100000-keystore Android.keystoreParameter meaning:-validity mainly is the validity of the certificate, write 100,000 days; spaces, backspace keys are counted.The android.keystore file is generated in the C:\Program files\java\jdk1.6.0_10\bin> directory after the command executes. -1
------Create this file Autoinstall.batThe contents are as follows:@ECHO off@REM Add Adb.exe to PathECHO initialization ...@SET path=%path%;%cd%\adb@REM SET PATH@REM an infinite loop of labels: LOOPECHO waits for you to insert your phone ...ADB wait-for-device@REM Loop Install apk file in this directoryFor%%i in (*.apk)
The steps for Eclipse to generate the Andoid installation file apk are as follows
1.) Generate KeyStore
Follow the command line below in the C:\Program files\java\jdk1.6.0_10\bin> directory, enter the Keytool-genkey-alias android.keystore-keyalg rsa-validity 100000-keystore Android.keystore
Parameter significance:-validity is mainly the validity period of the certificate, write 100,000 days, space, the B
1. smali-1.2.6.jar
Purpose: Convert the. smali file to the classes. Dex file.
Note: The. smali file, similar to the. Class file, can be viewed and modified in a common text editor.
Example: command line:Java-jar smali. Jar classout/-O classes. Dex
Download: http://code.google.com/p/smali/downloads/list
2. baksmali-1.2
Required Software: http://download.csdn.net/detail/suixiang888/4788195 credit is not enough, please trust me
1. First find classes. Dex in the android installation package
Change the APK file name to .zip, and decompress the classes file. dex file, which is compiled by a Java fil
============ Problem Description ============My Android program is installed directly from eclipse to the phone, all functions normally, the bin folder automatically generated apk file copy to the phone after the installation of a part of the function is a bit abnormal. If you right-click a project, Android tools then build the APK and then install the build
============ Problem Description ============My Android program is installed directly from eclipse to the phone, all functions normally, the bin folder automatically generated apk file copy to the phone after the installation of a part of the function is a bit abnormal. If you right-click a project, Android tools then build the APK and then install the build
==================== Problem Description ====================My Android program is installed directly from eclipse to the phone, all functions normally, the bin folder automatically generated apk file copy to the phone after the installation of a part of the function is a bit abnormal. If you right-click a project, Android tools then build the APK and then instal
Dex2jar And JD-GUI These two tools are a good helper for learning android. Dex2jar: Http://laichao.googlecode.com/files/dex2jar-0.0.7-SNAPSHOT.zip JD-GUI:Windows edition JD-GUI: Http://laichao.googlecode.com/files/jdgui.zip Linux edition JD-GUI: Http://laichao.googlecode.com/files/jd-gui-0.3.2.linux.i686.tar.gz 1. First find classes. Dex in the android installation package Change the APK file na
Today, when comparing multiple similar theme projects, we found that part of the compiled apk is bloated.
In reference to the "Android build Size Optimization APK build Size Optimization" http://www.opensoce.com/3892.html
Find the options in android project properties to reduce the size of the APK package.
1. Java Build Path tag-> Libraries-> check the Link Li
A friend who needs to extract the specific URL of the apk file can look at this code instance. In work, you often need to extract the specific URL of the apk file. if you want to use a Python script for automatic processing.
The basic knowledge of Python is as follows:
OS. walk ()
Function declaration: OS. walk (top, t
At work, you often need to extract the specific URL address of the APK file, which is the idea of using a Python script for automatic processing.
The Python basics you need to use are as follows:
Os.walk ()
function declaration: Os.walk (Top,topdown=true,onerror=none)
(1) The parameter top represents the path of the top-level directory that needs to be traversed.
(2) The default value of the parameter topdo
Use Kivy to package the python program as an apk file,
1. Overview
KivyYesPythonThe cross-platform open-source application development framework is available on the official website.ItPythonProgram Package as AndroidapkInstallation File. The following is used in windows.
Many things will be downloaded during installati
Original URL: http://jeyechao.iteye.com/blog/2164286The NDK compiles the shared library, and Eclipse is automatically packaged into the APK, and the compiled executable does not.To be able to automatically package the executable file into the APK, you can change the file name to libxxx.so form, disguised as so, it will
Some time ago, the company developed the javaee project and the website provided download for Android applications. The results showed that the APK files downloaded by many 3G online users were changed to zip files, but the database is stored in the APK file path, recently cannot be understood, our company uses apache-tomcat7, I took a look at tomcat, it is found
1) generate a keystore
Run the following command in the C: \ Program Files \ Java \ jdk1.6.0 _ 10 \ bin> directory and enter keytool-genkey-alias android. keystore-keyalg RSA-validity 100000-keystore android. keystore
It indicates that-validity indicates the validity period of the certificate, which is set to 100000 days. The space and the Return key are counted as passwords.
After the command is executed, the android. keystore file is generated in
Recently, many android and iphone applications have been added for download after app Image moderation is launched, but a problem is found: When you use nginx to download the .ipaor .apk file, the following problems may occur: when the Internet browser downloads the file, the current extension name is changed to .zip; however, if you use Firefox to download a
How to package the. So file in APKThere are two methods,1 is added to the Android. mk file.Local_jni_shared_libraries: = libxxxIn this way, ndk will automatically package libxxx into APK during compilation;In the youapk/lib/directory.
2. Create an application directoryLibs/armeabiDirectory, and then copy libxxx. So to this directory,In this way, the ndk will automatically package libxxx. So into the APK.In
complete, we can upda the code and commit code directly from SVN here, it is convenient, and no need toSwitch to the beginning of the code path we pulled down the update, and eclipse in the SVN plugin function, but hereor a little simpler.Click "Builder" on the toolbar and select Generate Singed APKThe following page appears, as shown inChoose the APK package you need to test yourself and click Finish (these are all the environments that are already
http://hold-on.iteye.com/blog/2064642---Original eclipse android settings and modify the generated apk signature fileBlog Category:
Android
Android Eclipse settings and modify the build apk signature file 1, issue: Usually when using Eclipse for Android project development, because each project group has its own signature, but the default eclipse 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.