navit-project.org

forum for navit navigation tool
It is currently 16 Jan 2018, 07:14
View unanswered posts | View active topics


All times are UTC


Forum rules


Feel free to ask anything here related to the development process - coding, creating new features, fixing bugs and custom changes of Navit.

Note: For reporting bugs, use the bug tracker.



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Android: build failed
PostPosted: 11 Dec 2017, 22:27 
Offline

Joined: 11 Dec 2017, 22:16
Posts: 1
Hi,
I am trying to build navit from git using instructions at:
http://wiki.navit-project.org/index.php ... evelopment

make finished succesfully, but make apkg fails:
Quote:
getbuildtools] Using latest Build Tools: 19.1.0
[echo] Resolving Build Target for Navit...
[gettarget] Project Target: Android 2.2
[gettarget] API level: 8
[gettarget] WARNING: Attribute minSdkVersion in AndroidManifest.xml (11) is higher than the project target API level (8)
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: /home/cnieves/temp/navit/android-build/navit/android/bin/rsObj
[mkdir] Created dir: /home/cnieves/temp/navit/android-build/navit/android/bin/rsLibs
[echo] ----------
[echo] Resolving Dependencies for Navit...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
[dependency] API<=15: Adding annotations.jar to the classpath.
[echo] ----------
[echo] Building Libraries with 'debug'...
[subant] No sub-builds to iterate on

-code-gen:
[mergemanifest] No changes in the AndroidManifest files.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[echo] ----------
[echo] Handling Resources...
[aapt] Generating resource IDs...
[aapt] /home/cnieves/temp/navit/android-build/navit/android/res/values/styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo'.
[aapt] /home/cnieves/temp/navit/android-build/navit/android/res/values-v19/styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo'.
[aapt] /home/cnieves/temp/navit/android-build/navit/android/res/values-v19/styles.xml:16: error: Error: No resource found that matches the given name: attr 'android:colorAccent'.
[aapt] /home/cnieves/temp/navit/android-build/navit/android/res/values-v19/styles.xml:12: error: Error: No resource found that matches the given name: attr 'android:colorPrimary'.
[aapt] /home/cnieves/temp/navit/android-build/navit/android/res/values-v19/styles.xml:14: error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'.
[aapt] /home/cnieves/temp/navit/android-build/navit/android/res/values-v21/styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material'.
[aapt] /home/cnieves/temp/navit/android-build/navit/android/res/values-v21/styles.xml:16: error: Error: No resource found that matches the given name: attr 'android:colorAccent'.
[aapt] /home/cnieves/temp/navit/android-build/navit/android/res/values-v21/styles.xml:12: error: Error: No resource found that matches the given name: attr 'android:colorPrimary'.
[aapt] /home/cnieves/temp/navit/android-build/navit/android/res/values-v21/styles.xml:14: error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'.
[aapt] /home/cnieves/temp/navit/android-build/navit/android/res/values-v19/styles.xml:27: error: Error: No resource found that matches the given name: attr 'android:windowTranslucentNavigation'.
[aapt] /home/cnieves/temp/navit/android-build/navit/android/res/values-v19/styles.xml:28: error: Error: No resource found that matches the given name: attr 'android:windowTranslucentStatus'.
[aapt] /home/cnieves/temp/navit/android-build/navit/android/res/values-v21/styles.xml:40: error: Error: No resource found that matches the given name: attr 'android:navigationBarColor'.
[aapt] /home/cnieves/temp/navit/android-build/navit/android/res/values-v21/styles.xml:41: error: Error: No resource found that matches the given name: attr 'android:statusBarColor'.
[aapt] /home/cnieves/temp/navit/android-build/navit/android/res/values-v21/styles.xml:43: error: Error: No resource found that matches the given name: attr 'android:windowDrawsSystemBarBackgrounds'.
[aapt] /home/cnieves/temp/navit/android-build/navit/android/res/values-v21/styles.xml:32: error: Error: No resource found that matches the given name: attr 'android:windowTranslucentNavigation'.
[aapt] /home/cnieves/temp/navit/android-build/navit/android/res/values-v21/styles.xml:33: error: Error: No resource found that matches the given name: attr 'android:windowTranslucentStatus'.

BUILD FAILED


I have installed other apis, as shown in:
Quote:
$ android list targets
Available Android targets:
----------
id: 1 or "android-8"
Name: Android 2.2
Type: Platform
API level: 8
Revision: 3
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854
Tag/ABIs : default/armeabi
----------
id: 2 or "android-11"
Name: Android 3.0
Type: Platform
API level: 11
Revision: 2
Skins: WXGA (default)
Tag/ABIs : default/armeabi
----------
id: 3 or "android-17"
Name: Android 4.2.2
Type: Platform
API level: 17
Revision: 3
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800, WXGA800-7in
Tag/ABIs : default/armeabi-v7a, default/x86, google_apis/armeabi-v7a, google_apis/x86
----------
id: 4 or "android-19"
Name: Android 4.4.2
Type: Platform
API level: 19
Revision: 4
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800, WXGA800-7in
Tag/ABIs : no ABIs.
----------
id: 5 or "Google Inc.:Google APIs:17"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 4
Description: Android + Google APIs
Based on Android 4.2.2 (API level 17)
Libraries:
* com.android.future.usb.accessory (usb.jar)
API for USB Accessories
* com.google.android.media.effects (effects.jar)
Collection of video effects
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800, WXGA800-7in
Tag/ABIs : default/armeabi-v7a


How can I tell make/cmake to use other api version?

Thanks in advance


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


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