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

Aperta
#211 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
Ambito
tooling

Direzione di ricerca

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.

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

Descrizione

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.

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.