Android :: How ToCustom Build
Mar 20, 2010I want to make a custom build of Android for a custom application. Is there a guide somewhere?
View 1 RepliesI want to make a custom build of Android for a custom application. Is there a guide somewhere?
View 1 RepliesI downloaded the Android 2.2 source code and try to build it. When I executed the make command, I got an error here like this build/core/java.mk:20: *** frameworks/ex/common: Invalid LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7. Stop. Then I changed the frameworks/ex/common/Android.mk to LOCAL_SDK_VERSION = 8 from LOCAL_SDK_VERSION = 7. Next place, build/core/java.mk:20: *** external/jsr305: Invalid LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7. Stop. I changed the external/jsr305/Android.mk to LOCAL_SDK_VERSION = 8 from LOCAL_SDK_VERSION = 7
Last one, build/core/java.mk:20: *** external/guava: Invalid LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7. Stop. I changed the external/guava/Android.mk to LOCAL_SDK_VERSION = 8 from LOCAL_SDK_VERSION = 7
By these changes the code started the compilation.
1. Why the error occured?
2. Changes which I did is correct or not?
I have a phone with a MT6577. The vendor (Wiko) published the kernel source code. So, i'm trying to build it. I can get the zImage. I converted it to boot.img but i can't boot with it on my phone.build a good zImage? (if you want to try) : URL...
cp mediatek-configs .config
TARGET_PRODUCT=s9081 MTK_ROOT_CUSTOM=../mediatek/custom make
# sudo mtk-tools/repack-MT65xx.pl -boot zImage boot.img-ramdisk boot.img
MTK-Tools by Bruno MartinsMT65xx repack script (last update: 27-01-2013)
Repacking boot image...
Ramdisk size: 2046 blocs
Repacked boot image into 'boot.img'.
Here are the Warnings I got when compiling
mediatek/platform/mt6577/kernel/drivers/video/tvc_drv.c:61:5: warning: "FIXED_WVGA_PARAMS" is not defined
net/ipv4/tcp.c: In function 'tcp_nuke_addr':
include/net/ipv6.h:338: warning: 'in6' may be used uninitialized in this function
net/ipv4/tcp.c:3367: note: 'in6' was declared here
In file included from net/ipv4/netfilter/ipt_LOG.c:27:
include/net/netfilter/xt_log.h: In function 'sb_close':
[code]....
Try something like this,
ANT_OPTS="-Xms256M -Xmx512M" export ANT_OPTS ant ...
On 12/2/09 12:11 PM, sdphil wrote:
HTC may develop own mobile OS, follow iPhone model | Electronista
Palm with webOS, Samsung with Bada and now HTC with their own? Is this going to lead anywhere good?
k9-2707-release.apk - k9mail - K9 2707 - Project Hosting on Google Code
View 3 Replies View RelatedI'm having pukage when I try building from ant. I followed the sdk upgrade instructions:
$ android update project --path /path/to/my-project --target 1
and when I try to build:
$ ant release
I get:
CODE:...........
It seems that something in:
CODE:..............
Is causing ant to harf, but that's about all I can tell.
Is there a tool or a website that could help me create a UI for an Android application using drag-and-drop?
I found this site but want to know if there is a more stable tool or website for this?
I would like to do is a build-in SMS Counter. When having plans that allow you to do a specified amount of SMS messages in a month, an SMS Counter would be very useful, and I can't imagine writing code for it could be that hard. I think that, apart from me, many people would love this simple extra to the Android OS.
View 2 Replies View RelatedI want to modify the usb_windows.c in /system/core/adb and recompile a new adb.exe to test our platform. but, when i use "make HOST_OS=windows", it failed. i use ubuntu 8.04 and i can build with "make HOST_OS=linux". does anyone know how to build my adb.exe?
View 12 Replies View RelatedMy application needs to compile into different version, from 1.5 to 2.1. The development environment is eclipse. I don't want to have different source code or project for each version. How could I do it?
View 5 Replies View RelatedI just tried to figure out the build.xml from the SDK 1.5. I used "android update project" an an existing project and got a very short build.xml. When I strip out all the comments, this is what's left:
<?xml version="1.0" encoding="UTF-8"?> <project name="com.webxells.ourproduct" > <property file="local.properties"/> <property file="build.properties"/> <property file="default.properties"/> <path id="android.antlibs"> <pathelement path="${sdk-location}/tools/lib/anttasks.jar" /> <pathelement path="${sdk-location}/tools/lib/sdklib.jar" /> <pathelement path="${sdk-location}/tools/lib/ androidprefs.jar" /> <pathelement path="${sdk-location}/tools/lib/apkbuilder.jar" /
I define a setBackgroundDrawable with a png resource that's 2px wide and 50px high. Android fills the background with this resource. The question I have: Does Android replicate the resource to fill the width of the screen or does it stretch it? The png is not 9-patch.
View 3 Replies View RelatedI'm seemingly having problems creating the apk using an ant build for 1.5. It's building so I'm guessing the sdk pointer in local.properties is set correctly, but it seems to not be finding sun.security.x509.* (?).
I can see that jarutils.jar is in
CODE:...............
Here's the traceback spew...
release: [apkbuilder] Creating .Phresheez-unsigned.apk for release...
CODE:................
Is that possible to build an extensions to build-in apps like contacts, or addessbook, so we could adding additional menu ?
View 2 Replies View RelatedI am in the process of writing some new build files for Android Sdk 1.5 and beyond.
My question is every tool-IDE plugin the same in that they do not contribute the ANT task libs to the IDE ant editor and thus have to manually set the paths in each IDE?
At them moment i know ADT 0.90 pre is but I am assuming that will change as we approach the ADT 0.90 final release.
I'm building using Ant and trying to use build.properties to override some default values, and failing miserably. What am I missing?
Here's what I've tried:
1) Create a project with: > android create project --target 1 --name MyAndroidApp --path ./MyAndroidAppProject --activity MyAndroidAppActivity --package com.example.myandroid
I was wondering what the feasibility would be for creating a custom Android build and deploying it on a currently available device on the market. Are there any documents or guidelines that describe the process?
View 3 Replies View RelatedI seperate my application into 2 projects. one for UI,the other is for service.How can I build these 2 applications into one apk?
View 9 Replies View RelatedI'm attempting to test one of my applications in the SDK1.5 environment, but when it tries to build, I get this error:
[2009-04-15 12:33:13 - Battle Bricks] trouble processing "java/awt/font/NumericShaper.class": [2009-04-15 12:33:13 - Battle Bricks] Attempt to include a core VM class in something other than a core library. It is likely that you have attempted to include the core library from a desktop virtual machine into an application, which will most assuredly not work. If you really intend to build a core library -- which is only appropriate as part of creating a full virtual machine binary, as opposed to compiling an application -- then use the "--core-library" option to suppress this error message. If you go ahead and use "--core-library" but are in fact building an application, then please be aware that your build will still fail at some point; you will simply be denied the pleasure of reading this helpful error message.
But I've tested my other application in the environment, and it worked fine. I've looked through my imports, and none of my files import NumericShaper, so I'm confused as to why it seems to think that it is being referenced.
I want to use my own SDK ( Android SDK + few new app + modified apps ) along with Eclipse on Windows / Linux machine. Am I able to do this ?
View 4 Replies View RelatedI have done x86_64 android build on ubuntu. The build went successful. Initially i was getting the home screen while launching emulator, but now I am facing a problem. A blank screen with a text "ANDROID" is coming up. Can anybody suggest me what i should do to resolve the same.
View 3 Replies View RelatedI'd like to build the calculator2 app supplied with android as a starting point for some mods I'm thinking about. How can I build it in eclipse? In the android source I've found only the .java files, but not the .xml like manifest, main and so on.
View 2 Replies View RelatedI want to build MusicPlayer, using source code of standart android music player(projects / platform/packages/apps/Music). I also renamed the package (for no conflict with emulator app)
When I build the project and run it, I have following error: Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
I need to write ant build file for my project. Do anyone have an idea about how to write ant build file for android.
View 3 Replies View Relatedim pretty new at Ant and have been looking for alot of examples. I am pretty far now, and was successfull to get a build.xml going. Though i seem to have one thing missing. My application needs a custom Reference Library i am calling that is a jar file. But i dont know how to add it one.
View 2 Replies View RelatedI have the android resource.
. build/envsetup.
sh make
Above two steps I have finish the source build, and the out directory has some useful file. but I can't understand how to make a zip file like update.zip. I want to flash my phone.
It helps, but still some parts are missing, i.e. R.java for example, or maybe I have done something wrong... which are the correct steps to get this program into eclipse?
View 2 Replies View RelatedI have a listActivity and wanted to create a list with the second layout (attached). What has any idea how to build this layout in xml?
show imageAttached.
I would like to program or build a QR scanner for Android. However, I know nothing about programming so I would need a step by step instruction.
I have sucessfully used MIT App Inventor to make a QR scanner, however I want to add features. As far as I can see, I cannot output sourcecode in App Inventor, so I'm unable to edit the parts I want to.
Basically I want to change the filters and colours of an image before it gets sent to a QR reader. The QR reader could use live capture from a camera or just stills. I only need a proof of concept, so it does not need much else.
I'd probably get as far as installing Eclipse, and starting a project. But so far I have no idea what to do with source code, or how to add the feature I require.