Created
November 14, 2015 18:36
-
-
Save faddat/fbe2b4c823e2a4c19af7 to your computer and use it in GitHub Desktop.
Cyanogenmod build error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Install: /home/faddat/cyanogen-12.1/out/target/product/Z00A/system/lib/liblog.so | |
| Install: /home/faddat/cyanogen-12.1/out/target/product/Z00A/system/lib/libgccdemangle.so | |
| Install: /home/faddat/cyanogen-12.1/out/target/product/Z00A/system/lib/libstlport.so | |
| Install: /home/faddat/cyanogen-12.1/out/target/product/Z00A/system/lib/libunwind.so | |
| Install: /home/faddat/cyanogen-12.1/out/target/product/Z00A/root/init | |
| frameworks/testing/runner/src/main/java/android/support/test/internal/runner/ClassPathScanner.java:19: error: package android.support.annotation does not exist | |
| import android.support.annotation.VisibleForTesting; | |
| ^ | |
| frameworks/testing/runner/src/main/java/android/support/test/internal/runner/ClassPathScanner.java:38: error: cannot find symbol | |
| @VisibleForTesting | |
| ^ | |
| symbol: class VisibleForTesting | |
| frameworks/testing/runner/src/main/java/android/support/test/internal/runner/intent/IntentMonitorImpl.java:21: error: package android.support.annotation does not exist | |
| import android.support.annotation.NonNull; | |
| ^ | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:21: error: cannot find symbol | |
| import android.app.Fragment; | |
| ^ | |
| symbol: class Fragment | |
| location: package android.app | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:33: error: package android.support.test.internal.runner.hidden does not exist | |
| import android.support.test.internal.runner.hidden.ExposedInstrumentationApi; | |
| ^ | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:88: error: cannot find symbol | |
| public class MonitoringInstrumentation extends ExposedInstrumentationApi { | |
| ^ | |
| symbol: class ExposedInstrumentationApi | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:375: error: cannot find symbol | |
| public ActivityResult execStartActivity( | |
| ^ | |
| symbol: class ActivityResult | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:392: error: cannot find symbol | |
| public ActivityResult execStartActivity( | |
| ^ | |
| symbol: class ActivityResult | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:429: error: cannot find symbol | |
| Context who, IBinder contextThread, IBinder token, Fragment target, | |
| ^ | |
| symbol: class Fragment | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:428: error: cannot find symbol | |
| public ActivityResult execStartActivity( | |
| ^ | |
| symbol: class ActivityResult | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:454: error: cannot find symbol | |
| private ActivityResult stubResultFor(Intent intent) { | |
| ^ | |
| symbol: class ActivityResult | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:441: error: cannot find symbol | |
| private static class StubResultCallable implements Callable<ActivityResult> { | |
| ^ | |
| symbol: class ActivityResult | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:449: error: cannot find symbol | |
| public ActivityResult call() { | |
| ^ | |
| symbol: class ActivityResult | |
| location: class StubResultCallable | |
| frameworks/testing/runner/src/main/java/android/support/test/internal/runner/intent/IntentMonitorImpl.java:54: error: cannot find symbol | |
| public void addIntentCallback(@NonNull IntentCallback callback) { | |
| ^ | |
| symbol: class NonNull | |
| location: class IntentMonitorImpl | |
| frameworks/testing/runner/src/main/java/android/support/test/internal/runner/intent/IntentMonitorImpl.java:77: error: cannot find symbol | |
| public void removeIntentCallback(@NonNull IntentCallback callback) { | |
| ^ | |
| symbol: class NonNull | |
| location: class IntentMonitorImpl | |
| frameworks/testing/runner/src/main/java/android/support/test/internal/runner/junit3/AndroidTestSuite.java:115: error: cannot find symbol | |
| isTerminated = threadExecutor.awaitTermination(1, TimeUnit.MINUTES); | |
| ^ | |
| symbol: variable MINUTES | |
| location: class TimeUnit | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:132: error: method registerInstance in class InstrumentationRegistry cannot be applied to given types; | |
| InstrumentationRegistry.registerInstance(this, arguments); | |
| ^ | |
| required: Instrumentation,Bundle | |
| found: MonitoringInstrumentation,Bundle | |
| reason: actual argument MonitoringInstrumentation cannot be converted to Instrumentation by method invocation conversion | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:144: error: cannot find symbol | |
| super.onCreate(arguments); | |
| ^ | |
| symbol: variable super | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:125: error: method does not override or implement a method from a supertype | |
| @Override | |
| ^ | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:154: error: cannot find symbol | |
| if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.ICE_CREAM_SANDWICH_MR1) { | |
| ^ | |
| symbol: variable ICE_CREAM_SANDWICH_MR1 | |
| location: class VERSION_CODES | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:159: error: cannot find symbol | |
| install.invoke(null, getTargetContext()); | |
| ^ | |
| symbol: method getTargetContext() | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:180: error: cannot find symbol | |
| File dexCache = getTargetContext().getDir("dxmaker_cache", Context.MODE_PRIVATE); | |
| ^ | |
| symbol: method getTargetContext() | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:188: error: cannot find symbol | |
| ClassLoader newClassLoader = this.getClass().getClassLoader(); | |
| ^ | |
| symbol: method getClass() | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:218: error: cannot find symbol | |
| super.onStart(); | |
| ^ | |
| symbol: variable super | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:220: error: cannot find symbol | |
| runOnMainSync(new Runnable() { | |
| ^ | |
| symbol: method runOnMainSync(<anonymous Runnable>) | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:242: error: cannot find symbol | |
| waitForIdleSync(); | |
| ^ | |
| symbol: method waitForIdleSync() | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:216: error: method does not override or implement a method from a supertype | |
| @Override | |
| ^ | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:270: error: cannot find symbol | |
| super.finish(resultCode, results); | |
| ^ | |
| symbol: variable super | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:254: error: method does not override or implement a method from a supertype | |
| @Override | |
| ^ | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:310: error: cannot find symbol | |
| super.onDestroy(); | |
| ^ | |
| symbol: variable super | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:306: error: method does not override or implement a method from a supertype | |
| @Override | |
| ^ | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:316: error: cannot find symbol | |
| super.callApplicationOnCreate(app); | |
| ^ | |
| symbol: variable super | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:313: error: method does not override or implement a method from a supertype | |
| @Override | |
| ^ | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:344: error: not an enclosing class: MonitoringInstrumentation | |
| return MonitoringInstrumentation.super.startActivitySync(intent); | |
| ^ | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:320: error: method does not override or implement a method from a supertype | |
| @Override | |
| ^ | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:380: error: cannot find symbol | |
| ActivityResult ar = stubResultFor(intent); | |
| ^ | |
| symbol: class ActivityResult | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:385: error: cannot find symbol | |
| return super.execStartActivity(who, contextThread, token, target, intent, requestCode); | |
| ^ | |
| symbol: variable super | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:374: error: method does not override or implement a method from a supertype | |
| @Override | |
| ^ | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:397: error: cannot find symbol | |
| ActivityResult ar = stubResultFor(intent); | |
| ^ | |
| symbol: class ActivityResult | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:402: error: cannot find symbol | |
| return super.execStartActivity(who, contextThread, token, target, intent, requestCode, options); | |
| ^ | |
| symbol: variable super | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:391: error: method does not override or implement a method from a supertype | |
| @Override | |
| ^ | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:408: error: method does not override or implement a method from a supertype | |
| @Override | |
| ^ | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:433: error: cannot find symbol | |
| ActivityResult ar = stubResultFor(intent); | |
| ^ | |
| symbol: class ActivityResult | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:438: error: cannot find symbol | |
| return super.execStartActivity(who, contextThread, token, target, intent, requestCode, options); | |
| ^ | |
| symbol: variable super | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:427: error: method does not override or implement a method from a supertype | |
| @Override | |
| ^ | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:459: error: cannot find symbol | |
| FutureTask<ActivityResult> task = new FutureTask<ActivityResult>( | |
| ^ | |
| symbol: class ActivityResult | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:459: error: cannot find symbol | |
| FutureTask<ActivityResult> task = new FutureTask<ActivityResult>( | |
| ^ | |
| symbol: class ActivityResult | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:485: error: cannot find symbol | |
| return super.onException(obj, e); | |
| ^ | |
| symbol: variable super | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:478: error: method does not override or implement a method from a supertype | |
| @Override | |
| ^ | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:512: error: cannot find symbol | |
| super.callActivityOnDestroy(activity); | |
| ^ | |
| symbol: variable super | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:510: error: method does not override or implement a method from a supertype | |
| @Override | |
| ^ | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:518: error: cannot find symbol | |
| super.callActivityOnRestart(activity); | |
| ^ | |
| symbol: variable super | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:516: error: method does not override or implement a method from a supertype | |
| @Override | |
| ^ | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:525: error: cannot find symbol | |
| super.callActivityOnCreate(activity, bundle); | |
| ^ | |
| symbol: variable super | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:522: error: method does not override or implement a method from a supertype | |
| @Override | |
| ^ | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:537: error: cannot find symbol | |
| super.callActivityOnStart(activity); | |
| ^ | |
| symbol: variable super | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:533: error: method does not override or implement a method from a supertype | |
| @Override | |
| ^ | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:548: error: cannot find symbol | |
| super.callActivityOnStop(activity); | |
| ^ | |
| symbol: variable super | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:545: error: method does not override or implement a method from a supertype | |
| @Override | |
| ^ | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:557: error: cannot find symbol | |
| super.callActivityOnResume(activity); | |
| ^ | |
| symbol: variable super | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:555: error: method does not override or implement a method from a supertype | |
| @Override | |
| ^ | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:563: error: cannot find symbol | |
| super.callActivityOnPause(activity); | |
| ^ | |
| symbol: variable super | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:561: error: method does not override or implement a method from a supertype | |
| @Override | |
| ^ | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:594: error: cannot find symbol | |
| return super.newActivity(clazz, | |
| ^ | |
| symbol: variable super | |
| location: class MonitoringInstrumentation | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:573: error: method does not override or implement a method from a supertype | |
| @Override | |
| ^ | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/AndroidJUnitRunner.java:201: error: method fromManifest in class Builder cannot be applied to given types; | |
| .fromManifest(this) | |
| ^ | |
| required: Instrumentation | |
| found: AndroidJUnitRunner | |
| reason: actual argument AndroidJUnitRunner cannot be converted to Instrumentation by method invocation conversion | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/AndroidJUnitRunner.java:208: error: cannot find symbol | |
| start(); | |
| ^ | |
| symbol: method start() | |
| location: class AndroidJUnitRunner | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/AndroidJUnitRunner.java:231: error: constructor Builder in class Builder cannot be applied to given types; | |
| TestExecutor.Builder executorBuilder = new TestExecutor.Builder(this); | |
| ^ | |
| required: Instrumentation | |
| found: AndroidJUnitRunner | |
| reason: actual argument AndroidJUnitRunner cannot be converted to Instrumentation by method invocation conversion | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/AndroidJUnitRunner.java:270: error: constructor ActivityFinisherRunListener in class ActivityFinisherRunListener cannot be applied to given types; | |
| builder.addRunListener(new ActivityFinisherRunListener(this, | |
| ^ | |
| required: Instrumentation,MonitoringInstrumentation.ActivityFinisher | |
| found: AndroidJUnitRunner,MonitoringInstrumentation.ActivityFinisher | |
| reason: actual argument AndroidJUnitRunner cannot be converted to Instrumentation by method invocation conversion | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/AndroidJUnitRunner.java:321: error: method createTestRequestBuilder in class AndroidJUnitRunner cannot be applied to given types; | |
| TestRequestBuilder builder = createTestRequestBuilder(this, bundleArgs); | |
| ^ | |
| required: Instrumentation,Bundle | |
| found: AndroidJUnitRunner,Bundle | |
| reason: actual argument AndroidJUnitRunner cannot be converted to Instrumentation by method invocation conversion | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/AndroidJUnitRunner.java:326: error: cannot find symbol | |
| builder.addApkToScan(getContext().getPackageCodePath()); | |
| ^ | |
| symbol: method getContext() | |
| location: class AndroidJUnitRunner | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/AndroidJUnitRunner.java:331: error: cannot find symbol | |
| if (null != getTargetContext()) { | |
| ^ | |
| symbol: method getTargetContext() | |
| location: class AndroidJUnitRunner | |
| frameworks/testing/runner/src/main/java/android/support/test/runner/AndroidJUnitRunner.java:333: error: cannot find symbol | |
| getTargetContext()).buildIfPossible(); | |
| ^ | |
| symbol: method getTargetContext() | |
| location: class AndroidJUnitRunner | |
| Note: frameworks/testing/runner/src/main/java/android/support/test/internal/runner/junit4/AndroidJUnit4ClassRunner.java uses or overrides 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. | |
| 73 errors | |
| Install: /home/faddat/cyanogen-12.1/out/target/product/Z00A/root/sbin/adbd | |
| build/core/java.mk:346: recipe for target '/home/faddat/cyanogen-12.1/out/target/common/obj/JAVA_LIBRARIES/android-support-test-src_intermediates/classes-full-debug.jar' failed | |
| make: *** [/home/faddat/cyanogen-12.1/out/target/common/obj/JAVA_LIBRARIES/android-support-test-src_intermediates/classes-full-debug.jar] Error 41 | |
| make: *** Waiting for unfinished jobs.... | |
| Install: /home/faddat/cyanogen-12.1/out/target/product/Z00A/root/sbin/healthd | |
| #### make failed to build some targets (01:48:57 (hh:mm:ss)) #### | |
| root@faddat-Z87N-WIFI:~/cyanogen-12.1# |
Same issue. Anyone fix it?
Me too :(
You should frameworks/testing folder delete and android folder and open default.xml delete line save.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you ever fix this error? I'm having the same problem right now.