mapsme / omim

🗺️ MAPS.ME — Offline OpenStreetMap maps for iOS and Android
Apache License 2.0
4.57k stars 1.15k forks source link

AndroidStudio #12066

Open dew54 opened 4 years ago

dew54 commented 4 years ago

Hello, i've succesfully builded the gradle project with gradle from the command line, in about 40 minutes, now i'm trying to do the same with Android-Studio, i hit the 'build' button after loaded the android project, but after 6/8 minutes everything stucks and the os is very slow. I'm using: AMD Ryzen 5, 3.6GHz 16 GB RAM, 3200MHz Ubuntu (zorin OS 15) Is there maybe some configuration thati'm missing? Thanks a lot, Davide

alexzatsepin commented 4 years ago

Hi @dew54,

Go to he Help->Edit Custom VM Options and try to set -Xmx4096m value. Also, please keep in mind that you may build only for the specific architecture (arm64, arm32, x86 or x86_64) and your build time will be shorter. Follow this wiki page please https://github.com/mapsme/omim/wiki/%5BAndroid%5D-How-to-build-project

edy1 commented 4 years ago

I'm tried to build the project in command line and in Android Studio, but I got different errors. I tried with Git, Ubuntu, Fedora. If you want to help me please send me an email at mihai.langu@gmail.com Thank you!