Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
vtrandal
Old
#1  
vtrandal's Avatar
Junior Member - OP
Thanks Meter 1
Posts: 20
Join Date: Apr 2011
Location: Longmont, Colorado USA
Default Android source code missing mm and mmm

Hello,

I'm new to xda so I cannot post to the developer forums. So I am posting here. Hope that's OK. Xda suggested I post here after searching for an answer to my question.

I'm trying to add an application to the android source code in packages/apps. I have been following several tutorials and they all use the "mm" command to build their app they are adding. But I can't find the "mm" command in any of the android source code that I have downloaded and built.

-- mm: Builds all of the modules in the current directory.

Does anyone know what my problem is? Does mm have to be downloaded separately? When I build android source code, I get a folder containing lots of commands but mm is not there.

Vince
 
vtrandal
Old
#2  
vtrandal's Avatar
Junior Member - OP
Thanks Meter 1
Posts: 20
Join Date: Apr 2011
Location: Longmont, Colorado USA
OK I think what I learned was that if I carefully and correctly built the original pristine source code downloaded using repo, then mm would become available. So what this means is I have to build the original pristine code before I add my app to packages/apps so then I can use mm to build my app that I added to packages/app. Whew! What a process. So PROBLEM SOLVED, but really ugly.
 
earthnut
Old
#3  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Oct 2011
Hi
I have the same problem

you mean just make the original platform code , then the mm command can work ?
 
ripperapid
Old
#4  
Junior Member
Thanks Meter 1
Posts: 3
Join Date: Aug 2010
Isn't it enough to just do:

source build/envsetup.sh

...to make it available?
The Following User Says Thank You to ripperapid For This Useful Post: [ Click to Expand ]
 
vtrandal
Old
#5  
vtrandal's Avatar
Junior Member - OP
Thanks Meter 1
Posts: 20
Join Date: Apr 2011
Location: Longmont, Colorado USA
Quote:
Originally Posted by ripperapid View Post
Isn't it enough to just do:

source build/envsetup.sh

...to make it available?
Yes, that works! Thanks!
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Go to top of page...