I have seen builds break due to using the -j switch. Sometimes the Android build system is very finicky. There's so many factors involved it's nuts, so your errors could be due to the product your building, a missing dependency, etc. Only thing really to do is read the error messages and try to fix them one at a time.
Oh, if you do build for a device, use "make otapackage" for a zip package =) You may wanna try building CyanogenMod's tree, as there are way more device configs and its easier to build. On Apr 10, 2011 11:11 AM, "Andrew" <andrew.g.crich...@gmail.com> wrote: > > Yes, I did install all of the items from that website. (That is the tutorial I used to set it up initially). There error with make -j4 seams to have fixed itself - whether it was downloading a fresh repo or installing the extra libraries or both, I don't know > > I left it running before I hit the hay last night and woke up to the following error... > > ... > target Java: LargeAssetTest (out/target/common/obj/APPS/LargeAssetTest_intermediates/classes) > target Java: Launcher (out/target/common/obj/APPS/Launcher_intermediates/classes) > target Java: LightingTest (out/target/common/obj/APPS/LightingTest_intermediates/classes) > target Java: LiveWallpapersPicker (out/target/common/obj/APPS/LiveWallpapersPicker_intermediates/classes) > packages/apps/android_packages_apps_Launcher/gen/com/android/launcher/Manifest.java:10: duplicate class: com.android.launcher.Manifest > public final class Manifest { > ^ > packages/apps/android_packages_apps_Launcher/gen/com/android/launcher/R.java:10: duplicate class: com.android.launcher.R > public final class R { > ^ > target Java: LiveWallpapers (out/target/common/obj/APPS/LiveWallpapers_intermediates/classes) > target Java: LocationTracker (out/target/common/obj/APPS/LocationTracker_intermediates/classes) > packages/apps/android_packages_apps_Launcher/src/com/android/launcher/Launcher.java:1371: cannot find symbol > symbol : variable SOURCE > location: class android.app.SearchManager > appSearchData.putString(SearchManager.SOURCE, "launcher-search"); > ^ > Note: Some input files use or override a deprecated API. > Note: Recompile with -Xlint:deprecation for details. > Note: packages/apps/android_packages_apps_Launcher/src/com/android/launcher/Launcher.java uses unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > 3 errors > make: *** [out/target/common/obj/APPS/Launcher_intermediates/classes-full-debug.jar] Error 41 > make: *** Waiting for unfinished jobs.... > Note: frameworks/base/tests/LocationTracker/src/com/android/locationtracker/TrackerService.java uses or overrides a deprecated API. > Note: Recompile with -Xlint:deprecation for details. > ---------------------- > end of output > ---------------------- > > On greping through the output, the only instance of 'error' I found was the last one '3 errors', and 'Error' only gave be functions names and calls where the function is called 'SomethingErrorSomethingElse'. > > I am not familiar enough with make to know what 'Error 41' entails never mind its relevance. > > I am not running in a virtual box. Although, now that I think about it, my Directory is in my 'Documents' folder which I believe is symlinked to an NTFS drive (so I can share data with windows) might that cause a problem? > > I have been monitoring RAM and swap usage via system monitor whenever I run make. The cores usually max out, memory never goes above 50% and swap never goes above 1.1% (4 GB RAM, 8 GB Swap). > > If I redownloaded the repo, presumably it reset to the generic-eng build. I am about to try running make for the simulator and see if any of my errors return. I suspect that the error given will still be a problem. If anyone knows of a solution... > > Thanks > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en