Ok, when I try and build on linux mint, I get this error:
Code:
************************************************************
You are attempting to build with the incorrect version
of java.
Your version is: java version "1.6.0_24".
The correct version is: Java SE 1.6.
Please follow the machine setup instructions at
https://source.android.com/source/download.html
************************************************************
but I have followed the instructions to the letter in how to get Java. I don't understand where I'm going wrong...
Can someone please help me? :good:
Build using what?
Jrcon said:
Build using what?
Click to expand...
Click to collapse
What do you mean? As in what tutorial am I using? I am quite new to this so I ask that people be patient with me...
I've been following the tutorial on the source.android website.
I'm building from the JB source. I followed a few steps from the compile JB on ubuntu tutorial.
Ok well, after improving my google fu I found that the problem was because I had "Open JDK" installed and not "Java JDK" installed.
In case anyone runs into this problem, here is a link that may help you:
http://blog.markloiseau.com/2012/07/how-to-compile-android-on-ubuntu-12-04/
Related
Hi,
I'm currently woring on creating a complete VM and a document with instraction of getting from compile to flahsing from begining.
The complete enviroment will be set and ready with the Stock ROM (currently targeting 4.0.2.A.0.58) and the Android OS.
This will allow users to be able to take this VM and start right a away to change the Stock ROM and integrate changes for that from other modes.
will update this thread when it's done. and links for download (unless someone will be faster the me )
18/12 Update:
Just now finish creating an working and compiling enviroment with 2.3.4_r1 of Android
now working on making it to work with the Sony Ericson source code...
Regards,
LaBBa.
Hi,
I need a little help here... i have followed the steps in Google:
http://source.android.com/source/initializing.html
and also the Journal:
http://journal.tianhao.info/2010/12/compile-android-gingerbread-on-ubuntu-10-10/
i have compiled the code and got it up and running and also in emulator with the command line that was written in the Journal and the Android is working..
now i try to understand the Sony Ericson guide:
http://developer.sonyericsson.com/wp/2011/05/06/how-to-build-a-linux-kernel/
I have downloaded the ARM cross-compiler and installed it, was really bad instructions on how to install it. but just need to run: sh ./the_downloaded.bin
and installed it correctly
after installing the ARM cross-compiler successfully done a make to the kernel but only after fixing the symbolic link that from some reason was attach to 0x86 arch and not arm.
the paths where different since i used the default installer path and match the same version that they used: 2010q1
so first done this for the .config :
ARCH=arm CROSS_COMPILE=~/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi- make semc_zeus_defconfig
Click to expand...
Click to collapse
then run the make:
ARCH=arm CROSS_COMPILE=~/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi- make
Click to expand...
Click to collapse
now i got kernel compiled!
the question is:
i know that with the Android compiling i got 3 files in the /source_android/out/target/product/generic:
1. ramdisk.img
2. system.img
3. userdata.img
do i need to use the ramdisk from the Android for the next steps of SE guide ?
1. Getting a RAM disk and extract it
2. Re-package it with all of the kernel of SE that we just compiled
3. Assembling the boot.img using the mkbootimg
moreover, after i assemble the files i want to make a really clean installation and cleaning all the flash and installing all in a vanilla mod.
what should be the next steps ?
Regards,
LaBBa.
I thought that the community here will help in this small matter so we will have more pepole that could join the efforts of making brtter and cooller roms... I guess I was wrong. All I wanted to do is help the dev community and create the full step by step guide to starting developers in the android world....
Sadly I'm forced to end this thread due to lake of knowledge...
Sent from my R800i using XDA App
labbala said:
I thought that the community here will help in this small matter so we will have more pepole that could join the efforts of making brtter and cooller roms... I guess I was wrong. All I wanted to do is help the dev community and create the full step by step guide to starting developers in the android world....
Sadly I'm forced to end this thread due to lake of knowledge...
Sent from my R800i using XDA App
Click to expand...
Click to collapse
im sorry i would help but i dont know much lol srry no one that knew could or would help
hi,
I hope that you are able to get this working.
i will use it when it is finished
Edit: what have you exactly done?
Maybe i can help
all i wanted to do is to download all the source codes and compile it and then creat the same version (for this case the .58) manually and get to the same images that need to be flahed.
i wanted to create from this a complete tut that others that have allot of knowladge in development could start working without the stragling of setting up an eviroment or all the issues about how to get from compiling to acctuall creating an .img to flash it on your device.
just a simple "out of the box" solution so pepole could get and work right a way without wasting time in assembling the source codes and setting then env.
ok, and where are you?
I mean what have you done for now??
please see the second post.. it's all there..
yes you need that ramdisk for the kernel.
but you need to edit the ramdisk to work with the xperia play.
i can do that, can you upload it??
what i'm going to do now is, i'm going to upload all the VM to the web and write the complete tutrial for all the steps i have done so far and then we could continue. thank you for trying to help!
ok,
if you need some help PM me!
EDIT: How Can I Easily Make a Sidescrolling Platformer Using An Easy Scripting Language For Android
Bump
Nobody Answered Yet I Modified My Post
Im Really Eager to start Making Simple Platforming Games For Android
bump Someone please post
There is no easy way. Anything that is worth doing is always worth the work you need to do.
Here is a Java-Script Builder
Don't know if you know anything about writing script or anything but you can PM(private message) me with an email address and I'll send you a zipped attatchment with a program for windows pc. It's called Sencha-Touch 1.1.1 App Maker.
I'm sure if your running windows on your PC and your here then you already have java runtime. Just update it if necessary at Java.com. Just click where it says "Do I Have Java" to check and update your version.
You will probably also have to go to Oracle(the java website) and download and install the "Java SE 7u2" for developers from the download section.
If you Need direct links to the Java's, I will include them in email to you.
Hope this gives ya some insight.
Can't get the zip to upload to an email but can give ya the website link in one. Don't think I'm allowed to post outside links.
hi
shubshub said:
bump Someone please post
Click to expand...
Click to collapse
Have you tried out DaVinci Studio? it's a dev tool based on HTML5 and JavaScript...
You can get it for free at their website and ask questions on their forum if you need help with it.
Eclipse + Android SDK
I highly recommend using the standard Eclipse setup with the Android SDK. Java is pretty easy to learn, and can create games that are very simple to complex. I was confused where to start off as well, and tried out AndEngine. There isn't much documantation for AndEngine, so I followed Kilobolt's tutorial on game development. One of the best tutorials of programming that I have ever seen. I am working on a platformer at the moment, and everything is going pretty well. In simple, google "Kilobolt". He has tutorials for setting everything up. However, the tutorial begins with standard Java development, and Android comes into play when you are ready to port the game. Good Luck. :good:
Thanks for the info, I'll check it out.
Hi,
I have recently reconfigure my PC for dual boot (win 7 64Bit, Ubuntu 12.04 64Bit)
I have followed this tutorial for installing the required components:
://blog.markloiseau.com/2012/07/install-eclipse-juno-and-android-sdk-on-ubuntu/
I have followed this tutorial for compiling GOLDFISH kernel to test:
://blog.markloiseau.com/2012/07/how-to-compile-the-android-goldfish-emulator-kernel/
However when i run :
# /path/to/emulator @testAVD -kernel /path/to/zImage
I get a blank AVD then a compile error.
Can someone assist?
Squidge1980 said:
Hi,
I have recently reconfigure my PC for dual boot (win 7 64Bit, Ubuntu 12.04 64Bit)
I have followed this tutorial for installing the required components:
://blog.markloiseau.com/2012/07/install-eclipse-juno-and-android-sdk-on-ubuntu/
I have followed this tutorial for compiling GOLDFISH kernel to test:
://blog.markloiseau.com/2012/07/how-to-compile-the-android-goldfish-emulator-kernel/
However when i run :
# /path/to/emulator @testAVD -kernel /path/to/zImage
I get a blank AVD then a compile error.
Can someone assist?
Click to expand...
Click to collapse
Please
Our General Section is flooded
Post Your Questions here
You will be assisted better
http://forum.xda-developers.com/showthread.php?t=2089279
iamareebjamal said:
Please
Our General Section is flooded
Post Your Questions here
You will be assisted better
http://forum.xda-developers.com/showthread.php?t=2089279
Click to expand...
Click to collapse
Thanks will do
Sorry if it is in wrong section but...
I have got a problem and I can't find a solotion for it. I have a Xperia Z Ultra and I am trying to build AOSP Android using the guide Sony provided, but when I hit "make" it gives me an error that I have wrong java version, it looks like this (pic in attachment). I have tried different versions, added them to PATH but it still isn't working properly. Could any of you guys help a 15 yo student to learn that things? Thanks in advance!
Regards
Please, could anyone help me?
Regards
teddy74eva said:
Please, could anyone help me?
Regards
Click to expand...
Click to collapse
I would recommend checking out the first step of this guide here on compiling AOSP that deals with setting up JDK specifically it recommends using Open JDK 7 instead. Let me know if you have any questions or need further assistance in solving your problem.
Okay thanks a lot, I have managed to do it yesterday but now I'm stuck with compiling, it gives me an error when I try to build it, some conflicts in libnfc-nci, trying to cherry-pick some needed fixes also succeed in error, I'll do a screenshot when I come back from school but again, many thanks
Regards
Okay, now when I try to compile I have some errors, when I do repo sync it tells me at the end that some files need to be merged, like in pic 1. When I try to compile it gives me an error that a separator is missing in a file, like in pic 2. And when i try to cherry-pick the fixes (as in pic 3) it throws me another error, as in pic 4. My main question is: how could I merge files and what is it? Thanks in advance!
Regards
Hello,
I know well ubuntu but newbie for android.
I would like to compile/build an app from source, like this one : https://code.fossencdi.org/BlueGPS.git
When googling the subject of this thread it is not clear how to proceed. There seems to have plenty of tools.
What is the simplest way to build an app on ubuntu (16.04) ? Preferably on the command line.
Thanks for your help.
Regards