I have a problem when building the android source code. I added an application LocationDemo into packages/apps and in the core.mk file in order to have it installed in system applications. The problem is that when I try to build the app I get the following errors:
packages/apps/LocationDemo/res/values/styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.AppCompat.Light'.
packages/apps/LocationDemo/res/values-v11/styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.AppCompat.Light'.
packages/apps/LocationDemo/res/values-v14/styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.AppCompat.Light.DarkActionBar'.
This is the Android.mk from the application project folder:
LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_PACKAGE_NAME := LocationDemo
LOCAL_CERTIFICATE := platform
include $(BUILD_PACKAGE)
include $(CLEAR_VARS)
How can I solve this errors ? I read a lot of solutions for this errors in Eclipse but I didn't find a why for solving it when building with make.
Aucun commentaire:
Enregistrer un commentaire