Adding a prebuilt jar dependency to /framework/opt/net/wifi/serviceHow do I preserve file permissions in a custom external project added to Android AOSP?android runtime linking issue with interfaceAndroid runtime linking issueUnable to bind to WINDOW_SERVICE from an android platform appAdd prebuilt apk to AOSP buildadd prebuilt jar to AOSPAOSP: Can't get prebuilt static libraries into their intermediary folders in order to link to other modulesAOSP: Static Prebuilt Modules and their dependentsaidl file couldnt find import for class with Android.mkPackage not gets Included in jar file

Traveling from Germany to other countries by train?

Colleagues speaking another language and it impacts work

Braces spanning multiple tables (whole tables, not rows or pages)

Did WWII Japanese soldiers engage in cannibalism of their enemies?

Why should I "believe in" weak solutions to PDEs?

How is the return type of a ternary operator determined?

How can glass marbles naturally occur in a desert?

Beta value of the thermistor

Does the United States guarantee any unique freedoms?

Is it double speak?

What are these silver stripes on Cosmic Girl for?

How do I get the =LEFT function in excel, to also take the number zero as the first number?

Is this cheap "air conditioner" able to cool a room?

What is the German idiom or expression for when someone is being hypocritical against their own teachings?

Capacitors with a "/" on schematic

sytemctl status log output

Will a paper be retracted if a flaw in released software code invalidates its central idea?

Short story about a teenager who has his brain replaced with a microchip (Psychological Horror)

4-dimensional Knight's Tour

Look mom! I made my own (Base 10) numeral system!

Why does putting a dot after the URL remove login information?

Is it true that control+alt+delete only became a thing because IBM would not build Bill Gates a computer with a task manager button?

Should I self-publish my novella on Amazon or try my luck getting publishers?

Did silent film actors actually say their lines or did they simply improvise “dialogue” while being filmed?



Adding a prebuilt jar dependency to /framework/opt/net/wifi/service


How do I preserve file permissions in a custom external project added to Android AOSP?android runtime linking issue with interfaceAndroid runtime linking issueUnable to bind to WINDOW_SERVICE from an android platform appAdd prebuilt apk to AOSP buildadd prebuilt jar to AOSPAOSP: Can't get prebuilt static libraries into their intermediary folders in order to link to other modulesAOSP: Static Prebuilt Modules and their dependentsaidl file couldnt find import for class with Android.mkPackage not gets Included in jar file






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















While building Android Pie AOSP, how do I add prebuilt jar file so that it can be accessed from framework/opt/net/wifi/service ?



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.










share|improve this question






























    0















    While building Android Pie AOSP, how do I add prebuilt jar file so that it can be accessed from framework/opt/net/wifi/service ?



    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.










    share|improve this question


























      0












      0








      0








      While building Android Pie AOSP, how do I add prebuilt jar file so that it can be accessed from framework/opt/net/wifi/service ?



      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.










      share|improve this question














      While building Android Pie AOSP, how do I add prebuilt jar file so that it can be accessed from framework/opt/net/wifi/service ?



      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.







      android-source android-build android.mk






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 27 at 6:04









      Vaibhav SVaibhav S

      228 bronze badges




      228 bronze badges

























          0






          active

          oldest

          votes










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55370757%2fadding-a-prebuilt-jar-dependency-to-framework-opt-net-wifi-service%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes




          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55370757%2fadding-a-prebuilt-jar-dependency-to-framework-opt-net-wifi-service%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript