Re: [android-building] Issues building JellyBean 4.2 in Mac OS X 10.7.4 (Lion)

3,309 views
Skip to first unread message

Ying Wang

unread,
Jan 3, 2013, 2:33:27 PM1/3/13
to android-...@googlegroups.com
I guess you are in the aosp master branch?
For that specific error, I don't think it's a Xcode version issue.
Maybe you happened to sync the code to a point that hits a cross-project build system change.
Try "repo sync" again.

On Thu, Jan 3, 2013 at 11:12 AM, Eishita Farjana <eze...@gmail.com> wrote:

While running the make file I'm having the following error -

uofs-10-228-148-13:OS fze013$ make -j32

============================================

PLATFORM_VERSION_CODENAME=AOSP

PLATFORM_VERSION=4.1.2.3.4.5.6.7.8.9

TARGET_PRODUCT=full_tuna

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

HOST_ARCH=x86

HOST_OS=darwin

HOST_OS_EXTRA=Darwin-11.4.0-x86_64-i386-64bit

HOST_BUILD_TYPE=release

BUILD_ID=OPENMASTER

OUT_DIR=out

============================================

build/core/java.mk:33: *** cts/apps/CtsVerifier: Invalid LOCAL_SDK_VERSION 'current' Choices are: .  Stop.

Several people are talking about downgrading Xcode and I have no clue where I could find that. Currently, I'm using Xcode version 4.5.

Please help!

--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

Ying Wang

unread,
Jan 3, 2013, 4:45:32 PM1/3/13
to android-...@googlegroups.com
Ok, check HISTORICAL_SDK_VERSIONS_ROOT in build/core/config.mk and see if you have all the SDKs in that directory.

On Thu, Jan 3, 2013 at 12:55 PM, Eishita Farjana <eze...@gmail.com> wrote:
Tried 'repo sync' again. Still, no luck :(

Jean-Baptiste Queru

unread,
Apr 4, 2013, 2:08:27 PM4/4/13
to android-...@googlegroups.com
That's an interesting point. The Android build system is designed to
be extremely dynamic in the way it discovers the source files, without
making assumptions about which file is supposed to be present. That
means that there's nowhere to look early for missing files: as an
example, prebuilts/sdk isn't really 100% necessary in this location as
long as there exists a location somewhere that fills the same
functionality.

JBQ

On Thu, Apr 4, 2013 at 2:13 AM, Yordan Lilov <grumog...@gmail.com> wrote:
> I just resolved this for me.
> The problem was that my project tree (android source tree) was incomplete,
> due to low disk space while syncing.
> :) with so many project fetched, i had only few kilobytes left on my hard
> drive, so $MYDROID/prebults/sdk didn't exist.
>
> Freed some space and than run repo sync once again ---> my solution.
>
> It's really sick how many kind of troubles one might have when android tree
> is incomplete.
> You have to keep this in mind, because make system keeps on reporting
> various type of errors, while low disk space is the only one.
>
>
>
> 04 януари 2013, петък, 07:43:40 UTC+2, Eishita Farjana написа:
>>
>> Thanks Ying, I retired your previous option and it apparently solved the
>> issue.
>>
>> Thank you so much!
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> 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 android-buildi...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



--
Jean-Baptiste M. "JBQ" Queru
Technical Lead, Android Open Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

Magnus Bäck

unread,
Apr 4, 2013, 2:11:30 PM4/4/13
to android-...@googlegroups.com
On Thursday, April 04, 2013 at 05:13 EDT,
Yordan Lilov <grumog...@gmail.com> wrote:

> I just resolved this for me.
> The problem was that my project tree (android source tree) was
> incomplete, due to low disk space while syncing.
> :) with so many project fetched, i had only few kilobytes left on my
> hard drive, so $MYDROID/prebults/sdk didn't exist.
>
> Freed some space and than run repo sync once again ---> my solution.

Surely, the previous 'repo sync' must've bailed out with an error when
it couldn't download or check out the files?

[...]

--
Magnus Bäck
ba...@google.com

Chris Cadwallader

unread,
Jun 24, 2014, 3:10:28 PM6/24/14
to android-...@googlegroups.com, ba...@google.com
I am also getting a similar error. Space does not seem to be an issue in my case and repeated sync'ing has not resolved the issue.

host:casesensitive user$ make -j4
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=4.4.3.43.43.43
TARGET_PRODUCT=aosp_arm
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=darwin
HOST_OS_EXTRA=Darwin-12.5.0-x86_64-i386-64bit
HOST_BUILD_TYPE=release
BUILD_ID=AOSP
OUT_DIR=out
============================================
including ./abi/cpp/Android.mk ...
including ./art/Android.mk ...
including ./bionic/Android.mk ...
including ./bootable/diskinstaller/Android.mk ...
including ./bootable/recovery/Android.mk ...
including ./build/libs/host/Android.mk ...
including ./build/target/board/Android.mk ...
including ./build/tools/Android.mk ...
including ./cts/Android.mk ...
build/core/java.mk:23: *** cts/apps/CtsVerifier: Invalid LOCAL_SDK_VERSION 'current' Choices are: 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19.  Stop.
host:casesensitive user$ ls prebuilts/sdk/
10           12           14           16           18           4            6            8            Android.mk   api
11           13           15           17           19           5            7            9            CleanSpec.mk

Ive worked around the issue by creating a symlink in prebuilts/sdk of 'current' -> 19 but Im unsure if this is safe behavior. I dont see any mention of a step like this in the building documentation so I feel as if Im wandering off the canonical path.

Any direction is appreciated.

Chris Cadwallader

unread,
Jun 25, 2014, 9:39:48 AM6/25/14
to android-...@googlegroups.com, ba...@google.com
I dont have an answer for why my prebuilts/sdk/ was lacking current/ and renderscripts/ but deleting the entire repository and recreating it resolved the issue.
Reply all
Reply to author
Forward
0 new messages