nextgis / android_gisapp

:dart: GIS application for Android
http://nextgis.com/nextgis-mobile
GNU General Public License v3.0
129 stars 107 forks source link

unable to run after importing to android studio #627

Open siddhantxshirguppe opened 6 years ago

siddhantxshirguppe commented 6 years ago

After importing to android studio, i am getting several unresolved dependencies errors. such as: app@debug/compileclasspath... If anyone is able to get it running in android studio, please contact me.

CiprianSavoiu commented 6 years ago

i'm having the same problem. spent more than 24 hours. tried on windows and mac. what's strange in windows is if i'm using the gradlew.bat to sync it's working with no errors but when loading in android studio doesn't build due to maplibui dependency

CiprianSavoiu commented 6 years ago

There are submodules in the project which needs to be taken into account when cloning the project There is no issue with it.

siddhantxshirguppe commented 6 years ago

what do you mean? when i import the project, i can see the maplib,maplibui modules, but they are useless, they dont contain any gradle.build .We can't even configure them .Ultimately i ended up removing them from the project and adding them seperately. However now the there are several dependency errors.

4eRTuk commented 6 years ago

@siddhantxshirguppe You should init submodules as follow:

git submodule init
git submodule update

What exact dependency errors do you have? Copy error message please.