Preserve multiplexed APK

オープン
#67 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
android, java
領域
tooling

調査の方向性

Start by reading the linked ApkDataMultiplexing project and reproduce the reported workflow: multiplex an APK, modify it with APKEditor, and compare the resulting size. The issue names no APKEditor source files or tests to start from. Done means modifications preserve multiplexing instead of the APK growing from 189 MB to 369 MB.

索引モデルが issue の本文から書いたものです。

説明

Describe the bug
Since we bypass security with original APK inside modified APK, we needed to multiplex APK in order to reduce the size of APK.
APKEditor does not support multiplexed APK, so any modifications will lose multiplex and revert size to original. For example, multiplexed APK is 189 MB. After modification using APKEditor, the size reverts back to 369 MB

image

See the details how multiplex technique works. The source is written in Java too, makes it easier to adopt to your project! https://github.com/L-JINBIN/ApkDataMultiplexing

To Reproduce
Steps to reproduce the behavior:
I don't want to give details about bypassing but you can easly replicate it

  1. Put original APK inside an APK you want to be modified (e.g. /assets/sample.apk)
  2. Multiplex the APK file from /assets/sample.apk using ApkDataMultiplexing. You need your own jks file to sign and multiplex it
  3. Make any modifications using APKEditor

Used apk file
https://mega.nz/file/PRRRBBQJ#8EYVX3gI1ejL1cSZmfTQtWkyo5Ay69CMhIKGKqI7siw

主要言語
Java
スター
2.3k
フォーク
417
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

REAndroid/APKEditor のほかの issue

REAndroid/APKEditor の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。