)> at java.util.zip.zipfile.164)> ...8moreapk Anti-compilation failed to continue next source decompile!According to the error message that should be the decompression apk when there is a problem, with good pressure to try but can open normally.Try to unzip it with good pressure and then repack it and throw it into Android kill.But what is the principle of this defensive approach?First, based on the error message invalid CEN header search, found this
1. android file apk Download zip archive package SolutionIf your download server is an Nginx server, then in the Nginx installation directory of the Conf/mime.types file corresponding location, plus the following line of statements, the specified APK
I want to see the APK source code how to do? Then you need to use the APK Anti-compilation tool.First, the idea of anti-compilation:1) apk file is actually a compressed package. Change the file suffix. apk to.
Under the circumstances, IIS does not allow MIME file downloads that are not registered to IIS, which MIME types are supported by default, and can be seen in the properties of the IIS site.
It's just a pity that some common patterns are not supported by default. such as. iso. 7z BT seeds, etc.
We can manually add the mine type so that IIS can hold the file download we specified.
The site---Properties
Download Apktool_2.0.1.jar (all files are available for download at the bottom of the package article): http://ibotpeaches.github.io/apktool/Apktool.bat@echo off if " %path_base% " "" Set path_base=%path%set path=%cd%;%path_base%"%~dp0\apktool.jar" % 1 %2 3 %4 5 %6 %7 % 8 9 Execute command (cmd to the directory in which it resides)123. apkDecrypt source code1. Unzip the apk file copy "Classes.dex" to the D
As we all know, zip is a compressed file format, MAC OS default supported file format, at that time occasionally when you open the zip file you want to unzip, but automatically become a cpgz file without decompression, and then do
Package files into a zip format
Features for downloading files
Key points of Analysis:
Here I'm using PHP's own ziparchive class
A) We only need to new a Ziparchive object, then use the open method to create a zip file, and then use the AddFile method, the file will be packaged to write to the
Using Zip for file transfer in an Android project can greatly reduce storage space and transfer traffic, so it involves compressing the zip file. The Java Native Zip API is described in detail below. First, a simple list of Java in the API on the
Detailed description of zip file format (1) -- file data format
----------------------------------------------------------------------------------
Document Description
Zip compression is one of our common compression formats. He has many users around the world with its versatility and high compression ratio. This arti
mac on the zip file to extract the CPGZ format of the file what to do?
Problem Reason:
First, we analyze the following reasons for this situation:
1, the zip file has been damaged;
2, zip
How to add a file to a zip file that the server already exists with PHP
Note that instead of generating a zip, add a file inside without unlocking the server zip file. May I ask how I s
Generate a zip file and decompress it. if the file is damaged, I use the compression class to compress some images and xml files into a zip file, but if the transfer type is binary during ftp download, the zip
In Java, there is a special package for the operation of the zip file (java.util.zip), the zip file is very convenient to operate, the last time to write a ZIP file release program, spent a day finally finished, At first it was qu
Prerequisites
It is assumed that the reader has been able to use cocos2d-wophone for game development and can read resource files from the hard disk. If you still do not know about this, please add relevant knowledge here.
The sample code used in this article, are based on the tests project cocos2d-x source code, in order to read this article can better understand the various operations, it is recommended that you download the cocos2d-x source code, and follow the article on how to run the tests
First Step encryption:1. The meaning of encryptionIf the software is not encrypted it is easy to be anti-compilation caused by the source code leaks, to find out the address of the server and indirectly received attacks, such as a series of problems.2. Methods of encryptioncan use Love encrypted URL: http://www.ijiami.cn/ apk encryption, which is provided by the third party safe and reliable! , details can be consulted: http://jingyan.baidu.com/album
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;
PHP ziparchive is a PHP extension class, you can easily achieve the zip file compression and decompression, before using the first to ensure that the PHP zip extension has been opened, the specific opening method does not say, different platforms to open the method of PHP amplification online have, if there is doubt welcome communication. Here's a look at the usu
How to determine if a apk file is a home application
Imported Packages:
Import Android.content.Context;
Import android.content.Intent;
Import Android.content.pm.PackageParser;
Import Android.os.Bundle;
Import android.os.Environment;
Import Android.support.design.widget.FloatingActionButton;
Import Android.support.design.widget.Snackbar;
Import android.support.v7.app.AppCompatActivity;
Import Android.suppor
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.