[Android] tecno789:
got some errors :crying::crying: how can i fix them?

frameworks/base/media/jni/android_mtp_MtpDatabase.cpp: In member function 'virtual android::MtpResponseCode MyMtpDatabase::setObjectPropertyValue(android::MtpObjectHandle, android::MtpObjectProperty, android::MtpDataPacket&)':
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:485:40: error: no matching function for call to 'android::MtpDataPacket::getInt8()'
longValue = packet.getInt8();
^
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:485:40: note: candidate is:
In file included from frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:33:0:
frameworks/av/media/mtp/MtpDataPacket.h:47:25: note: bool android::MtpDataPacket::getInt8(int8_t&)
inline bool getInt8(int8_t& value) { return getUInt8((uint8_t&)value); }
^
frameworks/av/media/mtp/MtpDataPacket.h:47:25: note: candidate expects 1 argument, 0 provided
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:488:41: error: no matching function for call to 'android::MtpDataPacket::getUInt8()'
longValue = packet.getUInt8();
^
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:488:41: note: candidate is:
In file included from frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:33:0:
frameworks/av/media/mtp/MtpDataPacket.h:46:25: note: bool android::MtpDataPacket::getUInt8(uint8_t&)
bool getUInt8(uint8_t& value);
^
frameworks/av/media/mtp/MtpDataPacket.h:46:25: note: candidate expects 1 argument, 0 provided
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:491:41: error: no matching function for call to 'android::MtpDataPacket::getInt16()'
longValue = packet.getInt16();
^
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:491:41: note: candidate is:
In file included from frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:33:0:
frameworks/av/media/mtp/MtpDataPacket.h:49:25: note: bool android::MtpDataPacket::getInt16(int16_t&)
inline bool getInt16(int16_t& value) { return getUInt16((uint16_t&)value); }
^
frameworks/av/media/mtp/MtpDataPacket.h:49:25: note: candidate expects 1 argument, 0 provided
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:494:42: error: no matching function for call to 'android::MtpDataPacket::getUInt16()'
longValue = packet.getUInt16();
^
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:494:42: note: candidate is:
In file included from frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:33:0:
frameworks/av/media/mtp/MtpDataPacket.h:48:25: note: bool android::MtpDataPacket::getUInt16(uint16_t&)
bool getUInt16(uint16_t& value);
^
frameworks/av/media/mtp/MtpDataPacket.h:48:25: note: candidate expects 1 argument, 0 provided
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:497:41: error: no matching function for call to 'android::MtpDataPacket::getInt32()'
longValue = packet.getInt32();
^
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:497:41: note: candidate is:
In file included from frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:33:0:
frameworks/av/media/mtp/MtpDataPacket.h:51:25: note: bool android::MtpDataPacket::getInt32(int32_t&)
inline bool getInt32(int32_t& value) { return getUInt32((uint32_t&)value); }
^
frameworks/av/media/mtp/MtpDataPacket.h:51:25: note: candidate expects 1 argument, 0 provided
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:500:42: error: no matching function for call to 'android::MtpDataPacket::getUInt32()'
longValue = packet.getUInt32();
^
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:500:42: note: candidate is:
In file included from frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:33:0:
frameworks/av/media/mtp/MtpDataPacket.h:50:25: note: bool android::MtpDataPacket::getUInt32(uint32_t&)
bool getUInt32(uint32_t& value);
^
frameworks/av/media/mtp/MtpDataPacket.h:50:25: note: candidate expects 1 argument, 0 provided
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:503:41: error: no matching function for call to 'android::MtpDataPacket::getInt64()'
longValue = packet.getInt64();
^
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:503:41: note: candidate is:
In file included from frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:33:0:
frameworks/av/media/mtp/MtpDataPacket.h:53:25: note: bool android::MtpDataPacket::getInt64(int64_t&)
inline bool getInt64(int64_t& value) { return getUInt64((uint64_t&)value); }
^
frameworks/av/media/mtp/MtpDataPacket.h:53:25: note: candidate expects 1 argument, 0 provided
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:506:42: error: no matching function for call to 'android::MtpDataPacket::getUInt64()'
longValue = packet.getUInt64();
^
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:506:42: note: candidate is:
In file included from frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:33:0:
frameworks/av/media/mtp/MtpDataPacket.h:52:25: note: bool android::MtpDataPacket::getUInt64(uint64_t&)
bool getUInt64(uint64_t& value);
^
frameworks/av/media/mtp/MtpDataPacket.h:52:25: note: candidate expects 1 argument, 0 provided
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp: In member function 'virtual android::MtpResponseCode MyMtpDatabase::setDevicePropertyValue(android::MtpDeviceProperty, android::MtpDataPacket&)':
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:615:40: error: no matching function for call to 'android::MtpDataPacket::getInt8()'
longValue = packet.getInt8();
^
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:615:40: note: candidate is:
In file included from frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:33:0:
frameworks/av/media/mtp/MtpDataPacket.h:47:25: note: bool android::MtpDataPacket::getInt8(int8_t&)
inline bool getInt8(int8_t& value) { return getUInt8((uint8_t&)value); }
^
frameworks/av/media/mtp/MtpDataPacket.h:47:25: note: candidate expects 1 argument, 0 provided
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:618:41: error: no matching function for call to 'android::MtpDataPacket::getUInt8()'
longValue = packet.getUInt8();
^
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:618:41: note: candidate is:
In file included from frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:33:0:
frameworks/av/media/mtp/MtpDataPacket.h:46:25: note: bool android::MtpDataPacket::getUInt8(uint8_t&)
bool getUInt8(uint8_t& value);
^
frameworks/av/media/mtp/MtpDataPacket.h:46:25: note: candidate expects 1 argument, 0 provided
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:621:41: error: no matching function for call to 'android::MtpDataPacket::getInt16()'
longValue = packet.getInt16();
^
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:621:41: note: candidate is:
In file included from frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:33:0:
frameworks/av/media/mtp/MtpDataPacket.h:49:25: note: bool android::MtpDataPacket::getInt16(int16_t&)
inline bool getInt16(int16_t& value) { return getUInt16((uint16_t&)value); }
^
frameworks/av/media/mtp/MtpDataPacket.h:49:25: note: candidate expects 1 argument, 0 provided
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:624:42: error: no matching function for call to 'android::MtpDataPacket::getUInt16()'
longValue = packet.getUInt16();
^
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:624:42: note: candidate is:
In file included from frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:33:0:
frameworks/av/media/mtp/MtpDataPacket.h:48:25: note: bool android::MtpDataPacket::getUInt16(uint16_t&)
bool getUInt16(uint16_t& value);
^
frameworks/av/media/mtp/MtpDataPacket.h:48:25: note: candidate expects 1 argument, 0 provided
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:627:41: error: no matching function for call to 'android::MtpDataPacket::getInt32()'
longValue = packet.getInt32();
^
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:627:41: note: candidate is:
In file included from frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:33:0:
frameworks/av/media/mtp/MtpDataPacket.h:51:25: note: bool android::MtpDataPacket::getInt32(int32_t&)
inline bool getInt32(int32_t& value) { return getUInt32((uint32_t&)value); }
^
frameworks/av/media/mtp/MtpDataPacket.h:51:25: note: candidate expects 1 argument, 0 provided
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:630:42: error: no matching function for call to 'android::MtpDataPacket::getUInt32()'
longValue = packet.getUInt32();
^
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:630:42: note: candidate is:
In file included from frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:33:0:
frameworks/av/media/mtp/MtpDataPacket.h:50:25: note: bool android::MtpDataPacket::getUInt32(uint32_t&)
bool getUInt32(uint32_t& value);
^
frameworks/av/media/mtp/MtpDataPacket.h:50:25: note: candidate expects 1 argument, 0 provided
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:633:41: error: no matching function for call to 'android::MtpDataPacket::getInt64()'
longValue = packet.getInt64();
^
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:633:41: note: candidate is:
In file included from frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:33:0:
frameworks/av/media/mtp/MtpDataPacket.h:53:25: note: bool android::MtpDataPacket::getInt64(int64_t&)
inline bool getInt64(int64_t& value) { return getUInt64((uint64_t&)value); }
^
frameworks/av/media/mtp/MtpDataPacket.h:53:25: note: candidate expects 1 argument, 0 provided
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:636:42: error: no matching function for call to 'android::MtpDataPacket::getUInt64()'
longValue = packet.getUInt64();
^
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:636:42: note: candidate is:
In file included from frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:33:0:
frameworks/av/media/mtp/MtpDataPacket.h:52:25: note: bool android::MtpDataPacket::getUInt64(uint64_t&)
bool getUInt64(uint64_t& value);
^
frameworks/av/media/mtp/MtpDataPacket.h:52:25: note: candidate expects 1 argument, 0 provided
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp: At global scope:
frameworks/base/media/jni/android_mtp_MtpDatabase.cpp:764:13: warning: unused parameter 'user' [-Wunused-parameter]
static void foreachentry(ExifEntry *entry, void *user) {
^
make: *** [/home/customer/aokp/out/target/product/g2m/obj/SHARED_LIBRARIES/libmedia_jni_intermediates/android_mtp_MtpDatabase.o] Error 1

#### make failed to build some targets (05:52:06 (hh:mm:ss)) ####