[Q] How can I compile a single AOSP app? - General Questions and Answers

I'm looking to compile the stock Calendar app. I'm not quite sure how to do this. Do I have to download the whole Android tree? Can I download only the Calendar repository & compile from there?

You can pull the source code for the single application and compile it using an IDE.

Related

[HELP] Compiling Launcher2 from source?

I'm trying to learn how to modify certain android components but I'm having trouble compiling from source.
I downloaded Launcher2 from cyanogen git://github.com/cyanogen/android_frameworks_base.git but Eclipse says it can't resolved some classes.
Some of these classes belong to other repositories like android_framework_base core and graphics. Do I need to bring the sources for these too? will these get compiled into -the Launcher making it huge? What is the correct configuration for eclipse to compile individual apps?
Thank you in advance.
i have the same problems with u~
yes, you need the whole android tree.
then do:
make Launcher2
hope that helps.

[Q] Android 4 Application Source Code

Hello everyone,
After developing some applications for Android I decided to get the source code for Android 4. I want to change my "Home" application. Actually I don't want to change it at all, but change it a little. I download the source code using repo from the branch Android4.0.3_r1 (I don't remember exactly). Under the folder "/packages/apps/" I get the "Launcher2" folder and import it at the Eclipse. Then a miracle confused happened! There are undeclared variables, undefined methods, etc! I cannot understand a thing!
I want a little help for:
- Making this source code run
OR
- Downloading the right source code.
Could you help me how to find and run the original source from Google?
no one has had (as far as i know) any success porting the ICS launcher to 2.X
you may want to look into a custom ROM, or a themed launcher.
mtmerrick said:
no one has had (as far as i know) any success porting the ICS launcher to 2.X
you may want to look into a custom ROM, or a themed launcher.
Click to expand...
Click to collapse
Hi again,
Actually I am not trying to port an ICS application to Android 2. Launcher2 is the name of the application for Android 4. Launcher2 works as "Home" application, as I understand.
The problem is that from the source code provided by Google there are errors. Undefined methods, etc. Is there any way to compile and build the Launcher2 application and disappear these errors? And, if there is no way to do it do you know any similar open-source application?

AOSP downloading just one flavour (ICS) source code

This might be a trivial question but I dont know the answer to it. Looking for android gurus. My task is to compile android kernel and run on a pandaboard. I cannot just take the uImages there are drivers which I need to modify..
Now one way is to download every thing from AOSP by repo init... and downloading 3-4 Gb of git from day 1 of android git init. Is there a way to just get the source files for ICS. It is easy for linux just go to git.kernel.org and get the snapshot of the tag like 3.0 , is there a same git snapshot available in android ?
Any help is welcome....
manishjg said:
This might be a trivial question but I dont know the answer to it. Looking for android gurus. My task is to compile android kernel and run on a pandaboard. I cannot just take the uImages there are drivers which I need to modify..
Now one way is to download every thing from AOSP by repo init... and downloading 3-4 Gb of git from day 1 of android git init. Is there a way to just get the source files for ICS. It is easy for linux just go to git.kernel.org and get the snapshot of the tag like 3.0 , is there a same git snapshot available in android ?
Any help is welcome....
Click to expand...
Click to collapse
Are you downloading from codeaurora?
If yes, then there are separate sections for kernels and snapshot is available too.

Compile an .apk from Cyanogen source

Hey I'm looking into compiling an apk from the app source provides in Cyanogen but I'getting errors in eclipse
Correct me if I'm wrong but do we need to sync the entire repo of cyanogen just to compile a single apk

How to compile aosp from source with UberTC?

Hi, this is the first time that i try to compile a rom from source! Now I downloaded the source from google, but if I want to compile the aosp with UbertTC, what should I do? Thanks I use Ubuntu with Virtual machine.

Categories

Resources