Build stock apps - Android Q&A, Help & Troubleshooting

Hey,
I'm trying to build the google stock apps(https://android.googlesource.com/platform/packages/)
Each and every one of them fails to build for some reasons.
Is there anything that I need besides android studio to compile it?
Thanks

Related

[Q] Newbe Question-Download,Update,Compile&publish Android code

Hey Guys, I want to do a nice test to the Android OS. I would like to flash my rooted Android device with my own android OS version. I am doing so because I want to change some system app and kernel framework to act differently.
So I know I can download the source code with git, but can I open it with Eclipse? how do I compile it, and the most important question, how do I flash it back (with the changes) to the device?
I need to do it on Windows...I know it suppose to run on Mac\Linux, any free solution?
Thanks M

[Q] 4.2 and higher Apps on 4.1.2 build

Hi,
I've previously had success in getting 4.2, 4.3 and 4.4 apps working on a 4.1.2 rom, but now I am working on building from source I was wondering how this was done. I have the correct sdk files, and the source syncs but the build comes fails. Has anyone done this before? Am I asking the impossible?
Any help much appreciated, I am new to this all, and so far only managed to port CM10, now working on Slim3.1 before looking up the food chain.
Yes, you are trying to call for SDKs and APIs that aren't there.
Sent from my Nexus 4, want to know my current project? Check http://team-fun.eu

[Q] 4.4 Apps in a 4.1.2 build

Hi all,
I am looking to find a way to build from repository the latest camera/gallery combo and email/calendar from 4.4 in a CM10 (4.1.2) build process. I get the error that I am building a version of Android too low to use these resources. I have the default set in the repo manifest, and a build version in my cm.mk file. I have tried to a simply chang the fingerprint to 4.4.2 and then adjusting the build number. I also changed the repo version to sync with but it still wants to build 4.1.2
I keep getting into trouble with different local settings in jni files etc. Has anyone managed to do this successfully or is it always a case of cross your fingers and copy the apk in after the build. Ideally I would want to avoid this as I want to make it rather than mka and get a nice ODEXed set out.
Any help very much appreciated
The reason why nobody else is doing this is because it's really improbable you get this working.
For this to work you have to port most of the stuff that makes 4.4 version 4.4 back to your CM10.
It would be way easier to compile 4.4 and change the undesired apps back to CM10 apps. Because 4.4 does have the API and features that CM10 does, just not the other way around.
Sent from my Nexus 4, want to know my current project? Check http://team-fun.eu

[Q] Build APKs from Source in need of Help

So I really like google dialer and have a Samsung s5. Now the new lollipop dialer or the google dialer 2.0/2.1 won't install on a tw ROM as it would appear. So I was thinking if I could make my own build from the source I could have the dialer I want without losing the tw features. So I have successfully clone the source to my PC and imported it into android studio as a project. Every time I try to build or try to produce an apk I have 31 errors stating ”no resource...” in the style.XML. I have tried to find a guide that would help me to build an apk from source with no avail. So I am curious to what I'm missing? Some direction would be greatly appreciated.
Do you have the Android sdk installed? Even then it wont install. You have to have it as a system APP and then you will lose the TW features of the dialer.
zelendel said:
Do you have the Android sdk installed? Even then it wont install. You have to have it as a system APP and then you will lose the TW features of the dialer.
Click to expand...
Click to collapse
Well I do have SDK installed.
Ok and it is updated? I would track down the errors and just fix what is missing by comparing it to a pre-built apk

Flashing newly created Andorid AOSP Build on an Android Emulator?

Hi,
I am trying to make an Android Custom ROM for work purpose. I have been able to compile the AOSP Source files into a series of .img files, but I'm a little stumped on actually transferring my AOSP Build on a device. Currently, I am trying to test on an emulator within Android Studio.
Are there any useful guides out there that show clearly how to go abouts putting the image on the emulator to test it?
Thank you, any help is greatly appreciated.

Categories

Resources