[-Providerclass [-Providerpath
Jarsigner usage: [Option] JAR file aliasJarsigner-verify [Option] JAR File
[-Keystore [-Storepass [-Storetype [-Keypass [-Sigfile [-Signedjar [-Digestalg [-Sigalg [-Verify] Verify the signed JAR File[-Verbose] Output details during signature/Verification[-Certs] outputs details and displays the certificate during verification[-TSA [-Tsacert [-Altsigner [-Altsignerpath [-Internalsf] contains the. SF file in the signature block.[-Sectionsonly] does not calculate t
Chapter Two APK package anti-compilationCode and resources that have been processed by the compiler have been packaged as APK, and some have even been converted into binary files. But we also have some ways to change the compiled content back to the original, the process called-decompile.Anti-compilation is divided into two parts: one is a resource file and one is a Java file. So files are the result of C +
one of the four components in the Androidmanifest.xml file 0APK Installation-provider Android:name="Android.support.v4.content.FileProvider"android:authorities="Com.xxx.xxxx.fileprovider" android:granturipermissions="true"android:exported="false"> Data Android:name="Android.support.FILE_PROVIDER_PATHS"Android:resource="@xml/file_paths"/> Note that the com.xxx.xxxx in the value of the Android:authorities property here is your package name and cannot be filled in arbitrarily Second, the
APK software Anti-compilation go adsSpecific steps:1. Download apktool :https://code.google.com/p/android-apktool/downloads/list2. Decompile the APK with Apktool. On the command line, enter the following command: Apktool.bat d-f aaa.apk (apk Path) anti-compilation apk file3
. running First.bat First will generate a Dex.jar4. then run Second.bat, generate a _rf.dat file5. open Eclipse, import the folder under the Androiden project (the project for me to test through the project, inside the Dex has been encrypted, can run under the effect of viewing)6. Replace the Assets,res directory and the Anroidmainfest.xml file for the files in your own project, merge the Libs folder, delete the original project's jar reference packag
Android command line to start "unknown" APK
Scenario:
No launcher is available on the mobile phone or on the Development version to display the APK, and we want to start it again. What should we do?
Solution
At this time, you need to start from the command line. To start from the command line using the am command, you need to know the specific package name and m
in the assets path, so the black screen is invisible.
The last step is to put the resources in the assets folder of Android.
(4) copy the res and src folders under the project root directory to the folder generated when the so file is generated. The path is/frameworks/runtime-src/proj under the project. android/assets
At the same time, all the lua files in the
Objective:Recently I was using Android studio to confuse the packaged release release, is packaging successful? Naturally thought of anti-compilation. Then Baidu "APK anti-compilation", out of the most is Apktool anti-compilation. Baidu is really more and more water, anyway, Baidu came out of the course is N years ago, and now can not be used. Many bloggers are not with the new blog, and then with the devel
This topic describes howDecompile the Android Application to view the source code, resource files, and XML files, modify the files, and package them into an APK.. We encourage people to decompile to learn others' designs, rather than confusing the market after changing the app shell. You can also directly use the anti-droid compiled by netizens.
Android
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 file Apktool B/home/lionel/outdir编译指
directly in Eclipse, the APK has not run up, search the error message, only to find that I did not pack so files, resulting in my apk is wrong. Go to project g:\quickluaproject\anysdktest\frameworks\runtime-src\proj.android\build_apk.bat run this bat, will see is compiling information, for a period of time, I first go to other things, and so he finished good, packaging completed, we entered the G:\quickL
Author: Xu jianxiang (netpirate@gmail.com)Date: 2009/12/23Web: http://www.anymobile.org
1/apk file structure:
Apk file:
Android application package file. Every application to be installed on the ophoneplatform must be compiled into a single file with the suffix .apk, which contains the binary code, resources, and confi
References.
1. Android Projectd Building System
VcD4KPHA + signature + 3zwvcD4KPHA + signature/Signature/WztLPwtTYtcTUtMLrxL/CvM/Signature + signature + PGJyPgo8L3A + signature + Signature = "http://www.2cto.com/uploadfile/Collfiles/20140401/20140401092726118.png" alt = "\">
At this time, the gen directory has no content, and the bin directory is not displayed in the project directory. However, you can view the content on the terminal as f
This article mainly introduces the Android APK Anti-compilation Foundation, the use of the tool is Apktoos, we will use a graphic way to explain how the Apktoos tool, you can refer to this method to decompile other apk tryA long time has written a wide-industry library homepage A crawler of the demo (because no interface, can only pick static pages), some of the
application fails, and a FileUriExposedException exception occurs.
Solution:
1. Add
Note that com. xxx. xxxx in the value of android: authorities is your package name and cannot be entered at will.
2. Create an xml file under the res directory and create the xml file file_paths.xml
Note that the file name must be consistent with the value of the resource attribute in step 1.
Content:
current directory:
[Html]AndroidManifest. xml apktool. yml lib res smali
1/xgd_android_test $ lsAndroidManifest. xml apktool. yml lib res smali
The source code (smali), image, xml configuration, and language configuration of apk are provided here.
Use dex2jar and JD-JUI tools to view java source codeDownload dex2jar, JD-JUI two packages, unzip.Change the suffix
Decompile-What to get in the APK fileRecently in doing Android client and server secure communication, there is a common insecurity factor: Many software is often taken from the APK file or account information. What information can be obtained by anti-compilation of a software packaged as an APK? Let's try to decompile
properties on the intent.For each version of Android, install the APK using the code First step:Add Application> Additional Configuration Items - providerAndroid:name= "Android.support.v4.content.FileProvider"android:authorities= "Your package name. Fileprovider"android:exported= "false"android:granturipermissions= "true"> Meta-dataAndroid:name= "Android.support.FILE_PROVIDER_P
(MVN clean android:generate-sources) to view the generated R.java files and discover the cause of the problem:The generated R.java file, the main module is conflicting with the dependency package, and the same resource corresponds to a different index. This makes it problematic to rely on resource indexes in package code when compiling, which can lead to problems. That means Maven has a problem generating the R.java file.Continue to view the MAVEN print log and find the log section for generati
; [Unknown]: foxconnYour ?? Name ?? Critical? Br/> [Unknown]: itYour city or location? ^ Name ?? Critical? Br/> [Unknown]: shenzhenWhat is the name of your state and province ?? Critical? Br/> [Unknown]: guangdong?? Broken acre ??? A? Why? Br/> [Unknown]: cnCN = carey zhou, OU = foxconn, O = it, L = shenzhen, ST = guangdong, C = cn ?? Yun? Br/> [no]: Y? What is the primary key of (RETURN if it is password-secured with keystore? Same): Again? New password? : [Signature process]Token)C: Documents
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.