OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Building Android on a MBP (need help with an error)


Post Reply New Thread Subscribe

 
Thread Tools
Schoat333

 
Member Since: Mar 05, 2012
Posts: 14
Schoat333 is on a distinguished road
Mac Specs: 13.3" i5 MBP (Late 2011)

Schoat333 is offline
Hey guys, I know Android is probably a bad word here, but I was hoping you could help me with a problem I'm having.

I followed the android dev site tutorial for setting up my build environment in OSX lion, and it seemed to be ok. I could build apks from source code. The problem I'm having is when I try to compile the entire package for my galaxy nexus. I get this.

PHP Code:
make: *** [out/host/darwin-x86/obj/EXECUTABLES/grxmlcompile_intermediates/grxmlcompile.oError 1
make
: *** Waiting for unfinished jobs....
1 warning generated
Not sure why it could be, but I get it when trying to build from AOSP source, and another rom developers source. I'm new to mac, but have experience with linux. Just can figure this out.

Thanks in advance for any help.
QUOTE Thanks
Schoat333

 
Member Since: Mar 05, 2012
Posts: 14
Schoat333 is on a distinguished road
Mac Specs: 13.3" i5 MBP (Late 2011)

Schoat333 is offline
I found the solution to my problem. OSX lion can not build the emulator for Android.

I found this fix on the CyanogenMod wiki.

Quote:
Mac OS X Lion will fail to compile QEMU (Emulator) codes. You do the following to disable building QEMU components. cd /Volumes/CyanogenModWorkspace/android/system/ (or Whatever directory your external folder is in for your build)
vi external/qemu/Android.mk
You will need to append # at the start of the line to every lines on that file. Press i to insert and Esc + :wq to save and quit vi.
You can also just open the file with a text editor and do the same, if you have your finder set to show hidden files.

With this fix, I was able to compile a custom build of Android 4.0.3.
QUOTE Thanks

Post Reply New Thread Subscribe


« need developer to convert powerpc program to Lion compatible | Basic AppleScript w/Terminal Question »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Server Error in '/' Application jrstone OS X - Operating System 0 03-27-2010 03:43 AM
Do i need to do anything to repair/save my hard drive? oxband Apple Notebooks 3 04-09-2009 11:04 AM
Server Error in '/' Application. deathtolife04 OS X - Apps and Games 8 08-21-2007 02:38 PM
rdesktop help tomaprik OS X - Apps and Games 0 01-29-2007 01:08 AM
Verify Disc Error Message on MBP melmation Apple Notebooks 3 12-18-2006 01:20 AM

All times are GMT -4. The time now is 09:37 PM.

Powered by vBulletin
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?