Thanks you so much. I've got the error and fixed it. There is something wrong with my repo.
Best Regards. Darview_Cheng 2017-03-30 15:57 GMT+08:00 成达玉 <[email protected]>: > I downloaded sourcecode as the following steps: > > 1.repo init -u https://android.googlesource.com/platform/manifest -b > master > 2.repo sync -c -d > But I donot have "build/core" in my directory. > I added my manifest.xml in the attachment. > > And if i run "repo init -u https://android.googlesource. > com/platform/manifest -b master" and "repo sync -c -d platform/build" in > another folder > I got a folder "build/make". > And I found that my manifest.xml do not have a directory named "build". > > I cannot build the source code now. > Could you please help me to find out a method that I can build the the > code. > > Thanks, > Darview_Cheng > > 2017-03-29 4:40 GMT+08:00 'Dan Willemsen' via Android Building < > [email protected]>: > >> It looks like it's not finding your source directory. Running `gettop` >> should return the absolute path to your source directory. You can override >> this by setting the TOP environment variable, but it should auto-detect the >> value if you're in the source directory. >> >> That being said, if your source directory is corrupt due to this move, >> that could also cause problems -- does build/core/envsetup.mk exist? >> (build/core should be a symlink to build/make/core). If it doesn't exist, >> where there any errors from the last `repo sync`? >> >> - Dan >> >> On Tue, Mar 28, 2017 at 7:49 AM darview_cheng <[email protected]> >> wrote: >> >>> How can I build with the master branch with this change? >>> >>> >>> <https://lh3.googleusercontent.com/-xlgp3uhNcIk/WNpZkBfhIHI/AAAAAAAAAAg/VNACwzIFX9ogEiZTonCgrRb4b5HAll1hQCLcB/s1600/2017-03-28%2B20%253A39%253A23%25E5%25B1%258F%25E5%25B9%2595%25E6%2588%25AA%25E5%259B%25BE.png> >>> >>> >>> >>> >>> >>> 在 2016年10月12日星期三 UTC+8上午3:59:50,Dan Willemsen写道: >>> >>> I’ll be submitting https://android-review.googlesource.com/286781 >>> shortly in order to move the `build` project to `build/make`. This will >>> only affect the master branch. >>> >>> >>> - >>> >>> If you don’t have any local changes to the build project, just sync >>> like normal, everything should just work. >>> >>> >>> >>> - >>> >>> If you have uncommitted changes, your sync will fail, and you’ll >>> either have to commit your changes or reset the files in order to sync. >>> >>> >>> >>> - >>> >>> If you have local branches, the safest solution is to backup your >>> changes (to gerrit, or otherwise) before your next sync, then apply them >>> into the new project. If you don’t do that, this command should be able >>> to >>> restore your branches, at least until `git gc` runs: >>> >>> >>> (cd build/make; git fetch ../../.repo/projects/build.git >>> refs/heads/*:refs/heads/* refs/published/*:refs/published/*; git config >>> -l -f ../../.repo/projects/build.git/config | grep '^branch.' | sed >>> 's/=/ /' | xargs -L1 git config) >>> >>> If you encounter any problems, please respond here. >>> >>> Thanks, >>> Dan >>> >>> -- >>> -- >>> 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 a topic in the >> Google Groups "Android Building" group. >> To unsubscribe from this topic, visit https://groups.google.com/d/to >> pic/android-building/vReGP8nyLuc/unsubscribe. >> To unsubscribe from this group and all its topics, 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.
