Questions regarding modifying firmware do not belong on this list. Visit http://source.android.com.
On Mon, Jun 6, 2011 at 1:11 AM, maliha <malihamari...@gmail.com> wrote: > Hi, > > I am writing an aidl which will needs to use NetworkInfo from > com.android.internal.telephony.gsm.NetworkInfo, > I am using 'import com.android.internal.telephony.gsm.NetworkInfo' in > myService.aidl, I am able to generate the apk for my app but when I > try to build with the android source code i am getting the following > error: packages/apps/MyApp/src/com/example/myapplication/ > myService.aidl:19: couldn't find import for class > com.android.internal.telephony.gsm.NetworkInfo. > > My Android.mk (modified from the Android.mk of packages/apps/Phone) is > as follows > LOCAL_PATH:= $(call my-dir) > include $(CLEAR_VARS) > LOCAL_MODULE_TAGS := optional > LOCAL_SRC_FILES := $(call all-java-files-under, src) > LOCAL_SRC_FILES += \ > src/com/example/myapplication/myService.aidl > LOCAL_MODULE := com.example.myapplication > include $(BUILD_STATIC_JAVA_LIBRARY) > include $(CLEAR_VARS) > LOCAL_STATIC_JAVA_LIBRARIES := com.android.phone.common > LOCAL_JAVA_LIBRARIES := core framework > #maliha fix FRAMEWORKS_BASE_JAVA_SRC_DIRS comes from build/core/ > pathmap.mk > LOCAL_AIDL_INCLUDES += $(FRAMEWORKS_BASE_JAVA_SRC_DIRS) > LOCAL_MODULE_TAGS := optional > LOCAL_SRC_FILES := $(call all-java-files-under, src) > LOCAL_SRC_FILES += \ > src/com/example/myapplication/myService.aidl > LOCAL_PACKAGE_NAME := MyApp > LOCAL_CERTIFICATE := platform > include $(BUILD_PACKAGE) > # Build the test package > include $(call all-makefiles-under,$(LOCAL_PATH)) > > what am i missing? I have tried a clean build multiple times. > > Cheerio! > - Maliha. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9.3 Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en