Your dependency is wrong, you named your module 'fusion' you are then depending on 'com.vaibhav.fusion'. This should work:
LOCAL_STATIC_JAVA_LIBRARIES := fusion Diogo On Wed, Mar 27, 2019 at 5:16 AM Vaibhav S <[email protected]> wrote: > Hi, > I've modified some sources in frameworks/opt/net/wifi/service and they > now depend on a new jar file. I've added that jar file as a prebuilt under > prebuilts/misc/common/my-utils. And corresponding the Android.mk for this > jar looks like this: > > LOCAL_PATH := $(call my-dir) > > include $(CLEAR_VARS) > > LOCAL_MODULE := fusion > LOCAL_MODULE_TAGS := optional > LOCAL_MODULE_CLASS := JAVA_LIBRARIES > LOCAL_SRC_FILES := com.vaibhav.fusion.jar > LOCAL_MODULE_SUFFIX := .jar > > include $(BUILD_PREBUILT) > > > Prebuilts are being built without any problem, the corresponding > intermediates are being generated. > > And also in the Android.mk file of frameworks/opt/net/wifi/service/, I've > added > the following: > > LOCAL_STATIC_JAVA_LIBRARIES := com.vaibhav.fusion > > > However, that jar is not on the classpath(frameworks/opt/net/wifi/service) > when doing full build. > I'm getting "package does not exist" error. > > > > How do I make sure my prebuilt is on the classpath for building > frameworks/opt/net/wifi/service/? > > > Thanks, > > Vaibhav > > -- > -- > 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. > -- -- 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.
