Hello everyone in XDA
I've decided to take the plunge with a group of friends to make an AOSP ROM for the Galaxy Ace (Codenamed Cooper) and it's not exactly as smooth-sailing as I thought.
I used to make generic builds last time , but ditched it because of the various errors that were induced.
So this time I decided to grab different Cooper sources from GitHub, mostly from coolya and Cyanogenmod.
I then realised that the AOSP doesn't have much files for an ARMv6-VFP device.
So I replaced android/frameworks/base completely with Cyanogenmod's android/frameworks/base.
And now I've been getting this error using:
Code:
make -j16 otapackage
Code:
frameworks/base/libs/ui/GraphicBuffer.cpp: In member function 'android::status_t android::GraphicBuffer::reallocate(uint32_t, uint32_t, android::PixelFormat, uint32_t)':
frameworks/base/libs/ui/GraphicBuffer.cpp:122: warning: comparison between signed and unsigned integer expressions
frameworks/base/libs/ui/GraphicBuffer.cpp:122: warning: comparison between signed and unsigned integer expressions
frameworks/base/libs/ui/GraphicBuffer.cpp:122: warning: comparison between signed and unsigned integer expressions
target thumb C++: libui <= frameworks/base/libs/ui/GraphicBufferMapper.cpp
target thumb C++: libui <= frameworks/base/libs/ui/GraphicLog.cpp
target thumb C++: libui <= frameworks/base/libs/ui/KeyLayoutMap.cpp
target thumb C++: libui <= frameworks/base/libs/ui/KeyCharacterMap.cpp
target thumb C++: libui <= frameworks/base/libs/ui/Input.cpp
target thumb C++: libui <= frameworks/base/libs/ui/InputDispatcher.cpp
target thumb C++: libui <= frameworks/base/libs/ui/InputManager.cpp
target thumb C++: libui <= frameworks/base/libs/ui/InputReader.cpp
target thumb C++: libui <= frameworks/base/libs/ui/InputTransport.cpp
target thumb C++: libui <= frameworks/base/libs/ui/IOverlay.cpp
target thumb C++: libui <= frameworks/base/libs/ui/Overlay.cpp
target thumb C++: libui <= frameworks/base/libs/ui/PixelFormat.cpp
frameworks/base/libs/ui/Overlay.cpp: In member function 'android::status_t android::Overlay::setFd(int)':
frameworks/base/libs/ui/Overlay.cpp:98: error: 'struct overlay_data_device_t' has no member named 'setFd'
make: *** [out/target/product/cooper/obj/SHARED_LIBRARIES/libui_intermediates/Overlay.o] Error 1
make: *** Waiting for unfinished jobs....
[email protected]:~/android#
If I used
Code:
make -j16
It would give a different error:
Code:
Install: out/host/linux-x86/framework/guavalib.jar
host Prebuilt: org-openide-util (out/host/common/obj/JAVA_LIBRARIES/org-openide-util_intermediates/javalib.jar)
host Prebuilt: org-netbeans-api-visual (out/host/common/obj/JAVA_LIBRARIES/org-netbeans-api-visual_intermediates/javalib.jar)
Install: out/host/linux-x86/framework/idegen.jar
host Prebuilt: jarjar (out/host/common/obj/JAVA_LIBRARIES/jarjar_intermediates/javalib.jar)
Install: out/host/linux-x86/framework/jdiff.jar
Install: out/host/linux-x86/framework/jsr305lib.jar
host Prebuilt: jython (out/host/common/obj/JAVA_LIBRARIES/jython_intermediates/javalib.jar)
host Prebuilt: kxml2-2.3.0 (out/host/common/obj/JAVA_LIBRARIES/kxml2-2.3.0_intermediates/javalib.jar)
make: *** No rule to make target `out/host/linux-x86/framework/layoutlib_api-prebuilt.jar', needed by `out/host/common/obj/JAVA_LIBRARIES/layoutlib_intermediates/javalib.jar'. Stop.
make: *** Waiting for unfinished jobs....
Did I do anything wrong?
Anyone ?
Sent from my GT-S5830 using XDA App
How to fix "lzop: not found" error:
open Ubuntu terminal and type:
Code:
sudo apt-get install lzop
and confirm installation.
Install a correct java version, translate the error messages. Check if the files it requires are present
Sent from my Nexus 4 using XDA Premium 4 mobile app
SMillerNL said:
Install a correct java version, translate the error messages. Check if the files it requires are present
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Code:
build/core/Makefile:44: warning: command covering the object `/home/lozohcum/CM/out/target/product/jlo/system/bin/rild'
build/core/base_rules.mk:502:warning: ignoring old command for the object `/home/lozohcum/CM/out/target/product/jlo/system/bin/rild'
build/core/Makefile:44: : warning: command covering the object `/home/lozohcum/CM/out/target/product/jlo/system/lib/libgps.utils.so'
build/core/base_rules.mk:502: warning: ignoring old command for the object `/home/lozohcum/CM/out/target/product/jlo/system/lib/libgps.utils.so'
build/core/Makefile:44: warning: command covering the object `/home/lozohcum/CM/out/target/product/jlo/system/lib/libril.so'
build/core/base_rules.mk:502: warning: ignoring old command for the object `/home/lozohcum/CM/out/target/product/jlo/system/lib/libril.so'
build/core/Makefile:44: warning: command covering the object `/home/lozohcum/CM/out/target/product/jlo/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:502: warning: ignoring old command for the object `/home/lozohcum/CM/out/target/product/jlo/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:44: warning: command covering the object `/home/lozohcum/CM/out/target/product/jlo/system/lib/egl/egl.cfg'
build/core/base_rules.mk:502: warning: ignoring old command for the object `/home/lozohcum/CM/out/target/product/jlo/system/lib/egl/egl.cfg'
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/etc/firmware/yamato_pfp.fw:system/etc/firmware/yamato_pfp.fw ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/etc/firmware/yamato_pm4.fw:system/etc/firmware/yamato_pm4.fw ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/egl/eglsubAndroid.so:system/lib/egl/eglsubAndroid.so ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/egl/libEGL_adreno200.so:system/lib/egl/libEGL_adreno200.so ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/egl/libGLESv1_CM_adreno200.so:system/lib/egl/libGLESv1_CM_adreno200.so ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/egl/libGLESv2S3D_adreno200.so:system/lib/egl/libGLESv2S3D_adreno200.so ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/egl/libGLESv2_adreno200.so:system/lib/egl/libGLESv2_adreno200.so ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/egl/libq3dtools_adreno200.so:system/lib/egl/libq3dtools_adreno200.so ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/libc2d2_z180.so:system/lib/libc2d2_z180.so ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/libgsl.so:system/lib/libgsl.so ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/libsc-a2xx.so:system/lib/libsc-a2xx.so ignored.
build/core/Makefile:44: warning: commands covering the object `/home/lozohcum/CM/out/target/product/jlo/system/etc/mkshrc'
build/core/base_rules.mk:502: warning: ignoring old commands for the object `/home/lozohcum/CM/out/target/product/jlo/system/etc/mkshrc'
No private recovery resources for TARGET_DEVICE jlo
build/core/Makefile:806: device/sony/tamsui-common-legacy/custombootimg.mk: No such file or directory
make: *** No rule to make target `device/sony/tamsui-common-legacy/custombootimg.mk'. Stop.
I have recovery files, how to check if there are all of them? I can't find right .mk file with those lines.
Your error has nothing to do with recovery. That is a normal message to see when building cm as cyanogenmod does not include a recovery image.
Your error is device/sony/tamsui-common-legacy/custombootimg.mk can't be found.
It is looking for that makefile and cannot find it so it's stopping.
Haze028 said:
Your error has nothing to do with recovery. That is a normal message to see when building cm as cyanogenmod does not include a recovery image.
Your error is device/sony/tamsui-common-legacy/custombootimg.mk can't be found.
It is looking for that makefile and cannot find it so it's stopping.
Click to expand...
Click to collapse
Finally fixed it, and also lots of other errors, but now I have something that dunno how to fix, can you take a look?
Code:
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGOpenCLRuntime.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGRTTI.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGStmt.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGVTT.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGVTables.cpp
external/clang/lib/CodeGen/CGStmt.cpp:1673:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [/home/lozohcum/CM/out/host/linux-x86/obj/STATIC_LIBRARIES/libclangCodeGen_intermediates/CGStmt.o] Błąd 1
make: *** Waiting for unfinished task....
[email protected]:~/CM$
It's compiler error, how fix it then?
lozohcum said:
Finally fixed it, and also lots of other errors, but now I have something that dunno how to fix, can you take a look?
Code:
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGOpenCLRuntime.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGRTTI.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGStmt.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGVTT.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGVTables.cpp
external/clang/lib/CodeGen/CGStmt.cpp:1673:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [/home/lozohcum/CM/out/host/linux-x86/obj/STATIC_LIBRARIES/libclangCodeGen_intermediates/CGStmt.o] Błąd 1
make: *** Waiting for unfinished task....
[email protected]:~/CM$
It's compiler error, how fix it then?
Click to expand...
Click to collapse
What toolchain are you using? Also what rom are you building?
I'm building cm10.1 with it's toolchain I think
lozohcum said:
I'm building cm10.1 with it's toolchain I think
Click to expand...
Click to collapse
Try a resync then build again...sometimes that can solve things. If not maybe try a different toolchain, I've not seen that error before but it looks like its tool chain related.
Haze028 said:
Try a resync then build again...sometimes that can solve things. If not maybe try a different toolchain, I've not seen that error before but it looks like its tool chain related.
Click to expand...
Click to collapse
Worked but now I have a different error, don't know how to fix (so far I have fixed many things by just reading log and finding what's wrong but sometimes I just don't know what to do)
Code:
Install: /home/lozohcum/CM/out/target/product/jlo/system/lib/libexpat.so
Copy: /home/lozohcum/CM/out/target/product/jlo/system/lib/egl/egl.cfg
host C++: libicuuc <= external/icu4c/common/bmpset.cpp
LD vmlinux
host C++: libicuuc <= external/icu4c/common/unisetspan.cpp
host C++: libicuuc <= external/icu4c/common/brkeng.cpp
host C++: libicuuc <= external/icu4c/common/brkiter.cpp
external/icu4c/common/brkiter.cpp: In static member function 'static icu_48::BreakIterator* icu_48::BreakIterator::buildInstance(const icu_48::Locale&, char const*, int32_t, UErrorCode&)':
external/icu4c/common/brkiter.cpp:96:38: warning: 'char const* ures_getLocale_48(const UResourceBundle*, UErrorCode*)' is deprecated (declared at external/icu4c/common/unicode/ures.h:300) [-Wdeprecated-declarations]
external/icu4c/common/brkiter.cpp:96:72: warning: 'char const* ures_getLocale_48(const UResourceBundle*, UErrorCode*)' is deprecated (declared at external/icu4c/common/unicode/ures.h:300) [-Wdeprecated-declarations]
host C++: libicuuc <= external/icu4c/common/caniter.cpp
host C++: libicuuc <= external/icu4c/common/chariter.cpp
host C++: libicuuc <= external/icu4c/common/dictbe.cpp
host C++: libicuuc <= external/icu4c/common/locbased.cpp
host C++: libicuuc <= external/icu4c/common/locid.cpp
host C++: libicuuc <= external/icu4c/common/locutil.cpp
host C++: libicuuc <= external/icu4c/common/normlzr.cpp
host C++: libicuuc <= external/icu4c/common/parsepos.cpp
host C++: libicuuc <= external/icu4c/common/propname.cpp
SYSMAP System.map
host C++: libicuuc <= external/icu4c/common/rbbi.cpp
SYSMAP .tmp_System.map
host C++: libicuuc <= external/icu4c/common/rbbidata.cpp
OBJCOPY arch/arm/boot/Image
host C++: libicuuc <= external/icu4c/common/rbbinode.cpp
Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head.o
LZO arch/arm/boot/compressed/piggy.lzo
/bin/sh: lzop: not found
make[4]: *** [arch/arm/boot/compressed/piggy.lzo] Error 1
make[3]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make[2]: *** [zImage] Błąd 2
make[1]: *** [sub-make] Błąd 2
make[1]: Leaving directory `/home/lozohcum/CM/kernel/sony/msm7x27a-legacy'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished tasks....
[email protected]:~/CM$
kernel source is taken from CyanogenMod github repo
Lzop not found? That might be a clue.
Sent from my Nexus 4 using XDA Premium 4 mobile app
SMillerNL said:
Lzop not found? That might be a clue.
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I know that Lzop but what next? should I download something from github?
Okay I found out how to fix it. Type:
Code:
sudo apt-get install lzop
lozohcum said:
Worked but now I have a different error, don't know how to fix (so far I have fixed many things by just reading log and finding what's wrong but sometimes I just don't know what to do)
Code:
Install: /home/lozohcum/CM/out/target/product/jlo/system/lib/libexpat.so
Copy: /home/lozohcum/CM/out/target/product/jlo/system/lib/egl/egl.cfg
host C++: libicuuc <= external/icu4c/common/bmpset.cpp
LD vmlinux
host C++: libicuuc <= external/icu4c/common/unisetspan.cpp
host C++: libicuuc <= external/icu4c/common/brkeng.cpp
host C++: libicuuc <= external/icu4c/common/brkiter.cpp
external/icu4c/common/brkiter.cpp: In static member function 'static icu_48::BreakIterator* icu_48::BreakIterator::buildInstance(const icu_48::Locale&, char const*, int32_t, UErrorCode&)':
external/icu4c/common/brkiter.cpp:96:38: warning: 'char const* ures_getLocale_48(const UResourceBundle*, UErrorCode*)' is deprecated (declared at external/icu4c/common/unicode/ures.h:300) [-Wdeprecated-declarations]
external/icu4c/common/brkiter.cpp:96:72: warning: 'char const* ures_getLocale_48(const UResourceBundle*, UErrorCode*)' is deprecated (declared at external/icu4c/common/unicode/ures.h:300) [-Wdeprecated-declarations]
host C++: libicuuc <= external/icu4c/common/caniter.cpp
host C++: libicuuc <= external/icu4c/common/chariter.cpp
host C++: libicuuc <= external/icu4c/common/dictbe.cpp
host C++: libicuuc <= external/icu4c/common/locbased.cpp
host C++: libicuuc <= external/icu4c/common/locid.cpp
host C++: libicuuc <= external/icu4c/common/locutil.cpp
host C++: libicuuc <= external/icu4c/common/normlzr.cpp
host C++: libicuuc <= external/icu4c/common/parsepos.cpp
host C++: libicuuc <= external/icu4c/common/propname.cpp
SYSMAP System.map
host C++: libicuuc <= external/icu4c/common/rbbi.cpp
SYSMAP .tmp_System.map
host C++: libicuuc <= external/icu4c/common/rbbidata.cpp
OBJCOPY arch/arm/boot/Image
host C++: libicuuc <= external/icu4c/common/rbbinode.cpp
Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head.o
LZO arch/arm/boot/compressed/piggy.lzo
/bin/sh: lzop: not found
make[4]: *** [arch/arm/boot/compressed/piggy.lzo] Error 1
make[3]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make[2]: *** [zImage] Błąd 2
make[1]: *** [sub-make] Błąd 2
make[1]: Leaving directory `/home/lozohcum/CM/kernel/sony/msm7x27a-legacy'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished tasks....
[email protected]:~/CM$
kernel source is taken from CyanogenMod github repo
Click to expand...
Click to collapse
it was too long times ago, i know but i need help How to take log? I couldn't find it.
fbli_41 said:
it was too long times ago, i know but i need help How to take log? I couldn't find it.
Click to expand...
Click to collapse
As far as I remember you need to install lzop on your ubuntu. It's compression method.
lozohcum said:
As far as I remember you need to install lzop on your ubuntu. It's compression method.
Click to expand...
Click to collapse
Ok. I will try. Thank you
Hello,
I try to compile Android 4.4 on Ubuntu 13.04. But i get a some "unexpected EOF" errors.
Code:
including ./system/security/softkeymaster/Android.mk ...
including ./system/vold/Android.mk ...
including ./tools/external/fat32lib/Android.mk ...
target SharedLib: libandroid (out/target/product/generic/obj/SHARED_LIBRARIES/libandroid_intermediates/LINKED/libandroid.so)
target SharedLib: libwilhelm (out/target/product/generic/obj/SHARED_LIBRARIES/libwilhelm_intermediates/LINKED/libwilhelm.so)
Install: out/target/product/generic/system/lib/libstagefright.so
target SharedLib: libjnigraphics (out/target/product/generic/obj/SHARED_LIBRARIES/libjnigraphics_intermediates/LINKED/libjnigraphics.so)
target Strip: libbcc.sha1 (out/target/product/generic/obj/lib/libbcc.sha1.so)
target SharedLib: libwebviewchromium_plat_support (out/target/product/generic/obj/SHARED_LIBRARIES/libwebviewchromium_plat_support_intermediates/LINKED/libwebviewchromium_plat_support.so)
target SharedLib: libbluetooth_jni (out/target/product/generic/obj/SHARED_LIBRARIES/libbluetooth_jni_intermediates/LINKED/libbluetooth_jni.so)
Copying: out/target/common/obj/JAVA_LIBRARIES/android-support-v4-jellybean-mr1_intermediates/classes.jar
Proguard: out/target/common/obj/APPS/Music_intermediates/proguard.classes.jar
target Symbolic: libjni_pacprocessor (out/target/product/generic/symbols/system/lib/libjni_pacprocessor.so)
Proguard: out/target/common/obj/APPS/PhotoTable_intermediates/proguard.classes.jar
target Symbolic: libttscompat (out/target/product/generic/symbols/system/lib/libttscompat.so)
Proguard: out/target/common/obj/APPS/QuickSearchBox_intermediates/proguard.classes.jar
target Symbolic: app_process (out/target/product/generic/symbols/system/bin/app_process)
target Symbolic: app_process__asan (out/target/product/generic/symbols/system/bin/asan/app_process)
target Executable: dex2oat (out/target/product/generic/obj/EXECUTABLES/dex2oat_intermediates/LINKED/dex2oat)
target Symbolic: libstagefright_httplive (out/target/product/generic/symbols/system/lib/libstagefright_httplive.so)
target Symbolic: libstagefright_wfd (out/target/product/generic/symbols/system/lib/libstagefright_wfd.so)
target Symbolic: screenrecord (out/target/product/generic/symbols/system/bin/screenrecord)
target Symbolic: camera.goldfish.jpeg (out/target/product/generic/symbols/system/lib/hw/camera.goldfish.jpeg.so)
target Symbolic: libFFTEm (out/target/product/generic/symbols/system/lib/libFFTEm.so)
ProGuard, version 4.10
ProGuard, version 4.10
ProGuard, version 4.10
target Strip: libRSDriver (out/target/product/generic/obj/lib/libRSDriver.so)
Reading program jar [/home/manner/Documents/android/out/target/common/obj/APPS/Music_intermediates/classes.jar]
Reading program jar [/home/manner/Documents/android/out/target/common/obj/APPS/QuickSearchBox_intermediates/classes.jar]
target Symbolic: libandroid_servers (out/target/product/generic/symbols/system/lib/libandroid_servers.so)
Reading program jar [/home/manner/Documents/android/out/target/common/obj/APPS/PhotoTable_intermediates/classes.jar]
target Symbolic: libaudioeffect_jni (out/target/product/generic/symbols/system/lib/libaudioeffect_jni.so)
target Symbolic: libdrmframework_jni (out/target/product/generic/symbols/system/lib/libdrmframework_jni.so)
Reading library jar [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar]
Reading library jar [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar]
target SharedLib: libmedia_jni (out/target/product/generic/obj/SHARED_LIBRARIES/libmedia_jni_intermediates/LINKED/libmedia_jni.so)
target SharedLib: librs_jni (out/target/product/generic/obj/SHARED_LIBRARIES/librs_jni_intermediates/LINKED/librs_jni.so)
target SharedLib: libsoundpool (out/target/product/generic/obj/SHARED_LIBRARIES/libsoundpool_intermediates/LINKED/libsoundpool.so)
target SharedLib: libstagefright_chromium_http (out/target/product/generic/obj/SHARED_LIBRARIES/libstagefright_chromium_http_intermediates/LINKED/libstagefright_chromium_http.so)
Install: out/target/product/generic/system/lib/libstagefright_soft_aacdec.so
Install: out/target/product/generic/system/lib/libstagefright_soft_aacenc.so
Reading library jar [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar]
Install: out/target/product/generic/system/lib/libstagefright_soft_amrdec.so
Install: out/target/product/generic/system/lib/libstagefright_soft_amrnbenc.so
Error: Can't read [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar] (unexpected EOF)
make: *** [out/target/common/obj/APPS/Music_intermediates/proguard.classes.jar] Error 1
make: *** Waiting for unfinished jobs....
Error: Can't read [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar] (unexpected EOF)
make: *** [out/target/common/obj/APPS/PhotoTable_intermediates/proguard.classes.jar] Error 1
Error: Can't read [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar] (unexpected EOF)
make: *** [out/target/common/obj/APPS/QuickSearchBox_intermediates/proguard.classes.jar] Error 1
Do you know any solutions?
Thanks
try "rm -Rf out/target/common/obj/APPS" and then rebuild
Hey guys, I have a problem with android app. while I wanna compile it, an error occurs!
its like :
--------------------------------------...
[2011-04-20 21:52:27 - KDV] Android Launch!
[2011-04-20 21:52:27 - KDV] adb is running normally.
[2011-04-20 21:52:27 - KDV] Could not find KDV.apk!
--------------------------------------...
Can you help me?
where is the error, and what does it mean?
also in directory "bin/" there is no .apk file, why?
I'm using :
- Ubuntu 10.10 - Maverick Meerkat
- Eclips Version: 3.5.2
- Android 1.6 (API Level-4)
rebuild android 4.4 error
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp: In function 'void android::adapter_state_change_callback(bt_state_t)':
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp:95:8: warning: too many arguments for format [-Wformat-extra-args]
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp: In function 'jboolean android::getRemoteMasInstancesNative(JNIEnv*, jobject, jbyteArray)':
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp:1036:54: warning: passing NULL to non-pointer argument 3 of 'void _JNIEnv::ReleaseByteArrayElements(jbyteArray, jbyte*, jint)' [-Wconversion-null]
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_QAdapterService.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_hfp.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_hfpclient.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_a2dp.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_avrcp.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_hid.cpp
packages/apps/Bluetooth/jni/com_android_bluetooth_hid.cpp: In function 'jboolean android::getProtocolModeNative(JNIEnv*, jobject, jbyteArray)':
packages/apps/Bluetooth/jni/com_android_bluetooth_hid.cpp:323:5: warning: 'protocolMode' may be used uninitialized in this function [-Wuninitialized]
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_hidd.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_hdp.cpp
packages/apps/Bluetooth/jni/com_android_bluetooth_hdp.cpp: In function 'jint android::registerHealthAppNative(JNIEnv*, jobject, jint, jint, jstring, jint)':
packages/apps/Bluetooth/jni/com_android_bluetooth_hdp.cpp:198:41: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_pan.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_gatt.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/android_hardware_wipower.cpp
packages/apps/Bluetooth/jni/android_hardware_wipower.cpp:48:0: warning: "ALOGV" redefined [enabled by default]
In file included from system/core/include/cutils/log.h:1:0,
from system/core/include/utils/Vector.h:24,
from frameworks/native/include/binder/IBinder.h:23,
from frameworks/base/include/android_runtime/AndroidRuntime.h:23,
from packages/apps/Bluetooth/jni/android_hardware_wipower.cpp:33:
system/core/include/log/log.h:78:0: note: this is the location of the previous definition
make: *** No rule to make target `/root/cm/out/target/product/mione_plus/obj/lib/libandroid_runtime.so', needed by `/root/cm/out/target/product/mione_plus/obj/SHARED_LIBRARIES/libbluetooth_jni_intermediates/LINKED/libbluetooth_jni.so'. Stop.
hei somebody help me fix this bugs...
i have rebuild again again....
Hi, I am compiling CM for Desire S. When I use CM frameworks/av it end but when I use modified one's that were working till recently, I get:
Code:
target asm: libavcodec <= external/ffmpeg/libavcodec/arm/fmtconvert_neon.S
external/stagefright-plugins/libstagefright/FFmpegExtractor/FFmpegExtractor.cpp: In member function 'android::sp<android::MetaData> android::FFmpegExtractor::setAudioFormat(AVStream*)':
external/stagefright-plugins/libstagefright/FFmpegExtractor/FFmpegExtractor.cpp:498:24: error: 'kKeySampleBits' was not declared in this scope
target asm: libavcodec <= external/ffmpeg/libavcodec/arm/fmtconvert_vfp.S
target asm: libavcodec <= external/ffmpeg/libavcodec/arm/fmtconvert_vfp_armv6.S
target asm: libavcodec <= external/ffmpeg/libavcodec/arm/h264cmc_neon.S
target asm: libavcodec <= external/ffmpeg/libavcodec/arm/h264dsp_armv6.S
target asm: libavcodec <= external/ffmpeg/libavcodec/arm/h264dsp_neon.S
target asm: libavcodec <= external/ffmpeg/libavcodec/arm/h264idct_neon.S
target asm: libavcodec <= external/ffmpeg/libavcodec/arm/h264pred_neon.S
make: *** [/home/marlab/cm11/out/target/product/saga/obj/SHARED_LIBRARIES/libFFmpegExtractor_intermediates/FFmpegExtractor.o] Error 1
make: *** Waiting for unfinished jobs....
target asm: libavcodec <= external/ffmpeg/libavcodec/arm/h264qpel_neon.S
real 27m53.221s
user 192m26.982s
sys 14m17.400s
What is wrong and how do I fix it?
Device: Motorola Titan
Building: AOSP
ERROR:
Code:
host C: libpng <= external/libpng/pngwutil.c
host StaticLib: libexpat (out/host/linux-x86/obj/STATIC_LIBRARIES/libexpat_intermediates/libexpat.a)
make: *** No rule to make target 'out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar', needed by 'out/target/common/obj/PACKAGING/boot-jars-package-check_intermediates/stamp'. Pare.
make: ** Esperando que outros processos terminem.
host StaticLib: libziparchive-host (out/host/linux-x86/obj/STATIC_LIBRARIES/libziparchive-host_intermediates/libziparchive-host.a)
host StaticLib: libbase (out/host/linux-x86/obj/STATIC_LIBRARIES/libbase_intermediates/libbase.a)
#### make failed to build some targets (02:55 (mm:ss)