[Q] CM7 Build from source error - Nook Color Q&A, Help & Troubleshooting

Have employed my google-fu, but to no avail. I am running into the following error, regardless of intended product (encore or infuse), so I can only conclude my build environment is not properly set up. Has anyone seen this aidl error?
Pastebin follows:
http://pastebin.com/wAsTQKNp

Solved, conflicting Java and javac versions

Related

Eclipse project set up on WinXP

Hello!
I want to set up project in Eclipse, that can be found on:
http://android.git.kernel.org
This one would be interesting for me:
http://android.git.kernel.org/?p=pla...7039647;sf=tgz
I tried with creating new project from existing source, but i have a LOT of errors (unknown classes... etc). Is it possible to set up mentioned project on WinXP? How?
If Linux is the only option, is there any precise manual? I'm new to Linux and I have ubuntu installed.
How do git and repo work?
Regards
it's the same on linux as it is on windows.
unknown classes will not be solved by using linux as OS.

New Ubuntu Update 10.10 Broke my SDK?

[Q] Hey guys, I just updated to Ubuntu 10.10 and now my SDK is gone! I tried to look into why it wasn't working and the software manager tool in Eclipse says that Android is installed. I don't even have any of the Android SDK buttons showing anymore? Can someone help a fellow dev?
[SOLVED] Go to the eclipse website, download Eclipse for linux, uninstall your old eclipse, extract your new eclipse wherever and go into the folder and click the application button titled eclipse. Then reinstall all the android stuff.
At the informal android developer's meetup tonight, there were two of us with this same problem.
One issue that I found was that PATH in .profile got broken.
We suspect that using the version of eclipse that came with ubuntu, rather than 3.5 downloaded directly from eclipse might also be causing problems.
I have the same problem; ellarsee, can you be more specific how you got it running again?
(what is .mprofile and where is it, for example? (Googling isn't helping me find out))
Same thing happened to me
Upgrade to Ubuntu 10.10 broken my Android SDK as well.
Is it possible the Java packages are not installed anymore in Ubuntu?
I tried this...
sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk
Updated a lot of stuff but Eclipse Android is still gone...
Does anyone have this figured out yet??????????????????????????????? I NEED TO GET MOVING ON SOME APPS! THIS IS SO FRUSTRATING!
Removal and re-install of ADT plugin does not help
This is the error that appeared in my project the first time I ran eclipse after the 10.10 upgrade from 10.04.
Code:
The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project
I attempted to fix the build path (Properties->Java Build Path) and noticed that
com.adroid.ide.eclipse.adt.ANDROID_FRAMEWORK was not checked. I checked it but this made no difference.
Going to try complete uninstall of eclipse...
It's still not working for me
Not .mprofile .profile, it's like .bashrc, a script that is run when you log in, and can set your $PATH variable, or other environment variables.
emacs ~/.profile
or
vi ~/.profile
should enable you to edit it.
Has anyone tried just a fresh reinstall of everything to work on android apps?
Someone asked about java, it's still in /usr/bin/java
SOLUTION
Can't post outside links. So you'll have to google the bug numbers I give.
Ubuntu bug is here: bugs.launchpad # 633198
This points at a debian bug: bugs.debian.org # 587657
Debian bug contains a workaround where you edit the file:
~/.eclipse/org.eclipse.platform_*/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
And you change the concurrent package location (I had too entries, I had to remove them both and insert the line in the debian bug)
and then things magically worked for me again!
Best of luck everyone
Someone else?
Someone else found a way to fix it?
Cuz, everything up till now didnt work for me

error: revision froyo in manifests not found??

Tried downloading source from google source after reinstalling linux today but got this error:
"error: revision froyo in manifests not found ..."
I think that this is a problem with ubuntu, I don't know, but I've redownloaded and reinstalled ubuntu a few times and installed all the updates (it would not let me compile without updating certain parts of the system).
Any help? I might be doing something wrong in the setup process..
Thanks in advance.
anyone?
(char)
-b froyo-plus-aosp
Thank you very much! It works!

[Q] kernel compile error: "no machine record defined"

Hi All,
so this is my first post in this forum! Sorry for posting in the wrong sub-forum, but it doesn't let me post in the "Android Development" one unless I have 10 posts
I'm trying to get started with building Android ROMs for my trusty GT540, and while trying to build the kernel for my first ROM, this error came up:
Code:
LD .tmp_vmlinux1
arm-eabi-ld: error: no machine record defined
arm-eabi-ld: arch/arm/mach-msm/built-in.o: in function get_nand_partitions:nand_partitions.c(.text+0xd308): error: undefined reference to 'msm_nand_data'
arm-eabi-ld: arch/arm/mach-msm/built-in.o: in function parse_tag_msm_partition:nand_partitions.c(.init.text+0x1914): error: undefined reference to 'msm_nand_data'
arm-eabi-ld: drivers/built-in.o: in function mdp_refresh_screen:lowmemorykiller.c(.text+0x1e078): error: undefined reference to 'mddi_ss_driveric_innotek_position'
arm-eabi-ld: drivers/built-in.o: in function mdp_dma2_update:lowmemorykiller.c(.text+0x1e37c): error: undefined reference to 'mddi_ss_driveric_innotek_position'
arm-eabi-ld: drivers/built-in.o: in function flash_onfi_probe:lowmemorykiller.c(.text+0x6c424): error: undefined reference to 'msm_nand_data'
make: *** [.tmp_vmlinux1] Fehler 1
Do you have an idea how to solve this? I guess the first error ("no machine record defined") is the cause for the further errors?
So far, I tried to build an Android 2.3 Gingerbread ROM (using Cyanogenmod sources) for LG GT540; trying Gingerbread first because several other people have built it successfully already. So I checked out Cyanogenmod sources and pretty much followed the instructions from https://github.com/pcfighter/android_device_lge_swift-CM/blob/master/README ; then checked out the kernel from https://github.com/pcfighter/2.6.35 and tried to build it. There was no .config file so I extracted one from the boot.img from xda-cm-7.2.0-SDSL-12082012.zip. Then started the build with "make -j2 ARCH=arm CROSS_COMPILE=arm-eabi-". It asked for some more config options which I answered so-so, then started building, and after quite a while ran into that "no machine record defined".
Building is done on Ubuntu 14.04 x86-64 in Virtualbox.
Google hasn't given much specific help for this problem, but it looks like wrong .config parameters can cause this. Is there an existing "good" config for building 2.6.35 for Swift phone? Or can I generate a good config somehow? Or is the problem somewhere else completely?
Just a little follow-up: the magic command is "make swift_defconfig" - when run in the Linux kernel source directory this will create a .config file which should have correct options set for building a GT540 kernel.
Apart from this I'm still struggling to build a kernel that actually boots... Some of the kernels I've built have worked but many just fail to boot (at least when using fastboot). I've built with lots of slightly different configs now and still don't see a pattern. And I've now used
- the guide from https://source.android.com/source/building-kernels.html#building
- and the sources from https://un.poivron.org/~jimpulse/swift-squeeze-0.2.tar.gz
- and the toolchain from https://github.com/yath/android_prebuilts_gcc_linux-x86-32_arm_arm-linux-androideabi-4.6
- and a config based on the one from swift-squeeze-0.2.tar.gz
to build a working kernel under Ubuntu 12.04 (32bit, native system); but the exact same .config and toolchain and kernel source results in a non-booting kernel when built under Ubuntu 14.04 64-bit in Virtualbox!
Has anyone else ever seen such problems? Is this a known issue? So far I'm willing to just blame it on a hardware problem on my computer; but if anyone has an idea what else might cause this I'm interested!
Also: is there a way to get really early boot messages on GT540? With the failing kernels it just stays at the blue fastboot screen, and I'd really like to know what happens at that point

eclipse ide error build

I use mac os x 10.10.1 and i just want to know why when i try to make project for android i get this build error message i can't even find out why i get this on the mac?If anyone can help me that be great:Errors occurred during the build.
Errors running builder 'Android Resource Manager' on project 'HappyGoShopper'.
java.lang.NullPointerException
Found out it was the 64-bit image

Categories

Resources