apktool:http://download.csdn.net/detail/victoria_vicky/88193551. Navigate to the Apktool directory2. Execute the following commandNote:D is the anti-compilation parameter, which represents decodeThe reason for adding the-R parameter: In order to prevent "error message could not decode ARSC files, the discovery is unable to decode the resource" occurs, or prevents the recompilation cannot be caused after the decompile.3, after the anti-compilation, you
Thanks rover12421This major update Shakaapktool1. Update Apktool version to 9c874a82. Add do not resolve. 9 Resource Options3. Add the Use Default framework option to resolve update apktool do not remove 1.apk anti-compilation error issues4.unkownFiles compression Mode First try original package mode5. Add res resource not referenced by ARSC, no ID generated, will lose problem6. Add string Style continuous '; ' raises parsing error correctionMost impo
Recently encountered a very disgusting problem:1 Error log:Exception in thread ' main ' brut.androlib.AndrolibException: **could not decode ARSC file** at Brut.androlib.res.decoder . Arscdecoder.decode (arscdecoder.java:56) at BRUT.ANDROLIB.RES.ANDROLIBRESOURCES.GETRESPACKAGESFROMAPK ( androlibresources.java:491) at brut.androlib.res.AndrolibResources.loadMainPkg (androlibresources.java:74) at Brut.androlib.res.AndrolibResources.getResTable (androlibr
-is-not-translated-in-language-errorsto ignore a Gradle build add this to the Android section of your build file:lintoptions {Disable ' missingtranslation '}Authentication Error errorcode:201 UID:-1 appid-1 msg:app disabled by userUbuntu Apktool 2.0 Exception in thread "main" Brut.androlib.err.UndefinedResObjectKeytool-list-keystore Sportsapp.keystore206.Exception in thread "main" brut.androlib.AndrolibException:Could not decode ARSC file at Brut.and
overwrite our application, causing malicious damage!
Ii. Packaging Method with Digital Signature
(5) Then we need to use the signature method to package our software. The procedure is very simple. Right-click the project --- Android-Tools --- Export Android Application -- and we will not introduce it later! Follow your own needs!
Iii. Implementation Process of apk Decompilation
(6 steps in progress, we have produced a signed APK file test.apk, And then we use the decompression software to decom
native library-armeabi. so file, c/c ++ code library file-META-INF APK signature file 【***. RSA ,***. SF ,***. MF files: the Resource Directory used in the res application-AndroidManifest. xml application attribute definition file-classes. dex Java source code compiled code file-resources. resource file compiled by arsc
This is the same for our plug-in installation. We can see from the directory that if we need to build a plug-in framework. In additi
. Only the latest development version is obtained. Canary Channel: Specifies the preview publish Channel. Only the latest preview version is obtained. Rc release candidates
Among the above four channels, the Stable Channel is the most Stable and has fewer problems. Canary Channel can obtain the latest version, which has many problems.204. Drag Android: fastScrollEnabled = "true" android: focusable = "true" 205. Lint: How to ignore "is not translated in" errors?
Http://stackoverflow.com/questions
Decompilation can display the Chinese apktool (ShakaApktool ),
Thank you, rover12421.
This major update is ShakaApktool.
1. Update apktool to 9c874a8.
2. Add the "Do not parse. 9" resource Option
3.20.use the runtime framework to solve the problem of updating apktoolwhile deleting 1.apk decompilation errors
4. unkownFiles compression mode first try the original package Mode
5. Add res resources that are not referenced by arsc. If no id is gen
searched through the corresponding sub-directories, therefore, this is the first problem to be solved.In fact, the document does not explain how to use this method, that is, how to transmit this String parameter. I guess the root directory is/assets, so I tried the following:Copy codeThe Code is as follows: mAssetManager. list ("."); // returns array size is 0MAssetManager. list ("/"); // returns [AndroidManifest. xml, META-INF, assets, classes. dex, res, resources.
ADB Install-r-S Xxx.apk-r Reload-s install to SD card installation softwareADB uninstall-k Package name-K only Uninstall program does not purge dataADB pull xxx.xxx to remove files from your phoneADB push xxx.xxx send file to PhoneADB shell enters mobile phone terminalADB devices list of connected mobile devicesAdb:reset adb adb kill-server adb start-serverNetstat-ano viewing the process that the port number occupiesSigned->adb installation,->androidmanifest.xml profile, compile installation, An
Android Application Installation process:
First an Android project, then compile and package, compile the. java file as. Class,.class compiled to. DEX, package all the files as a apk, compile the code, and do not compile the resource.
. apk. ARSC is the index of resources, which can be indexed when more resources are available.
signing-signature, the system detects if the application is overwritten, in addition to the detection package name is co
traditional Java programs, first compile the Java file into a class file, and the bytecode is saved in the class file. the Java Virtual Machine can explain and execute these class files. The Dalvik virtual machine is optimized on the Java Virtual Machine and runs the Dalvik bytecode, which is converted from the Java bytecode. Generally, android applications convert Java bytecode to Dalvik bytecode through the dx tool in AndroidSDK during packaging. The dx tool can merge, reorganize, and optimiz
step-by-step arrangement, compared to do should not have too much problem.Three, apk anti-compilation note 3.1, Apktool version is too old to cause the problem of anti-compilation failureI've used apktool before. Some old versions of this tool found that anti-compilation was always unsuccessful and the following error occurred when performing the anti-compilation:Exception in thread ' main ' brut.androlib.AndrolibException:Could not decode ARSC file
the step-by-step arrangement, compared to do should not have too much problem.Three, apk anti-compilation note 3.1, Apktool version is too old to cause the problem of anti-compilation failureI've used apktool before. Some old versions of this tool found that anti-compilation was always unsuccessful and the following error occurred when performing the anti-compilation:Exception in thread ' main ' brut.androlib.AndrolibException:Could not decode ARSC f
-party library;5. File type leaderboards, PNG, Dex and ARSC are the top three;
3, combing the optimization objectivesSo our goal is no tooth decay, no, is the following goal:1. PNG image optimization;2. Optimization of RESOURCES.ARSC files;3. Code optimization3.1 Picture optimization attemptsFirst of all is the first goal, picture optimization, slow, we look at these figures why so big first, exactly, why these figures in the APK (in fact, zip f
Two. net editors and two. net editors
In asp.net status, there are two good Web Editor, freetextbox and fckeditor. Many articles on the Internet are described and summarized.1 freetextoxWhen installing freetexbox. dll, you can drag the control.Add in web. configNote that in vs.net 2005 + asp.net 2.0, you must set it on the page to use freetextbox.Do not miss supportfolder; otherwise, an error occurs.Also, SetValidaterequest = false;2 fckeditorInstallation is very troublesome. There are a lot of
framework-res.apk(2) modify and add the battery status icon (which can be extracted from other ROM)(3) modify the stat_sys_battery.xml file (displayed once every 1%)(4) modify the stat_sys_battery_charge.xml file (corresponding to the new charging animation)(5) Packaging(6) extract stat_sys_battery.xml, stat_sys_battery_charge.xml, resources. ARSC, and a directory named drawable-mdpi.(7) reassemble framework-res.apk5) the status bar information notif
configuration is successful!
2. if:
'Javac' is neither an internal or external command nor a running program.Or batch files.
This shows that the Java environment variable configuration has failed. Check it carefully!
Ii. apktools Toolkit (including the apktools decompilation tool and apksign signature tool ). Download the notepad Code Editor (smali and XML files can be modified ).
Before modification, you should first have an understanding of the internal structure of the APK file:
Global confi
provides dexdump, A decompilation tool for Dex files. The usage is to first start the android simulator, use the ADB push upload simulator to view the DEX file, and then log on to the simulator through the ADB shell, find the DEX file to be viewed, and execute dexdumpXxx. Dex. In addition, dedexer is the only open-source tool that can be found on the Internet to decompile Dex files. You need to compile the source code by yourself.
Resources. ARSC
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.