Visit http://source.android.com for assistance in building your custom firmware. This list is for Android SDK development.
On Thu, Jul 7, 2011 at 2:41 AM, rashmi <rashmi....@gmail.com> wrote: > Hi, > I have written an aidl file in the path android/framwork/base/core/ > java/com/, which has a import statement - import org.json.JSONObject. > But the build is failing with an error - 'couldn't find import for > class org.json.JSONObject'. > According to my study I found that for import statements in aidl we > should define LOCAL_AIDL_INCLUDES += $(FRAMEWORKS_BASE_JAVA_SRC_DIRS) > in the Android.mk file. In my source code, Android.mk in framework/ > base/ already contains the above definition. Please let me know how to > resolve the import JSON error in aidl. > > Thanks, > > -- > 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 Android Training...At Your Office: http://commonsware.com/training -- 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