Problem in build android open source project










0















I download android open source project from Here



After downloaded, I used this command to clean UP etc...



$ make clobber


Then i got this problem



build/core/main.mk:42: ********************************************************************************
build/core/main.mk:43: * You are using version 4.1 of make.
build/core/main.mk:44: * Android can only be built by version 3.81.
build/core/main.mk:45: * see http://source.android.com/source/download.html
build/core/main.mk:46: ********************************************************************************


I got make 4.1 default from android open source project



I'm using ubuntu 18.04 LTS



Excepted solution



  1. How to downgrade 4.1 to 3.81

  2. I can't able to install 1.6 JDK









share|improve this question


























    0















    I download android open source project from Here



    After downloaded, I used this command to clean UP etc...



    $ make clobber


    Then i got this problem



    build/core/main.mk:42: ********************************************************************************
    build/core/main.mk:43: * You are using version 4.1 of make.
    build/core/main.mk:44: * Android can only be built by version 3.81.
    build/core/main.mk:45: * see http://source.android.com/source/download.html
    build/core/main.mk:46: ********************************************************************************


    I got make 4.1 default from android open source project



    I'm using ubuntu 18.04 LTS



    Excepted solution



    1. How to downgrade 4.1 to 3.81

    2. I can't able to install 1.6 JDK









    share|improve this question
























      0












      0








      0








      I download android open source project from Here



      After downloaded, I used this command to clean UP etc...



      $ make clobber


      Then i got this problem



      build/core/main.mk:42: ********************************************************************************
      build/core/main.mk:43: * You are using version 4.1 of make.
      build/core/main.mk:44: * Android can only be built by version 3.81.
      build/core/main.mk:45: * see http://source.android.com/source/download.html
      build/core/main.mk:46: ********************************************************************************


      I got make 4.1 default from android open source project



      I'm using ubuntu 18.04 LTS



      Excepted solution



      1. How to downgrade 4.1 to 3.81

      2. I can't able to install 1.6 JDK









      share|improve this question














      I download android open source project from Here



      After downloaded, I used this command to clean UP etc...



      $ make clobber


      Then i got this problem



      build/core/main.mk:42: ********************************************************************************
      build/core/main.mk:43: * You are using version 4.1 of make.
      build/core/main.mk:44: * Android can only be built by version 3.81.
      build/core/main.mk:45: * see http://source.android.com/source/download.html
      build/core/main.mk:46: ********************************************************************************


      I got make 4.1 default from android open source project



      I'm using ubuntu 18.04 LTS



      Excepted solution



      1. How to downgrade 4.1 to 3.81

      2. I can't able to install 1.6 JDK






      android makefile android-source ubuntu-18.04






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 13 '18 at 14:59









      Ashok PAshok P

      94




      94






















          2 Answers
          2






          active

          oldest

          votes


















          0














          I know that hell of dependencies to build AOSP, I live on Arch Linux and working build may fail after a system update.



          So now I'm using docker image with all deps preinstalled, without a need to upgrade system there, keeping my desktop Arch Linux independent.



          Just some results after googling:



          https://github.com/stucki/docker-lineageos (I used this one, but the next one may be a better choice)



          https://github.com/jfloff/docker-lineageos



          https://hub.docker.com/r/anthodingo/docker-lineageos/



          Also you may be interested to know that there's a Linux distro dedicated to AOSP development: http://bbqlinux.org/






          share|improve this answer






























            0














            As in the requirement say you should use



            enter image description here



            Just download it from gnu.org. Here are the requirements for building AOSP



            For your JDK you should run this:



            sudo apt-get update
            sudo apt-get install openjdk-8-jdk


            Don't forget to uninstall everything JDK, Make before you install the new ones.






            share|improve this answer























            • I have installed every thing, But again I'm getting same problem

              – Ashok P
              Nov 14 '18 at 7:13











            • I'm not en expert in Linux, but i would say in Windows you still have those old applications installed.

              – Haroun Hajem
              Nov 14 '18 at 11:57











            • yeah @Haroun i'll check

              – Ashok P
              Nov 14 '18 at 11:59










            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%2f53283815%2fproblem-in-build-android-open-source-project%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I know that hell of dependencies to build AOSP, I live on Arch Linux and working build may fail after a system update.



            So now I'm using docker image with all deps preinstalled, without a need to upgrade system there, keeping my desktop Arch Linux independent.



            Just some results after googling:



            https://github.com/stucki/docker-lineageos (I used this one, but the next one may be a better choice)



            https://github.com/jfloff/docker-lineageos



            https://hub.docker.com/r/anthodingo/docker-lineageos/



            Also you may be interested to know that there's a Linux distro dedicated to AOSP development: http://bbqlinux.org/






            share|improve this answer



























              0














              I know that hell of dependencies to build AOSP, I live on Arch Linux and working build may fail after a system update.



              So now I'm using docker image with all deps preinstalled, without a need to upgrade system there, keeping my desktop Arch Linux independent.



              Just some results after googling:



              https://github.com/stucki/docker-lineageos (I used this one, but the next one may be a better choice)



              https://github.com/jfloff/docker-lineageos



              https://hub.docker.com/r/anthodingo/docker-lineageos/



              Also you may be interested to know that there's a Linux distro dedicated to AOSP development: http://bbqlinux.org/






              share|improve this answer

























                0












                0








                0







                I know that hell of dependencies to build AOSP, I live on Arch Linux and working build may fail after a system update.



                So now I'm using docker image with all deps preinstalled, without a need to upgrade system there, keeping my desktop Arch Linux independent.



                Just some results after googling:



                https://github.com/stucki/docker-lineageos (I used this one, but the next one may be a better choice)



                https://github.com/jfloff/docker-lineageos



                https://hub.docker.com/r/anthodingo/docker-lineageos/



                Also you may be interested to know that there's a Linux distro dedicated to AOSP development: http://bbqlinux.org/






                share|improve this answer













                I know that hell of dependencies to build AOSP, I live on Arch Linux and working build may fail after a system update.



                So now I'm using docker image with all deps preinstalled, without a need to upgrade system there, keeping my desktop Arch Linux independent.



                Just some results after googling:



                https://github.com/stucki/docker-lineageos (I used this one, but the next one may be a better choice)



                https://github.com/jfloff/docker-lineageos



                https://hub.docker.com/r/anthodingo/docker-lineageos/



                Also you may be interested to know that there's a Linux distro dedicated to AOSP development: http://bbqlinux.org/







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 14 '18 at 23:08









                MixazMixaz

                2,8851943




                2,8851943























                    0














                    As in the requirement say you should use



                    enter image description here



                    Just download it from gnu.org. Here are the requirements for building AOSP



                    For your JDK you should run this:



                    sudo apt-get update
                    sudo apt-get install openjdk-8-jdk


                    Don't forget to uninstall everything JDK, Make before you install the new ones.






                    share|improve this answer























                    • I have installed every thing, But again I'm getting same problem

                      – Ashok P
                      Nov 14 '18 at 7:13











                    • I'm not en expert in Linux, but i would say in Windows you still have those old applications installed.

                      – Haroun Hajem
                      Nov 14 '18 at 11:57











                    • yeah @Haroun i'll check

                      – Ashok P
                      Nov 14 '18 at 11:59















                    0














                    As in the requirement say you should use



                    enter image description here



                    Just download it from gnu.org. Here are the requirements for building AOSP



                    For your JDK you should run this:



                    sudo apt-get update
                    sudo apt-get install openjdk-8-jdk


                    Don't forget to uninstall everything JDK, Make before you install the new ones.






                    share|improve this answer























                    • I have installed every thing, But again I'm getting same problem

                      – Ashok P
                      Nov 14 '18 at 7:13











                    • I'm not en expert in Linux, but i would say in Windows you still have those old applications installed.

                      – Haroun Hajem
                      Nov 14 '18 at 11:57











                    • yeah @Haroun i'll check

                      – Ashok P
                      Nov 14 '18 at 11:59













                    0












                    0








                    0







                    As in the requirement say you should use



                    enter image description here



                    Just download it from gnu.org. Here are the requirements for building AOSP



                    For your JDK you should run this:



                    sudo apt-get update
                    sudo apt-get install openjdk-8-jdk


                    Don't forget to uninstall everything JDK, Make before you install the new ones.






                    share|improve this answer













                    As in the requirement say you should use



                    enter image description here



                    Just download it from gnu.org. Here are the requirements for building AOSP



                    For your JDK you should run this:



                    sudo apt-get update
                    sudo apt-get install openjdk-8-jdk


                    Don't forget to uninstall everything JDK, Make before you install the new ones.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Nov 13 '18 at 15:24









                    Haroun HajemHaroun Hajem

                    31729




                    31729












                    • I have installed every thing, But again I'm getting same problem

                      – Ashok P
                      Nov 14 '18 at 7:13











                    • I'm not en expert in Linux, but i would say in Windows you still have those old applications installed.

                      – Haroun Hajem
                      Nov 14 '18 at 11:57











                    • yeah @Haroun i'll check

                      – Ashok P
                      Nov 14 '18 at 11:59

















                    • I have installed every thing, But again I'm getting same problem

                      – Ashok P
                      Nov 14 '18 at 7:13











                    • I'm not en expert in Linux, but i would say in Windows you still have those old applications installed.

                      – Haroun Hajem
                      Nov 14 '18 at 11:57











                    • yeah @Haroun i'll check

                      – Ashok P
                      Nov 14 '18 at 11:59
















                    I have installed every thing, But again I'm getting same problem

                    – Ashok P
                    Nov 14 '18 at 7:13





                    I have installed every thing, But again I'm getting same problem

                    – Ashok P
                    Nov 14 '18 at 7:13













                    I'm not en expert in Linux, but i would say in Windows you still have those old applications installed.

                    – Haroun Hajem
                    Nov 14 '18 at 11:57





                    I'm not en expert in Linux, but i would say in Windows you still have those old applications installed.

                    – Haroun Hajem
                    Nov 14 '18 at 11:57













                    yeah @Haroun i'll check

                    – Ashok P
                    Nov 14 '18 at 11:59





                    yeah @Haroun i'll check

                    – Ashok P
                    Nov 14 '18 at 11:59

















                    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%2f53283815%2fproblem-in-build-android-open-source-project%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

                    How to how show current date and time by default on contact form 7 in WordPress without taking input from user in datetimepicker

                    Darth Vader #20

                    Ondo