【已解决】 Ubuntu编译Android 5.1.0出错
Note: packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/DialogSmsDisplayTests.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. target Symbolic: keystore (out/target/product/generic_x86/symbols/system/bin/keystore) out/target/common/obj/PACKAGING/public_api.txt:20: error 5: Added public field android.Manifest.permission.BACKUP out/target/common/obj/PACKAGING/public_api.txt:82: error 5: Added public field android.Manifest.permission.INVOKE_CARRIER_SETUP out/target/common/obj/PACKAGING/public_api.txt:106: error 5: Added public field android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE out/target/common/obj/PACKAGING/public_api.txt:116: error 5: Added public field android.Manifest.permission.RECEIVE_EMERGENCY_BROADCAST ****************************** You have tried to change the API from what has been previously approved. To make these errors go away, you have two choices: 1) You can add "@hide" javadoc comments to the methods, etc. listed in the errors above. 2) You can update current.txt by executing the following command: make update-api To submit the revised current.txt to the main Android repository, you will need approval. ****************************** build/core/tasks/apicheck.mk:62: recipe for target 'out/target/common/obj/PACKAGING/checkpublicapi-current-timestamp' failed make: *** [out/target/common/obj/PACKAGING/checkpublicapi-current-timestamp] Error 38 make: *** Waiting for unfinished jobs.... out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/android/animation/PropertyValuesHolder.java:10: warning: [unchecked] Possible heap pollution from parameterized vararg type V public static <V> android.animation.PropertyValuesHolder ofMultiInt(java.lang.String propertyName, android.animation.TypeConverter<V, int[]> converter, android.animation.TypeEvaluator<V> evaluator, V... values) { throw new RuntimeException("Stub!"); } ^ where V is a type-variable: V extends Object declared in method <V>ofMultiInt(String,TypeConverter<V,int[]>,TypeEvaluator<V>,V...) out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/android/animation/PropertyValuesHolder.java:16: warning: [unchecked] Possible heap pollution from parameterized vararg type V public static <V> android.animation.PropertyValuesHolder ofMultiFloat(java.lang.String propertyName, android.animation.TypeConverter<V, float[]> converter, android.animation.TypeEvaluator<V> evaluator, V... values) { throw new RuntimeException("Stub!"); } ^ where V is a type-variable: V extends Object declared in method <V>ofMultiFloat(String,TypeConverter<V,float[]>,TypeEvaluator<V>,V...) out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/android/animation/PropertyValuesHolder.java:20: warning: [unchecked] Possible heap pollution from parameterized vararg type V public static <V> android.animation.PropertyValuesHolder ofObject(android.util.Property property, android.animation.TypeEvaluator<V> evaluator, V... values) { throw new RuntimeException("Stub!"); } ^ where V is a type-variable: V extends Object declared in method <V>ofObject(Property,TypeEvaluator<V>,V...) out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/android/animation/PropertyValuesHolder.java:21: warning: [unchecked] Possible heap pollution from parameterized vararg type T public static <T, V> android.animation.PropertyValuesHolder ofObject(android.util.Property<?, V> property, android.animation.TypeConverter<T, V> converter, android.animation.TypeEvaluator<T> evaluator, T... values) { throw new RuntimeException("Stub!"); } ^ where T,V are type-variables: T extends Object declared in method <T,V>ofObject(Property<?,V>,TypeConverter<T,V>,TypeEvaluator<T>,T...) V extends Object declared in method <T,V>ofObject(Property<?,V>,TypeConverter<T,V>,TypeEvaluator<T>,T...) out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/android/os/AsyncTask.java:12: warning: [unchecked] Possible heap pollution from parameterized vararg type Params protected abstract Result doInBackground(Params... params); ^ where Params is a type-variable: Params extends Object declared in class AsyncTask out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/android/os/AsyncTask.java:17: warning: [unchecked] Possible heap pollution from parameterized vararg type Progress protected void onProgressUpdate(Progress... values) { throw new RuntimeException("Stub!"); } ^ where Progress is a type-variable: Progress extends Object declared in class AsyncTask out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/android/os/AsyncTask.java:25: warning: [unchecked] Possible heap pollution from parameterized vararg type Params public final android.os.AsyncTask<Params, Progress, Result> execute(Params... params) { throw new RuntimeException("Stub!"); } ^ where Params is a type-variable: Params extends Object declared in class AsyncTask out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/android/os/AsyncTask.java:26: warning: [unchecked] Possible heap pollution from parameterized vararg type Params public final android.os.AsyncTask<Params, Progress, Result> executeOnExecutor(java.util.concurrent.Executor exec, Params... params) { throw new RuntimeException("Stub!"); } ^ where Params is a type-variable: Params extends Object declared in class AsyncTask out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/android/os/AsyncTask.java:28: warning: [unchecked] Possible heap pollution from parameterized vararg type Progress protected final void publishProgress(Progress... values) { throw new RuntimeException("Stub!"); } ^ where Progress is a type-variable: Progress extends Object declared in class AsyncTask out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/android/animation/ObjectAnimator.java:15: warning: [unchecked] Possible heap pollution from parameterized vararg type T public static <T> android.animation.ObjectAnimator ofMultiInt(java.lang.Object target, java.lang.String propertyName, android.animation.TypeConverter<T, int[]> converter, android.animation.TypeEvaluator<T> evaluator, T... values) { throw new RuntimeException("Stub!"); } ^ where T is a type-variable: T extends Object declared in method <T>ofMultiInt(Object,String,TypeConverter<T,int[]>,TypeEvaluator<T>,T...) out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/android/animation/ObjectAnimator.java:24: warning: [unchecked] Possible heap pollution from parameterized vararg type T public static <T> android.animation.ObjectAnimator ofMultiFloat(java.lang.Object target, java.lang.String propertyName, android.animation.TypeConverter<T, float[]> converter, android.animation.TypeEvaluator<T> evaluator, T... values) { throw new RuntimeException("Stub!"); } ^ where T is a type-variable: T extends Object declared in method <T>ofMultiFloat(Object,String,TypeConverter<T,float[]>,TypeEvaluator<T>,T...) out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/android/animation/ObjectAnimator.java:27: warning: [unchecked] Possible heap pollution from parameterized vararg type V public static <T, V> android.animation.ObjectAnimator ofObject(T target, android.util.Property<T, V> property, android.animation.TypeEvaluator<V> evaluator, V... values) { throw new RuntimeException("Stub!"); } ^ where V,T are type-variables: V extends Object declared in method <T,V>ofObject(T,Property<T,V>,TypeEvaluator<V>,V...) T extends Object declared in method <T,V>ofObject(T,Property<T,V>,TypeEvaluator<V>,V...) out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/android/animation/ObjectAnimator.java:28: warning: [unchecked] Possible heap pollution from parameterized vararg type V public static <T, V, P> android.animation.ObjectAnimator ofObject(T target, android.util.Property<T, P> property, android.animation.TypeConverter<V, P> converter, android.animation.TypeEvaluator<V> evaluator, V... values) { throw new RuntimeException("Stub!"); } ^ where V,T,P are type-variables: V extends Object declared in method <T,V,P>ofObject(T,Property<T,P>,TypeConverter<V,P>,TypeEvaluator<V>,V...) T extends Object declared in method <T,V,P>ofObject(T,Property<T,P>,TypeConverter<V,P>,TypeEvaluator<V>,V...) P extends Object declared in method <T,V,P>ofObject(T,Property<T,P>,TypeConverter<V,P>,TypeEvaluator<V>,V...) out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/android/widget/ArrayAdapter.java:14: warning: [unchecked] Possible heap pollution from parameterized vararg type T public void addAll(T... items) { throw new RuntimeException("Stub!"); } ^ where T is a type-variable: T extends Object declared in class ArrayAdapter out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/android/test/suitebuilder/TestSuiteBuilder.java:19: warning: [unchecked] Possible heap pollution from parameterized vararg type Predicate<TestMethod> public final android.test.suitebuilder.TestSuiteBuilder addRequirements(com.android.internal.util.Predicate<android.test.suitebuilder.TestMethod>... predicates) { throw new RuntimeException("Stub!"); } ^ out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/android/animation/BidirectionalTypeConverter.java:5: warning: [unchecked] unchecked conversion public BidirectionalTypeConverter(java.lang.Class<T> fromClass, java.lang.Class<V> toClass) { super((java.lang.Class)null,(java.lang.Class)null); throw new RuntimeException("Stub!"); } ^ required: Class<T> found: Class where T is a type-variable: T extends Object declared in class BidirectionalTypeConverter out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/android/animation/BidirectionalTypeConverter.java:5: warning: [unchecked] unchecked conversion public BidirectionalTypeConverter(java.lang.Class<T> fromClass, java.lang.Class<V> toClass) { super((java.lang.Class)null,(java.lang.Class)null); throw new RuntimeException("Stub!"); } ^ required: Class<V> found: Class where V is a type-variable: V extends Object declared in class BidirectionalTypeConverter out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src/android/animation/PropertyValuesHolder.java:10: warning: [unchecked] Possible heap pollution from parameterized vararg type V public static <V> android.animation.PropertyValuesHolder ofMultiInt(java.lang.String propertyName, android.animation.TypeConverter<V, int[]> converter, android.animation.TypeEvaluator<V> evaluator, V... values) { throw new RuntimeException("Stub!"); } ^ where V is a type-variable: V extends Object declared in method <V>ofMultiInt(String,TypeConverter<V,int[]>,TypeEvaluator<V>,V...) out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src/android/animation/PropertyValuesHolder.java:16: warning: [unchecked] Possible heap pollution from parameterized vararg type V public static <V> android.animation.PropertyValuesHolder ofMultiFloat(java.lang.String propertyName, android.animation.TypeConverter<V, float[]> converter, android.animation.TypeEvaluator<V> evaluator, V... values) { throw new RuntimeException("Stub!"); } ^ where V is a type-variable: V extends Object declared in method <V>ofMultiFloat(String,TypeConverter<V,float[]>,TypeEvaluator<V>,V...) out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src/android/animation/PropertyValuesHolder.java:20: warning: [unchecked] Possible heap pollution from parameterized vararg type V public static <V> android.animation.PropertyValuesHolder ofObject(android.util.Property property, android.animation.TypeEvaluator<V> evaluator, V... values) { throw new RuntimeException("Stub!"); } ^ where V is a type-variable: V extends Object declared in method <V>ofObject(Property,TypeEvaluator<V>,V...) out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src/android/animation/PropertyValuesHolder.java:21: warning: [unchecked] Possible heap pollution from parameterized vararg type T public static <T, V> android.animation.PropertyValuesHolder ofObject(android.util.Property<?, V> property, android.animation.TypeConverter<T, V> converter, android.animation.TypeEvaluator<T> evaluator, T... values) { throw new RuntimeException("Stub!"); } ^ where T,V are type-variables: T extends Object declared in method <T,V>ofObject(Property<?,V>,TypeConverter<T,V>,TypeEvaluator<T>,T...) V extends Object declared in method <T,V>ofObject(Property<?,V>,TypeConverter<T,V>,TypeEvaluator<T>,T...) out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/android/app/ActivityOptions.java:9: warning: [unchecked] Possible heap pollution from parameterized vararg type Pair<View,String> public static android.app.ActivityOptions makeSceneTransitionAnimation(android.app.Activity activity, android.util.Pair<android.view.View, java.lang.String>... sharedElements) { throw new RuntimeException("Stub!"); } ^ out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src/android/app/ActivityOptions.java:9: warning: [unchecked] Possible heap pollution from parameterized vararg type Pair<View,String> public static android.app.ActivityOptions makeSceneTransitionAnimation(android.app.Activity activity, android.util.Pair<android.view.View, java.lang.String>... sharedElements) { throw new RuntimeException("Stub!"); } ^ out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/security/cert/PKIXBuilderParameters.java:5: warning: [unchecked] unchecked conversion public PKIXBuilderParameters(java.util.Set<java.security.cert.TrustAnchor> trustAnchors, java.security.cert.CertSelector targetConstraints) throws java.security.InvalidAlgorithmParameterException { super((java.util.Set)null); throw new RuntimeException("Stub!"); } ^ required: Set<TrustAnchor> found: Set out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/util/concurrent/ScheduledThreadPoolExecutor.java:6: warning: [unchecked] unchecked conversion public ScheduledThreadPoolExecutor(int corePoolSize) { super(0,0,0,(java.util.concurrent.TimeUnit)null,(java.util.concurrent.BlockingQueue)null,(java.util.concurrent.ThreadFactory)null,(java.util.concurrent.RejectedExecutionHandler)null); throw new RuntimeException("Stub!"); } ^ required: BlockingQueue<Runnable> found: BlockingQueue out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/util/concurrent/ScheduledThreadPoolExecutor.java:7: warning: [unchecked] unchecked conversion public ScheduledThreadPoolExecutor(int corePoolSize, java.util.concurrent.ThreadFactory threadFactory) { super(0,0,0,(java.util.concurrent.TimeUnit)null,(java.util.concurrent.BlockingQueue)null,(java.util.concurrent.ThreadFactory)null,(java.util.concurrent.RejectedExecutionHandler)null); throw new RuntimeException("Stub!"); } ^ required: BlockingQueue<Runnable> found: BlockingQueue out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/util/concurrent/ScheduledThreadPoolExecutor.java:8: warning: [unchecked] unchecked conversion public ScheduledThreadPoolExecutor(int corePoolSize, java.util.concurrent.RejectedExecutionHandler handler) { super(0,0,0,(java.util.concurrent.TimeUnit)null,(java.util.concurrent.BlockingQueue)null,(java.util.concurrent.ThreadFactory)null,(java.util.concurrent.RejectedExecutionHandler)null); throw new RuntimeException("Stub!"); } ^ required: BlockingQueue<Runnable> found: BlockingQueue out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/util/concurrent/ScheduledThreadPoolExecutor.java:9: warning: [unchecked] unchecked conversion public ScheduledThreadPoolExecutor(int corePoolSize, java.util.concurrent.ThreadFactory threadFactory, java.util.concurrent.RejectedExecutionHandler handler) { super(0,0,0,(java.util.concurrent.TimeUnit)null,(java.util.concurrent.BlockingQueue)null,(java.util.concurrent.ThreadFactory)null,(java.util.concurrent.RejectedExecutionHandler)null); throw new RuntimeException("Stub!"); } ^ required: BlockingQueue<Runnable> found: BlockingQueue out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src/android/os/AsyncTask.java:12: warning: [unchecked] Possible heap pollution from parameterized vararg type Params protected abstract Result doInBackground(Params... params); ^ where Params is a type-variable: Params extends Object declared in class AsyncTask out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src/android/os/AsyncTask.java:17: warning: [unchecked] Possible heap pollution from parameterized vararg type Progress protected void onProgressUpdate(Progress... values) { throw new RuntimeException("Stub!"); } ^ where Progress is a type-variable: Progress extends Object declared in class AsyncTask out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src/android/os/AsyncTask.java:25: warning: [unchecked] Possible heap pollution from parameterized vararg type Params public final android.os.AsyncTask<Params, Progress, Result> execute(Params... params) { throw new RuntimeException("Stub!"); } ^ where Params is a type-variable: Params extends Object declared in class AsyncTask out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src/android/os/AsyncTask.java:26: warning: [unchecked] Possible heap pollution from parameterized vararg type Params public final android.os.AsyncTask<Params, Progress, Result> executeOnExecutor(java.util.concurrent.Executor exec, Params... params) { throw new RuntimeException("Stub!"); } ^ where Params is a type-variable: Params extends Object declared in class AsyncTask out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src/android/os/AsyncTask.java:28: warning: [unchecked] Possible heap pollution from parameterized vararg type Progress protected final void publishProgress(Progress... values) { throw new RuntimeException("Stub!"); } ^ where Progress is a type-variable: Progress extends Object declared in class AsyncTask out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/org/apache/http/impl/conn/tsccm/BasicPoolEntryRef.java:6: warning: [unchecked] unchecked conversion public BasicPoolEntryRef(org.apache.http.impl.conn.tsccm.BasicPoolEntry entry, java.lang.ref.ReferenceQueue<java.lang.Object> queue) { super(null,(java.lang.ref.ReferenceQueue)null); throw new RuntimeException("Stub!"); } ^ required: ReferenceQueue<? super BasicPoolEntry> found: ReferenceQueue Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 24 warnings out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src/android/animation/ObjectAnimator.java:15: warning: [unchecked] Possible heap pollution from parameterized vararg type T public static <T> android.animation.ObjectAnimator ofMultiInt(java.lang.Object target, java.lang.String propertyName, android.animation.TypeConverter<T, int[]> converter, android.animation.TypeEvaluator<T> evaluator, T... values) { throw new RuntimeException("Stub!"); } ^ where T is a type-variable: T extends Object declared in method <T>ofMultiInt(Object,String,TypeConverter<T,int[]>,TypeEvaluator<T>,T...) out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src/android/animation/ObjectAnimator.java:24: warning: [unchecked] Possible heap pollution from parameterized vararg type T public static <T> android.animation.ObjectAnimator ofMultiFloat(java.lang.Object target, java.lang.String propertyName, android.animation.TypeConverter<T, float[]> converter, android.animation.TypeEvaluator<T> evaluator, T... values) { throw new RuntimeException("Stub!"); } ^ where T is a type-variable: T extends Object declared in method <T>ofMultiFloat(Object,String,TypeConverter<T,float[]>,TypeEvaluator<T>,T...) out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src/android/animation/ObjectAnimator.java:27: warning: [unchecked] Possible heap pollution from parameterized vararg type V public static <T, V> android.animation.ObjectAnimator ofObject(T target, android.util.Property<T, V> property, android.animation.TypeEvaluator<V> evaluator, V... values) { throw new RuntimeException("Stub!"); } ^ where V,T are type-variables: V extends Object declared in method <T,V>ofObject(T,Property<T,V>,TypeEvaluator<V>,V...) T extends Object declared in method <T,V>ofObject(T,Property<T,V>,TypeEvaluator<V>,V...) out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src/android/animation/ObjectAnimator.java:28: warning: [unchecked] Possible heap pollution from parameterized vararg type V public static <T, V, P> android.animation.ObjectAnimator ofObject(T target, android.util.Property<T, P> property, android.animation.TypeConverter<V, P> converter, android.animation.TypeEvaluator<V> evaluator, V... values) { throw new RuntimeException("Stub!"); } ^ where V,T,P are type-variables: V extends Object declared in method <T,V,P>ofObject(T,Property<T,P>,TypeConverter<V,P>,TypeEvaluator<V>,V...) T extends Object declared in method <T,V,P>ofObject(T,Property<T,P>,TypeConverter<V,P>,TypeEvaluator<V>,V...) P extends Object declared in method <T,V,P>ofObject(T,Property<T,P>,TypeConverter<V,P>,TypeEvaluator<V>,V...) out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src/android/widget/ArrayAdapter.java:14: warning: [unchecked] Possible heap pollution from parameterized vararg type T public void addAll(T... items) { throw new RuntimeException("Stub!"); } ^ where T is a type-variable: T extends Object declared in class ArrayAdapter out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src/android/test/suitebuilder/TestSuiteBuilder.java:19: warning: [unchecked] Possible heap pollution from parameterized vararg type Predicate<TestMethod> public final android.test.suitebuilder.TestSuiteBuilder addRequirements(com.android.internal.util.Predicate<android.test.suitebuilder.TestMethod>... predicates) { throw new RuntimeException("Stub!"); } ^ out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src/android/animation/BidirectionalTypeConverter.java:5: warning: [unchecked] unchecked conversion public BidirectionalTypeConverter(java.lang.Class<T> fromClass, java.lang.Class<V> toClass) { super((java.lang.Class)null,(java.lang.Class)null); throw new RuntimeException("Stub!"); } ^ required: Class<T> found: Class where T is a type-variable: T extends Object declared in class BidirectionalTypeConverter out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src/android/animation/BidirectionalTypeConverter.java:5: warning: [unchecked] unchecked conversion public BidirectionalTypeConverter(java.lang.Class<T> fromClass, java.lang.Class<V> toClass) { super((java.lang.Class)null,(java.lang.Class)null); throw new RuntimeException("Stub!"); } ^ required: Class<V> found: Class where V is a type-variable: V extends Object declared in class BidirectionalTypeConverter out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src/java/security/cert/PKIXBuilderParameters.java:5: warning: [unchecked] unchecked conversion public PKIXBuilderParameters(java.util.Set<java.security.cert.TrustAnchor> trustAnchors, java.security.cert.CertSelector targetConstraints) throws java.security.InvalidAlgorithmParameterException { super((java.util.Set)null); throw new RuntimeException("Stub!"); } ^ required: Set<TrustAnchor> found: Set out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src/java/util/concurrent/ScheduledThreadPoolExecutor.java:6: warning: [unchecked] unchecked conversion public ScheduledThreadPoolExecutor(int corePoolSize) { super(0,0,0,(java.util.concurrent.TimeUnit)null,(java.util.concurrent.BlockingQueue)null,(java.util.concurrent.ThreadFactory)null,(java.util.concurrent.RejectedExecutionHandler)null); throw new RuntimeException("Stub!"); } ^ required: BlockingQueue<Runnable> found: BlockingQueue out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src/java/util/concurrent/ScheduledThreadPoolExecutor.java:7: warning: [unchecked] unchecked conversion public ScheduledThreadPoolExecutor(int corePoolSize, java.util.concurrent.ThreadFactory threadFactory) { super(0,0,0,(java.util.concurrent.TimeUnit)null,(java.util.concurrent.BlockingQueue)null,(java.util.concurrent.ThreadFactory)null,(java.util.concurrent.RejectedExecutionHandler)null); throw new RuntimeException("Stub!"); } ^ required: BlockingQueue<Runnable> found: BlockingQueue out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src/java/util/concurrent/ScheduledThreadPoolExecutor.java:8: warning: [unchecked] unchecked conversion public ScheduledThreadPoolExecutor(int corePoolSize, java.util.concurrent.RejectedExecutionHandler handler) { super(0,0,0,(java.util.concurrent.TimeUnit)null,(java.util.concurrent.BlockingQueue)null,(java.util.concurrent.ThreadFactory)null,(java.util.concurrent.RejectedExecutionHandler)null); throw new RuntimeException("Stub!"); } ^ required: BlockingQueue<Runnable> found: BlockingQueue out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src/java/util/concurrent/ScheduledThreadPoolExecutor.java:9: warning: [unchecked] unchecked conversion public ScheduledThreadPoolExecutor(int corePoolSize, java.util.concurrent.ThreadFactory threadFactory, java.util.concurrent.RejectedExecutionHandler handler) { super(0,0,0,(java.util.concurrent.TimeUnit)null,(java.util.concurrent.BlockingQueue)null,(java.util.concurrent.ThreadFactory)null,(java.util.concurrent.RejectedExecutionHandler)null); throw new RuntimeException("Stub!"); } ^ required: BlockingQueue<Runnable> found: BlockingQueue out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src/org/apache/http/impl/conn/tsccm/BasicPoolEntryRef.java:6: warning: [unchecked] unchecked conversion public BasicPoolEntryRef(org.apache.http.impl.conn.tsccm.BasicPoolEntry entry, java.lang.ref.ReferenceQueue<java.lang.Object> queue) { super(null,(java.lang.ref.ReferenceQueue)null); throw new RuntimeException("Stub!"); } ^ required: ReferenceQueue<? super BasicPoolEntry> found: ReferenceQueue Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 24 warnings #### make failed to build some targets (05:05 (mm:ss)) #### aosp@ubuntu:~/android/android-5.1.0_r3$
感谢您的回答
您的每一个用心回答,都会让这个世界变得更美好一些!
相关问题
kissmyass ·
Androidstudio
2019-12-18 06:26 847 3
2019-12-21 22:25 821 10
make update-api