MishaKonsta / jni-samp-android

SAMP Mobile Client for Android
https://samp-servers.ru/faq/samp-mobile-client-guide
18 stars 25 forks source link

App crashes as soon I click "Offline" on Xiaomi Mi 8 Lite #1

Closed pedropapa closed 4 years ago

pedropapa commented 4 years ago

Hello there,

First of all, thank you for the awesome work, I'm not Russian, but I managed to follow the steps you've posted on VK to install the game/apk.

Right now the game is crashing as soon I click "Offline" on Rockstar Social Club screen, here's what's printed on logcat:

05-01 00:19:42.811 14173 14216 I System.out: Done creating surface
05-01 00:19:42.816 14173 14216 I System.out: Build info version device  platina
05-01 00:19:42.816 14173 14216 I System.out: Build MANUFACTURER  Xiaomi
05-01 00:19:42.816 14173 14216 I System.out: Build BOARD  sdm660
05-01 00:19:42.816 14173 14216 I System.out: Build DISPLAY  PKQ1.181007.001
05-01 00:19:42.816 14173 14216 I System.out: Build CPU_ABI  armeabi-v7a
05-01 00:19:42.816 14173 14216 I System.out: Build CPU_ABI2  armeabi
05-01 00:19:42.816 14173 14216 I System.out: Build HARDWARE  qcom
05-01 00:19:42.816 14173 14216 I System.out: Build MODEL  MI 8 Lite
05-01 00:19:42.816 14173 14216 I System.out: Build PRODUCT  platina
05-01 00:19:42.821 14173 14216 I System.out: Build info version device  platina
05-01 00:19:42.821 14173 14216 I System.out: Build MANUFACTURER  Xiaomi
05-01 00:19:42.821 14173 14216 I System.out: Build BOARD  sdm660
05-01 00:19:42.821 14173 14216 I System.out: Build DISPLAY  PKQ1.181007.001
05-01 00:19:42.821 14173 14216 I System.out: Build CPU_ABI  armeabi-v7a
05-01 00:19:42.821 14173 14216 I System.out: Build CPU_ABI2  armeabi
05-01 00:19:42.821 14173 14216 I System.out: Build HARDWARE  qcom
05-01 00:19:42.821 14173 14216 I System.out: Build MODEL  MI 8 Lite
05-01 00:19:42.821 14173 14216 I System.out: Build PRODUCT  platina
05-01 00:19:42.831 14173 14237 D OSWrapper: AttachCurrentThread: 0, 0x0xca442680
05-01 00:19:42.839 14173 14238 D OSWrapper: AttachCurrentThread: 0, 0x0xcf83c280
05-01 00:19:42.843 14173 14216 I AXL     : Loading "samp" cd..
05-01 00:19:42.845 14173 14216 D NVEvent : android_sigaction signal 11 (1 0 11)
05-01 00:19:42.845 14173 14216 I AXL     : SIGSEGV | Fault address: 0x594
05-01 00:19:42.845 14173 14216 I AXL     : libGTASA base address: 0xD2C02000
05-01 00:19:42.845 14173 14216 I AXL     : register states:
05-01 00:19:42.845 14173 14216 I AXL     : r0: 0xCF8DE800, r1: 0x54, r2: 0xCF8DFC17, r3: 0x594
05-01 00:19:42.845 14173 14216 I AXL     : r4: 0xd122c400, r5: 0xcf8def8c, r6: 0xd15, r7: 0xd2603790
05-01 00:19:42.845 14173 14216 I AXL     : r8: 0xcf8bde11, r9: 0x0, sl: 0xc5, fp: 0xd0ebfa00
05-01 00:19:42.845 14173 14216 I AXL     : ip: 0xcf8de800, sp: 0xd2603790, lr: 0x1, pc: 0xd2dc101a
05-01 00:19:42.845 14173 14216 I AXL     : backtrace:
05-01 00:19:42.846 14173 14216 I AXL     : 1: libGTASA.so + 0x1BF01A
05-01 00:19:42.846 14173 14216 I AXL     : 2: libGTASA.so + 0x2D3FE001
05-01 00:19:42.847 14173 14216 I AXL     : 1: libsamp.so + 0x34101A
05-01 00:19:42.848 14173 14216 I AXL     : 2: libsamp.so + 0x2D580001
05-01 00:19:42.918  2122  2214 W InputDispatcher: channel '1c2cd95 com.rockstargames.gtasa/com.rockstargames.gtasa.GTASA (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
05-01 00:19:42.918  2122  2214 E InputDispatcher: channel '1c2cd95 com.rockstargames.gtasa/com.rockstargames.gtasa.GTASA (server)' ~ Channel is unrecoverably broken and will be disposed!
05-01 00:19:42.920  2122  2468 I WindowManager: WIN DEATH: Window{1c2cd95 u0 com.rockstargames.gtasa/com.rockstargames.gtasa.GTASA}
05-01 00:19:42.920  2122  2468 W InputDispatcher: Attempted to unregister already unregistered input channel '1c2cd95 com.rockstargames.gtasa/com.rockstargames.gtasa.GTASA (server)'
05-01 00:19:42.923   953   953 I Zygote  : Process 14173 exited cleanly (0)
05-01 00:19:42.924  2345  2345 D StatusBar: disable<e i a s b h r c s > disable2<q i n g r >
05-01 00:19:42.925  2122  3403 I ActivityManager: Process com.rockstargames.gtasa (pid 14173) has died: fore TOP

Seems there's a file/directory missing on Android/data/com.rockstargames.gtasa directory?

I tried both generating a new APK with the compiled libsamp.so and just installing and playing samp-servers.apk directory.

Some hints:

pedropapa commented 4 years ago

Note: I can run the APK in a Samsung phone, maybe it's an issue specific to Xiaomi phones? both are running the same Android version (9).

On the Samsung phone, I'm now stuck in a "You are banned from the server" error, I've described the issue on #2.