Merge APK black screen when run

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

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

評価

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

調査の方向性

Start by reproducing the reported merge with APKEditor 1.3.9 on Android 13 using the provided java -jar APKEditor-1.3.9.jar m -i apk command, then inspect the logcat errors for asset-pack retrieval and the missing Connect.prefab. Compare the result with the reported ApktoolM antisplit plus aapt output; done means the merged APK runs without the black screen or those errors.

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

説明

When I use APKEditor to merge xapk into apk, when run it will have black screen, check logcat, it will have some error

08-17 09:44:17.025 E/Unity (18605): Failed to retrieve asset pack: -13: Asset Pack Download Error(-13): The app is not owned by any user on this device. An app is "owned" if it has been acquired from Play. (https://developer.android.com/reference/com/google/android/play/core/assetpacks/model/AssetPackErrorCode.html#APP_NOT_OWNED)
08-17 09:44:17.025 E/Unity (18605): Google.Play.AssetDelivery.Internal.<>c__DisplayClass26_0:b__1(String, Int32)
08-17 09:44:17.025 E/Unity (18605): Google.Play.Core.Internal.PlayCoreEventHandler:Update()
08-17 09:44:17.025 E/Unity (18605):
08-17 09:44:17.029 W/Unity (18605): <color=#449371>[ASSET] >>>>> LoadAssetBundleAsync(): error load assetbundle[package_re_3042238201] Error Code [AppNotOwned}
08-17 09:44:17.029 W/Unity (18605): GFSYS.d__112:MoveNext()
08-17 09:44:17.029 W/Unity (18605): UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
08-17 09:44:17.029 W/Unity (18605):
08-17 09:44:17.030 E/Unity (18605): <color=#449371>[ASSET] LOAD_FILENOTFOUND [UI/Connect/Prefabs/Connect.prefab]
08-17 09:44:17.030 E/Unity (18605): GFSYS.AssetRequestBody:Failed(Code)
08-17 09:44:17.030 E/Unity (18605): GFSYS.d__8:MoveNext()
08-17 09:44:17.030 E/Unity (18605): UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

If I use ApktoolM antisplit + aapt, it doesn't have this error. If I use aapt2 it will error too.

To Reproduce
Steps to reproduce the behavior:

  1. Used version: 1.3.9
  2. Operating system: Android 13
  3. Command 'java -jar APKEditor-1.3.9.jar m -i apk

Log/Stacktrace

Used apk file
Attach/share your apk

Additional context
Add any other context about the problem here.

主要言語
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 を短くまとめたダイジェスト。