Koumajutsu
Android Expert
So in trying to setup a good development environment, I've run into issues and conflicting information regarding workarounds.
What I'm hoping to do here is start a conversation to help clear up my own confusion as well as anyone else feeling the same pain.
Here is what I've found:
Android SDK | Android Developers
Starting here, I found a good bit of information on getting an environment set up for developing applications for Android using Eclipse. All seemed well and good, but the files from Samsung on https://opensource.samsung.com/ for the kernel and the Prevail's platform don't seem to match the SDK's directory structure. It makes it quite confusing as to how to use these files.
When searching out info on compiling the kernel, I ran across this site:
Initializing a Build Environment | Android Open Source
This site went about creating a development environment that was quite different than the eclipse environment stated previously. The site even mentions developer.android.com as where to go to develop applications for the Android, so the 2 seem somewhat connected.
Trying to follow the instructions here though led to issues.
1) trying to install the dependencies leads to packages apparently missing.
I found info here:
http://askubuntu.com/questions/25727/how-do-i-install-the-build-dependencies-for-android
on some alternative packages to meet at least some of those requirements.
the worst part was though, that I was unable to download the repo script from android.git.kernel.org because kernel.org was apparently hacked and the android team has not logged back in to reactivate the project.
I found this as an alternative source
Kernel.org hacked – how to get Android repo? mindexception: out of context
This gets the kernel source and development environment for Gingerbread, but simply replacing the word gingerbread for froyo in the walkthrough is successful in getting the froyo repositories.
This builds a filestructure that looks identical to the files provided by Samsung.
I dumped the platform, then kernel files here, then the kernel2 (ee14) files on top of that and tried to compile a kernel from here. The result was a big chunk of warnings for items that supposedly throw warnings for any linux kernel and a zimage file that was within a few bytes of the stock kernel, likely due to, at minimum, building from different versions of dependencies from when samsung compiled for release.
This same system setup was unable to use hrorak's kernel packer, even with the zimage that comes in the zip. I was getting invalid image errors from ODIN and a boot.img that was about 7k. I blamed Python, (Ubuntu 10.4 which I was using comes with version 2.6) trying to upgrade python led me to breaking my system pretty bad so now I'm trying again with 11.04.
I haven't tried compiling any apps yet as my personal confidence level is pretty low at this point.
So, how about those who have been successful in at least making apps, any advice for myself and others like me in getting things set up correctly?
What I'm hoping to do here is start a conversation to help clear up my own confusion as well as anyone else feeling the same pain.
Here is what I've found:
Android SDK | Android Developers
Starting here, I found a good bit of information on getting an environment set up for developing applications for Android using Eclipse. All seemed well and good, but the files from Samsung on https://opensource.samsung.com/ for the kernel and the Prevail's platform don't seem to match the SDK's directory structure. It makes it quite confusing as to how to use these files.
When searching out info on compiling the kernel, I ran across this site:
Initializing a Build Environment | Android Open Source
This site went about creating a development environment that was quite different than the eclipse environment stated previously. The site even mentions developer.android.com as where to go to develop applications for the Android, so the 2 seem somewhat connected.
Trying to follow the instructions here though led to issues.
1) trying to install the dependencies leads to packages apparently missing.
I found info here:
http://askubuntu.com/questions/25727/how-do-i-install-the-build-dependencies-for-android
on some alternative packages to meet at least some of those requirements.
the worst part was though, that I was unable to download the repo script from android.git.kernel.org because kernel.org was apparently hacked and the android team has not logged back in to reactivate the project.
I found this as an alternative source
Kernel.org hacked – how to get Android repo? mindexception: out of context
This gets the kernel source and development environment for Gingerbread, but simply replacing the word gingerbread for froyo in the walkthrough is successful in getting the froyo repositories.
This builds a filestructure that looks identical to the files provided by Samsung.
I dumped the platform, then kernel files here, then the kernel2 (ee14) files on top of that and tried to compile a kernel from here. The result was a big chunk of warnings for items that supposedly throw warnings for any linux kernel and a zimage file that was within a few bytes of the stock kernel, likely due to, at minimum, building from different versions of dependencies from when samsung compiled for release.
This same system setup was unable to use hrorak's kernel packer, even with the zimage that comes in the zip. I was getting invalid image errors from ODIN and a boot.img that was about 7k. I blamed Python, (Ubuntu 10.4 which I was using comes with version 2.6) trying to upgrade python led me to breaking my system pretty bad so now I'm trying again with 11.04.
I haven't tried compiling any apps yet as my personal confidence level is pretty low at this point.
So, how about those who have been successful in at least making apps, any advice for myself and others like me in getting things set up correctly?