Hi Nick, thanks for the link. Yes that procedure worked for me. Thank you soo much! I think we should update the instructions on the Osmand page. As a beginner it is ridiculously hard to find the right information.
Checking out a project and building it should be dead easy. Using the procedure provided in the link it is easy, but you have to know how to do it. Best, Robin On Wednesday, August 10, 2016 at 6:52:59 PM UTC+2, [email protected] wrote: > > 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.
