使用Apktool正常编译apk后,安装时报:解析软件包时出现问题(33),详细信息:packageInfo is null 解决方案 这是由于应用程序的签名不正确。使用签名工具对apk签名一下就行。
以下是apktool.yml文件,由于文件中包含了MetaInfo类,所以必须指定yml序列化需要的类(这一部分拷贝了apktool源码中部分MetaInfo部分)。 !!brut.androlib.meta.MetaInfoapkFileName:Rong360-release.apkcompressionType:falsedoNotCompress:nullisFrameworkApk:falsepackageInfo:{forcedPackageId:'127',renameManifestPackage:...
第三个判断条件unk.getCompressionLevel(file) == 0,这个是zip的压缩等级,源码如下 publicintgetCompressionLevel(StringfileName)throwsDirectoryException{ZipEntryentry=mZipFile.getEntry(fileName);if(entry==null){thrownewPathNotExist("Entry not found: "+fileName);}returnentry.getMethod();} entry.getMet...
Caused by: brut.common.BrutException: could not exec (exit code = 1): [/tmp/brut_util_Jar_7346229083806801174.tmp, p, --forced-package-id, 127, --min-sdk-version, 15, --target-sdk-version, 26, --version-code, 1, --version-name, 1.0, --no-version-vectors, -F, /tmp/APKTOOL654...
isFrameworkApk:false packageInfo: forcedPackageId:'127' renameManifestPackage:null sdkInfo: minSdkVersion:'12' targetSdkVersion:'22' sharedLibrary:false unknownFiles:{} usesFramework: ids: -1 tag:null version:2.2.4 versionInfo: versionName:1.0.1.0.0...
isAPKFileNames(file)&&!file.endsWith(".dex")){// copy file out of archive into special "unknown" folderunk.copyToDir(unknownOut,file);// let's record the name of the file, and its compression type// so that we may re-include it the same waymApkInfo.addUnknownFileInfo(file,String...
以下是apktool.yml文件,由于文件中包含了MetaInfo类,所以必须指定yml序列化需要的类(这一部分拷贝了apktool源码中部分MetaInfo部分)。 !!brut.androlib.meta.MetaInfoapkFileName:Rong360-release.apkcompressionType:falsedoNotCompress:nullisFrameworkApk:falsepackageInfo:{forcedPackageId:'127',renameManifestPackage:...
isFrameworkApk: false packageInfo: forcedPackageId: '127' renameManifestPackage: null sdkInfo: minSdkVersion: '26' targetSdkVersion: '28' sharedLibrary: false sparseResources: false unknownFiles: play-services-ads-identifier.properties: '8' ...
Quick Intro : Let me answer that question, an apk, first of all, is the format of Android apps, as .exe would be for Windows, apk means Android Package by the way. But what’s the big deal? Well an apk contain a lot of things into it. When you open it as an archive, you mi...
move AndrolidExceptions to the package brut.androlib.exceptions by @sv99 in #3088 build(deps): bump commons-io:commons-io from 2.12.0 to 2.13.0 by @dependabot in #3093 build(deps): bump com.google.guava:guava from 32.0.0-jre to 32.0.1-jre by @dependabot in #3092 Refactor into ...