Apps crash at startup with libpairipcore.so-related errors.

Đang mở
#211 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
tooling

Hướng nghiên cứu

Start by reproducing the reported crash with the supplied splits using java -jar APKEditor-1.4.5.jar m -i splits_folder on Android, then compare the merged APK with the original app and inspect the Logcat trace for libpairipcore.so. Done means the merged app starts without the reported crash; the issue does not identify a source file or test to begin with.

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

Mô tả

Many apps that were merged from splits taken directly from the Google Store crash on startup. I had about 20 apps that behaved this way. I tried all variants of the -extractNativeLib option, but the results and errors were the same. I'm providing one of the apps here.

To Reproduce
Steps to reproduce the behavior:

  1. Used version: 1.4.5
  2. Operating system: Android Emulator with Pixel 7 Pro API 35 (Android 15)
  3. Command java -jar APKEditor-1.4.5.jar m -i splits_folder

Log/Stacktrace
Those logs from Logcat:

Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xb40000753fcdce10 in tid 5574 (co.brainly), pid 5574 (co.brainly)
Cmdline: co.brainly
pid: 5574, tid: 5574, name: co.brainly  >>> co.brainly <<<
      #00 pc 000000000005bfc4  /data/app/~~XcfXEmbWTgRvXKmcR7yxjg==/co.brainly-yAGue39KDjIUkCTan6AmLg==/base.apk!libpairipcore.so (offset 0x2394000)

Used apk file
I have attached the merged final APK and the splits. Here is a link to the Dropbox transfer because GitHub gave me a "Failed to upload" error on the zip file. https://www.dropbox.com/t/8R0WsXjS6T1cT1s5

Additional context
I also tried running those apps on an actual Android 14 device with the same results.

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.