[Android Q&A, Help & Troubleshooting] qqlizhn:
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....