diux-dev / rosettadrone

Android-based mavlink wrapper for DJI drones
BSD 3-Clause "New" or "Revised" License
113 stars 51 forks source link

Rosetta doesn't start #31

Open evd0kim opened 5 years ago

evd0kim commented 5 years ago

Hi all.

I've compiled apk for arm64-v8a architecture and successfully uploaded to my phone. But it doesn't start.Right after tap on the icon, the application silently stops and window hides.

The debugger said something about 'sigsegv' error, which means segmentation fault and memory access error. Later I will post stack.

Now I ask for help from more experienced users and developers. Did somebody tried to build arm64-v8a?

evd0kim commented 5 years ago

Debugger stack trace

art_sigsegv_fault 0x0000007a2544a4ec
art::FaultManager::HandleFault(int, siginfo*, void*) 0x0000007a2544a9fc
___lldb_unnamed_symbol20$$app_process64 0x0000005ae5320d28
<unknown> 0x0000007aae5f4694
arto_OpenDexFilesFromOat_stub(void*, char const*, void*, void*, void*, std::vector<std::string, std::allocator<std::string> >*) 0x0000007a0837970c
evd0kim commented 5 years ago

Just leave it here. Logcat output

6-15 00:10:11.006  1208  7933 I ActivityManager: ActivityRecord info: ActivityInfo{a94e40 sq.rogue.rosettadrone.MainActivity}
06-15 00:10:11.020  1208  7933 W ActivityManager: Unable to start service Intent { act=com.huawei.launcher.action.LAUNCHER_APP_STARTUP pkg=com.huawei.trustspace (has extras) } U=0: not found
06-15 00:10:11.043  1208  1230 I ActivityManager: Start proc 6201:sq.rogue.rosettadrone/u0a224 for activity sq.rogue.rosettadrone/.MainActivity
06-15 00:10:11.311  1208  6224 W ActivityManager:   finishTopCrashedActivityLocked Force finishing activity sq.rogue.rosettadrone/.MainActivity
06-15 00:10:11.318  1208  1228 W ActivityManager: Skipping native crash dialog of ProcessRecord{51cbced 6201:sq.rogue.rosettadrone/u0a224}
06-15 00:10:11.348  1208  6423 I ActivityManager: Process sq.rogue.rosettadrone (pid 6201) has died: vis  +99TOP 
06-15 00:10:11.348  1208  6423 D ActivityManager: cleanUpApplicationRecord app: ProcessRecord{51cbced 6201:sq.rogue.rosettadrone/u0a224}, app.bad: false, restarting: false, allowRestart: true

Absolutely no idea what to do here. I just give up with it.

sdowhy commented 5 years ago

ARMv8 never quite worked right for whatever reason, and it's actually removed in the new version we have going forward. I'd suggest just compiling for ARMv7 and using that. It won't have any tangible differences.

evd0kim commented 5 years ago

Okay, thank you. I'll keep that in mind.