Opened 12 years ago
Closed 10 years ago
#764 closed defect/bug (Incomplete/Missing infos)
android version wont build if you start from a clean build system
Reported by: | zoff99 | Owned by: | cp15 |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | port/android | Version: | git master |
Severity: | Keywords: | build, configure | |
Cc: |
Description
here is the log from the current buildserver (http://download.navit-project.org/logs/navit/android_armv5te/svn/navit-svn-4083.ok):
configure command:
configure --prefix=/usr --host=arm-eabi-linux_android --enable-avoid-unaligned --enable-avoid-float --enable-cache-size=10485760 --enable-svg2png-scaling=8,16,32,48,64,96 --enable-svg2png-scaling-nav=59 --enable-svg2png-scaling-flag=32 --enable-transformation-roll --enable-plugin-pedestrian --with-android-permissions=CAMERA --with-xslts=android,plugin_menu,pedestrian_button,pedestrian --with-android-project=1
ant log:
[setup] Android SDK Tools Revision 8 [setup] Project Target: Android 2.3 [setup] API level: 9 [setup] [setup] ------------------ [setup] Resolving library dependencies: [setup] No library dependencies. [setup] [setup] ------------------ [setup] [setup] WARNING: Attribute minSdkVersion in AndroidManifest.xml (3) is lower than the project target API level (9) [setup] [setup] Importing rules file: tools/ant/main_rules.xml
now here is what it says on the wiki:
./configure PKG_CONFIG=arm-eabi-pkgconfig RANLIB=arm-eabi-ranlib AR=arm-eabi-ar CC="arm-eabi-gcc -L$NDK/platforms/android-3/arch-arm/usr/lib -L. -I$NDK/platforms/android-3/arch-arm/usr/include" CXX=arm-eabi-g++ --host=arm-eabi-linux_android --enable-avoid-float --enable-avoid-unaligned --enable-cache-size=20971520 --enable-svg2png-scaling=8,16,32,48,64,96 --enable-svg2png-scaling-nav=59 --enable-svg2png-scaling-flag=32 --with-xslts=android --with-saxon=saxon-xslt (replace $NDK with the appropriate path)
it says "android-3" but on build server it seems to be unsing api level 9 so which is it? it should be set to android-4 (android 1.6), lower is not supported anyway
Change History (3)
comment:1 Changed 12 years ago by zoff99
comment:2 Changed 12 years ago by zoff99
--with-android-project="android-${AND_API_LEVEL}"
comment:3 Changed 10 years ago by usul
- Resolution set to Incomplete/Missing infos
- Status changed from new to closed
Is this still an issue? Works the CMAKE now ok here?
Note: See
TracTickets for help on using
tickets.
correct configure should look something like this: