我正在构建4.4.3 ROM并遇到此错误
frameworks/opt/telephony/src/java/android/telephony/SmsManager.java:165: sendTextWithOptions(java.lang.String,java.lang.String,java.lang.String,java.lang.String,android.app.PendingIntent,android.app.PendingIntent,int) in com.android.internal.telephony.ISms cannot be applied to (java.lang.String,java.lang.String,java.lang.String,java.lang.String,android.app.PendingIntent,android.app.PendingIntent,int,boolean,int)
iccISms.sendTextWithOptions(ActivityThread.currentPackageName(),
^
frameworks/opt/telephony/src/java/android/telephony/SmsManager.java:326: sendMultipartTextWithOptions(java.lang.String,java.lang.String,java.lang.String,java.util.List<java.lang.String>,java.util.List<android.app.PendingIntent>,java.util.List<android.app.PendingIntent>,int) in com.android.internal.telephony.ISms cannot be applied to (java.lang.String,java.lang.String,java.lang.String,java.util.ArrayList<java.lang.String>,java.util.ArrayList<android.app.PendingIntent>,java.util.ArrayList<android.app.PendingIntent>,int,boolean,int)
iccISms.sendMultipartTextWithOptions(ActivityThread.currentPackageName(),
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/IccSmsInterfaceManager.java:58: com.android.internal.telephony.IccSmsInterfaceManager is not abstract and does not override abstract method sendMultipartTextWithOptions(java.lang.String,java.lang.String,java.lang.String,java.util.List<java.lang.String>,java.util.List<android.app.PendingIntent>,java.util.List<android.app.PendingIntent>,int) in com.android.internal.telephony.ISms
public class IccSmsInterfaceManager extends ISms.Stub {
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/IccSmsInterfaceManager.java:490: method does not override or implement a method from a supertype
@Override
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/IccSmsInterfaceManager.java:596: method does not override or implement a method from a supertype
@Override
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/IccSmsInterfaceManagerProxy.java:38: com.android.internal.telephony.IccSmsInterfaceManagerProxy is not abstract and does not override abstract method sendMultipartTextWithOptions(java.lang.String,java.lang.String,java.lang.String,java.util.List<java.lang.String>,java.util.List<android.app.PendingIntent>,java.util.List<android.app.PendingIntent>,int) in com.android.internal.telephony.ISms
public class IccSmsInterfaceManagerProxy extends ISms.Stub {
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/IccSmsInterfaceManagerProxy.java:201: method does not override or implement a method from a supertype
@Override
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/IccSmsInterfaceManagerProxy.java:242: method does not override or implement a method from a supertype
@Override
^
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.
8 errors
make: *** [/home/thatkawaiiguy/Axxion/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs...
我已经检查了ROM管理的每个仓库而不是CM,它们都已更新到4.4.3。所有电话回购都来自CM。
那么有人可以帮我解决这个错误吗? 我的消息来源是www.github.com/AxxionKat
答案 0 :(得分:0)
如果您正在使用CM进行电话和framework_base,请确保您同时拥有这两项提交:
https://github.com/CyanogenMod/android_frameworks_base/tree/a9fa542b1b1782152ab143a7818ee7f9f05c525b
它们彼此依赖,所以如果你有电话提交而不是frameworks_base提交,那么在构建时它将失败并出现该错误。