Merge APK black screen when run

Đang mở
#121 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
android, java
Lĩnh vực
mobile-dev, tooling

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Java
Star
2.3k
Fork
417
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của REAndroid/APKEditor

Tất cả issue của REAndroid/APKEditor

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.