navit-project.org

forum for navit navigation tool
It is currently 26 Apr 2017, 05:55
View unanswered posts | View active topics


All times are UTC


Forum rules


Feel free to ask anything here related to the installation and configuration of Navit.

Some notes before your first post:

Please provide as much informations as possible:



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Compilation for Android
PostPosted: 22 Mar 2017, 11:44 
Offline

Joined: 03 Sep 2015, 13:27
Posts: 3
I tried to compile Navit for Android.
The sequence consists in three steps (cmake, make, make apkg).
The first two steps are performed reasonable, at least without abort.
But the last step fails clearly.
/media/sue/_SUE_DAT_/Prda/static/NvtGen/SDK/tools/ant/build.xml:694: Execute failed: java.io.IOException: Cannot run program "/media/sue/_SUE_DAT_/Prda/static/NvtGen/SDK/build-tools/23.0.1/aapt": error=2, No such file or directory
The "aap"t is existing in the mentioned path, probably another fie is missing ?
Maybe some message of the prior steps are important ?

The messages of the steps are in the attachments.
Is it possible to give a hint, what is wrong ?

# OS #
Lubuntu 16.04

# NDK #
android-ndk-r8e

# SDK #
Android SDK Tools 25.2.5
Android SDK Platform-tools 25.04
Android SDK Build-tools 23.0.1
Android 2.2 (API 8))
- SDK Platform API=8 Rev=3
-Samples for SDK API=8 Rev=1

# java -version #
openjdk version "1.8.0_121"
OpenJDK Runtime Environment (build 1.8.0_121-8u121-b13-0ubuntu1.16.04.2-b13)
OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)

# Navit source #
navit-R7363

# executed commands #
cd $BUILD_PATH
cmake -DCMAKE_TOOLCHAIN_FILE=$SOURCE_PATH/Toolchain/arm-eabi.cmake -DCACHE_SIZE="(20*1024*1024)" -DAVOID_FLOAT=1 -DANDROID_PERMISSIONS="CAMERA" -DANDROID_API_VERSION=8 -DXSLT_PROCESSOR=/usr/bin/saxonb-xslt $SOURCE_PATH 2>step1_err.txt | tee step1_prot.txt
make 2>step2_err.txt | tee step2_prot.txt
make apkg 2>step3_err.txt | tee step3_prot.txt


Attachments:
File comment: Messages and Errormessages of
step1=cmake
step2=make
step3=make apkg

MessagesAndErrors.zip [24.82 KiB]
Downloaded 6 times
 Profile  
 
 Post subject: Re: Compilation for Android
PostPosted: 23 Mar 2017, 14:24 
Offline

Joined: 26 Sep 2013, 10:59
Posts: 50
But Navit for Android is ready compiled on navit download?


 Profile  
 
 Post subject: Re: Compilation for Android
PostPosted: 26 Mar 2017, 11:23 
Offline

Joined: 03 Sep 2015, 13:27
Posts: 3
I found no newer compiled android navit than: 0.5.1+git9d1d5ab (from playstore)

Newer sets are apparently only available as source code.
That is the reason, why I like to compile android source code.
But did not succeed, see above.

(By the way, if compilation would work, I would like to discard by myself the annoying information about a speed camera with increasing distance . That is Ticket 1227. I do think that would be manageable.)


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Silver Orange 2.0.6 for IPB Designed by Skins and Hosting
Converted for phpBB3, based on Royal Blue template by BigB © 2007 2008 AEON KINGS