[Q] for help!about compile - AOKP Q&A

What does the problem is it?
It tell me that my java version was wrong,and it need 1.6 or 1.7.But my java version is already 1.6!!!

Related

[Q] How to edit and build android source

Hi,
I've downloaded the source code of android 4.0, and I've correctly installed the eclipse platform to develop with android.
Now I want to know how import the android source in eclipse, edit and build. Which files I must import? There is a tutorial for this? As you did?
Thanks.
ADT
get the ADT plugin for eclipse.
you'll find more info here:
developer.android.com/sdk/eclipse-adt.html
I got ADT plugin and correctly installed it.
But I don't know how put the source code of android into a new project, edit and build it.

[Q] PHP compiling for Android 4.03 ICS

I used @viulian's port of PHP 5.3.8 and 5.4.2 of PHP and lighttpd on my Galaxy S2. It ran like a charm on Android 2.3.3.
But since I upgraded to ICS 4.0.3 the PHP didn't run anymore and reported it to @viulian. He discovered he used the wrong compiler switches and recompiled it and it ran again but some functions regarding directories (dir(), scandir() ) don't run properly due to a 64 bits filename problem. This is also described in https://bugs.php.net/bug.php?id=27792 . Thanks, @viulian for your effort ! He could not test it as he has no ICS test development yet.
Now I decided to compile PHP myself. I have downloaded the sources from php.net and installed the Android dev kit with cross compilers and installed the ARM cross compiler on Macports as well (I use a Mac running Lion 10.7, but I have Ubuntu 12.04 in a VMware session if that suits better) .
Can somebody tell me what to do to properly compile PHP myself to make a single PHP binary ?
I cannot find proper answers by googling around.

[Q] Are Java 6 & 7 compatible?

Hi guys!
I am currently on Ubuntu 10.04, using Java "1.6.0_21" so I can properly compile Android roms and apps without major bugs or issues.
The thing is that I need to use Java 1.7 for other projects apart from Android, and I don't know if I can install it and still keep the 1.6 version so I don't get those incompatibilities with Android.
Does anyone know about this? I'll appreciate any help.
Thanks!

[Q] Root Android Source Code Compile

i am beginner in android
i want to root my samsung galexy s 3 and access to /data/data folder
for security reason i want to compile su (super user) source code from http://forum.xda-developers.com/attachment.php?attachmentid=133677&d=1227954857
can any one help me to compile it step by step
so i download this tools
adt-bundle-windows-x86-20140321.zip or android sdk
android-ndk-r9d-windows-x86.zip or android-ndk-r9d
jdk-7u51-windows-i586.exe or java SE development kit 7
jre-7u51-windows-i586.exe or java runtime environment
and my system is windows xp sp3
ehsanirani20 said:
i am beginner in android
i want to root my samsung galexy s 3 and access to /data/data folder
for security reason i want to compile su (super user) source code from http://forum.xda-developers.com/attachment.php?attachmentid=133677&d=1227954857
can any one help me to compile it step by step
so i download this tools
adt-bundle-windows-x86-20140321.zip or android sdk
android-ndk-r9d-windows-x86.zip or android-ndk-r9d
jdk-7u51-windows-i586.exe or java SE development kit 7
jre-7u51-windows-i586.exe or java runtime environment
and my system is windows xp sp3
Click to expand...
Click to collapse
Mate, first off you should move from OS. I advice you to set all environment in a Linux distro, such as Arch or Debian. As soon you get it done, let me know and I gonna be able to help you in a better way.
ROM Customization
I want to compile android source code, can anyone help me.
Thanks,
Mohit Tadhiyal

removed

removed
I think you will need sony to release the full sources for this, since we dont even have a working aosp, but please do keep us posted, i am interested in porting plasma mobile and for that ubuntu touch is needed.
I will try to compile for now with the sources available.... I have much to do
UPDATE: I need help compiling with Ubuntu: i successfully downloaded the 4.4.4 android sources (base for this project)
But i have problems when do that part:
https://source.android.com/source/building.html#choose-a-target
It says i have not installed the jdk 6, but i am 100%sure that i installed it!
P.S. I have downloaded that: https://github.com/sonyxperiadev/device-sony-tulip
and putted it in /home/alby/WORKING_DIRECTORY/AOSP/android-4.4.4_r2/device (extracted.)
Please help me....
alby_var said:
UPDATE: I need help compiling with Ubuntu: i successfully downloaded the 4.4.4 android sources (base for this project)
But i have problems when do that part:
https://source.android.com/source/building.html#choose-a-target
It says i have not installed the jdk 6, but i am 100%sure that i installed it!
P.S. I have downloaded that: https://github.com/sonyxperiadev/device-sony-tulip
and putted it in /home/alby/WORKING_DIRECTORY/AOSP/android-4.4.4_r2/device (extracted.)
Please help me....
Click to expand...
Click to collapse
How will you compile a 4.4 ROM with 5.0 device tree
And for the Java problem, search on Google: change java ubuntu
There is some command to change to jdk6 instead of jdk7... Something like sudo --configuration java --v
Idk the exact command, if u need help. Ping me up
Sent from my E2303 using XDA Free mobile app
Thank you very much!
Check this http://www.webupd8.org/2012/11/oracle-sun-java-6-installer-available.html
Thanks, first i need a base for this rom, i haven't time to compile, but i think that in a month i will successfully build the base rom, (AOSP or CM)

Categories

Resources