Hi, I have the same problem and looking to include specific java files from frameworks/base into libcore. How did you get through this problem?
Thanks, Rohan. On Monday, 26 September 2011 17:21:21 UTC-4, Codebold wrote: > > I try to use some libraries located in the framework (frameworks/base/ > core/java/android/ ...) inside a libcore class (dalvik/libcore/luni/ > src/main/ ...). > > But i get an error (Cannot find symbol ... , Package ... does not > exist) during the build process. Is it possible to include the > specific files in the Android.mk located under 'dalvik/libcore/'? I > tried something like: > > LOCAL_SRC_FILES := $(call all-core-java-files,main) > LOCAL_SRC_FILES += \ > pathToFile1 \ > pathToFile2 > > But then i had to resolve dependencies over the whole framework. Could > LOCAL_JAVA_RESOURCE_DIRS or LOCAL_STATIC_LIBRARIES do the trick? And > if so, how should i use these directives? > > Thanks for any advices or related informations! -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
