I used these instructions: https://groups.google.com/d/msg/osmand/J0lcnZN0fLU/OT-4gQs_BwAJ
These instructions use gradle rather than ant. Thanks Nick On Wednesday, 10 August 2016 10:24:03 UTC+1, Robin wrote: > > Hi, > > I just wanted to get started with building Osmand, however I seem to be > unable to build Osmand. I followed the Instructions on: > http://osmand.net/help-online?id=technical-articles#Install_Development_Environment > > Since this tutorial seems to be a bit outdated, I decided to go with the > Comand Line Build. > > So I did the following: > > cd /opt/software > mkdir osmandapp > cd osmandapp > repo init -u https://github.com/osmandapp/OsmAnd-manifest.git <- at this > point i needed to add -m android_build.xml > repo sync -d > > export ANDROID_SDK=/sdk-path > export ANDROID_NDK=/ndk-path > > ./android/OsmAnd/old-ndk-build.sh > > cd android/OsmAnd > > ------ > > Up to this step everything works fine > > ------ > > ant -file build.xml -Dsdk.dir=$ANDROID_SDK -Dndk.dir=$ANDROID_NDK > -Dnativeoff=false > -Dmanifest="/opt/software/osmandapp/​android/OsmAnd/​AndroidManifest.xml" > clean debug > > > The last command fails with: > > clean: > BUILD FAILED > > > /<sdk-path>/tools/ant/build.xml:470: Invalid file: > /opt/software/osmandapp/android/eclipse-compile/cardview/build.xml > > > Am I doing something wrong? > > > -- You received this message because you are subscribed to the Google Groups "Osmand" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
