Question

I have read some of the content on Android source, and my goal is to build an image for the Note III from Sprint. My make fails with the following message at the top: "find: `src': No such file or directory". I started a script session of my make process, so if there is any other information I can provide, please let me know. I tried to download jb-mr1-dev-plus-aosp branch for my device, and tried to build the full_toroplus-eng image. I think I have all the source from this branch. But I know very little about what I have. How do I validate my repo sync went smoothly? I get the following error at the end of my repo sync session:

9/platforms/android-12/arch-arm/usr/include/asm-generic/emergency-restart.h
9/platforms/android-12/arch-arm/usr/include/asm-generic/errno-
Aborting
Syncing work tree: 100% (348/348), done.  

prebuilts/ndk/: discarding 93 commits
error: prebuilts/ndk/: platform/prebuilts/ndk checkout 9283a93c7b03896d32a8e88c9322c827d4303652 
root@ubuntu:~/WORKING_DIRECTORY# 

How do I find out more about this? How do I troubleshoot it?

Was it helpful?

Solution

I think I have all the source from this branch. But I know very little about what I have. How do I validate my repo sync went smoothly?

If Repo terminated with a zero exit code you're good to go.

I get the following error at the end of my repo sync session:

prebuilts/ndk/: discarding 93 commits error: prebuilts/ndk/: platform/prebuilts/ndk checkout 9283a93c7b03896d32a8e88c9322c827d4303652

If memory serves me right, this means that the prebuilts/ndk directory is dirty (i.e. contains modified files) and thus prevents checking out a new commit. Running git status will tell you what's up.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top