Open badri-neparidze opened 6 years ago
Hi @badri-neparidze, Please make sure that you've launched the configure.sh script from the omim folder. If you do this and the problem is not removed then let me know please. FYI https://github.com/mapsme/omim/wiki/%5BAndroid%5D-How-to-build-project
Hi @alexzatsepin Thank you for the response. I launched it from omim and installed the app on my phone again, I followed the instructions but the problem still remains.
Hi @badri-neparidze ,
I fixed the problem https://github.com/mapsme/omim/pull/9797 . Please update the master and try it again. Thanks for your feedback.
Now it doesn't crash anymore when I press "allow to access location" but the next step is to accept the terms and conditions and it crashes when I press this button.
If you are talking about crash:
********** Crash dump: **********
Build fingerprint: 'samsung/j7xeltexx/j7xelte:7.0/NRD90M/J710FXXU5BRE5:user/release-keys'
pid: 21859, tid: 21859, name: .maps.pro.debug >>> com.mapswithme.maps.pro.debug <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Stack frame #00 pc 0004ad30 /system/lib/libc.so (tgkill+12)
Stack frame #01 pc 000484c3 /system/lib/libc.so (pthread_kill+34)
Stack frame #02 pc 0001dd99 /system/lib/libc.so (raise+10)
Stack frame #03 pc 00019521 /system/lib/libc.so (__libc_android_abort+34)
Stack frame #04 pc 00017160 /system/lib/libc.so (abort+4)
Stack frame #05 pc 0001bd97 /system/lib/libc.so (__libc_fatal+22)
Stack frame #06 pc 000198ff /system/lib/libc.so (__assert2+18)
Stack frame #07 pc 00f5de77 /data/app/com.mapswithme.maps.pro.debug-1/lib/arm/libmapswithme.so (_ZN3jni17AndroidLogMessageEN4base8LogLevelERKNS0_8SrcPointERKNSt6__ndk112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE+310): Routine jni::AndroidLogMessage(base::LogLevel, base::SrcPoint const&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&) at /Users/a.zacepin/sources/omim-opensource/omim/android/jni/com/mapswithme/core/logging.cpp:50
Stack frame #08 pc 01b16389 /data/app/com.mapswithme.maps.pro.debug-1/lib/arm/libmapswithme.so (_ZN10downloader15ParseServerListERKNSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEERNS0_6vectorIS6_NS4_IS6_EEEE+936): Routine downloader::ParseServerList(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, std::__ndk1::vector<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, std::__ndk1::allocator<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > > >&) at /Users/a.zacepin/sources/omim-opensource/omim/platform/servers_list.cpp:30
Then, you must provide your server list in your private.h file (in DEFAULT_URLS_JSON define). In other words, you should manage servers where mwm are stored by yourself.
If the crash dump is different please let me know.
I compiled successfully and installed the app on my phone (android 8) and also on virtual nexus 5 (android 8.1)
In case of building beta, debug or release version of the app the application crashes in all cases while starting, it shows the start page and when you press the button asking to access your location it crashes.
Here is the log file from virtual nexus device attached:
log.txt