Merge APK black screen when run

Aperta
#121 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
android, java

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Java
Stelle
2.3k
Fork
417
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di REAndroid/APKEditor

Tutte le issue di REAndroid/APKEditor

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.