[Q] android os(froyo) compile error - Android Q&A, Help & Troubleshooting

OS : ubuntu 10.04 LTS
JDK : sun-java1.5.0-jdk
~/froyo$ make clean && make clobber
~/froyo$ make -j2
**** error message ****
frameworks/base/core/java/com/android/internal/os/ZygoteInit.java:554: cannot find symbol
symbol : method forkSystemServer(int,int,int[],int,<nulltype>,long,long)
location: class dalvik.system.Zygote
pid = Zygote.forkSystemServer(
^
target Strip: gralloc.default (out/target/product/generic/obj/lib/gralloc.default.so)
target Strip: sensors.goldfish (out/target/product/generic/obj/lib/sensors.goldfish.so)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41
*****************************************************************************************************
What's wrong?! help pleases...

Related

AOKP help!

packages/apps/ROMControl/src/com/roman/romcontrol/fragments/UserInterface.java:118: cannot find symbol
symbol : variable config_enableCrtAnimations
location: class com.android.internal.R.bool
if (!getResources().getBoolean (com.android.internal.R.bool.config_enableCrtAnimations)) {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
make: *** [out/target/common/obj/APPS/ROMControl_intermediates/classes-full-debug.jar] Error 41
Please help, don't know what is happening.
My guess is your not using the proper gcc version... I got the error with 4.4 but 4.3 it builds fine

[ISSUE] CM9 compiling errors

Hi. I'm trying to compile CM9 for my Galaxy Mini, but I always get these errors:
Code:
frameworks/base/core/java/android/view/inputmethod/InputMethodManager.java:1485: cannot find symbol
symbol : variable config_symKeyShowsImePicker
location: class com.android.internal.R.bool
if (context.getResources().getBoolean(com.android.internal.R.bool.config_symKeyShowsImePicker)) {
^
frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaDataConnectionTracker.java:127: cannot find symbol
symbol : variable config_cdma_dun_supported_types
location: class com.android.internal.R.array
com.android.internal.R.array.config_cdma_dun_supported_types);
^
frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/BearerData.java:884: cannot find symbol
symbol : variable config_smsSamsungCdmaAlternateMessageIDEncoding
location: class com.android.internal.R.bool
.getBoolean(com.android.internal.R.bool.config_smsSamsungCdmaAlternateMessageIDEncoding);
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41
[email protected] ~ $
Any solutions would be appreciated. Thanks.
i guess there are more errors on top of that...you could try to provide more output...i think you missed to checkout some repositories or so
Here's some more output: http://pastebin.com/pQy9T0uU

No system.img when building AOSP full-eng

EDIT: I don't know why but I rerun the below commands and It worked. I wanted to delete this thread, but Edit/Delete just allows me to edit :/
Hi, I was building android from AOSP and followed the instructions at source.android.com.
But I find no system.img in out/ subdirectories.
I used this commands to build it:
Code:
. build/envsetup.sh
lunch full-eng
nohup make -j8 &
I looked at log file nohup.out for errors but I found no one. The building process ended like this:
Code:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
target Dex: android.core.tests.libcore.package.org.no-core-tests-res
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
target Dex: android.core.tests.libcore.package.sun.no-core-tests-res
make: *** [out/target/common/obj/APPS/android.core.tests.libcore.package.com.no-core-tests-res_intermediates/noproguard.classes-with-local.dex] Killed
make: *** Waiting for unfinished jobs....
make: *** [out/target/common/obj/APPS/android.core.tests.libcore.package.org.no-core-tests-res_intermediates/noproguard.classes-with-local.dex] Killed
make: *** [out/target/common/obj/APPS/android.core.tests.libcore.package.libcore.no-core-tests-res_intermediates/noproguard.classes-with-local.dex] Killed
DroidDoc took 299 sec. to write docs to out/target/common/docs/api-stubs
DroidDoc took 483 sec. to write docs to out/target/common/docs/doc-comment-check
What have I done wrong? Is there some step I missed?
PD: Attached is the log of the whole building process.
Thanks.

[Question]Compiling AOSP gingerbread , RIL.java error

I am compiling the AOSP Gingerbread 2.3.7 for Samsung Galaxy Fit. I have made a successful build but now i am fixing the RIL for the incoming Calls. I am using the cyanogenmod 7.2 sources to patch the AOSP source , but i am getting these errors
Code:
Copying: out/target/common/obj/JAVA_LIBRARIES/core_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/host/linux-x86/framework/dx.jar
Install: out/host/linux-x86/bin/dx
Copying: out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/host/linux-x86/bin/aidl
Copying: out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/emma_out/lib/classes-jarjar.jar
target Java: framework (out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes)
frameworks/base/telephony/java/com/android/internal/telephony/RIL.java:628: cannot find symbol
symbol : variable config_rilNeedsNullPath
location: class com.android.internal.R.bool
rilNeedsNullPath = context.getResources().getBoolean(com.android.internal.R.bool.config_rilNeedsNullPath);
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41
Please help me and please fix this problem.

[Q] [AOSP Gingerbread][Help]Compiling RIL.java

I am compiling AOSP GIngerbread 2.3.7 for Samsung Galaxy Fit. I am using the Cyanogenmod 7.2 to patch the incoming call bug in the AOSP but unfortunaltely the last error which i am recieving is this while compiling
Code:
Copying: out/target/common/obj/JAVA_LIBRARIES/core_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/host/linux-x86/framework/dx.jar
Install: out/host/linux-x86/bin/dx
Copying: out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/host/linux-x86/bin/aidl
Copying: out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/emma_out/lib/classes-jarjar.jar
target Java: framework (out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes)
frameworks/base/telephony/java/com/android/internal/telephony/RIL.java:628: cannot find symbol
symbol : variable config_rilNeedsNullPath
location: class com.android.internal.R.bool
rilNeedsNullPath = context.getResources().getBoolean(com.android.internal.R.bool.config_rilNeedsNullPath);
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41
There is a humble request for all the devs is to help me out in the project

Categories

Resources