Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shauvik@airavata:/Volumes/Secondary/git/EventLogger$ bash -x run.sh
- ++ head -1 app.info
- + APP=$'com.alfray.asqare\r'
- + UID_FN=/data/local/tmp/app.uid
- + adb push app.info /data/local/tmp/
- 11 KB/s (27 bytes in 0.002s)
- ' adb shell 'am force-stop com.alfray.asqare
- WARNING: linker: libdvm.so has text relocations. This is wasting memory and is a security risk. Please fix.
- ++ adb shell dumpsys package $'com.alfray.asqare\r'
- ++ grep userId
- ++ awk '-F=| ' '{print $6}'
- + curr_uid=
- ++ adb shell 'cat /data/local/tmp/app.uid'
- ++ tr -d '\r\n'
- + old_uid=10060
- + '[' '' '!=' 10060 ']'
- + echo 'Updating UID'
- Updating UID
- + adb shell 'echo > /data/local/tmp/app.uid'
- + adb shell 'cat /data/local/tmp/app.uid'
- + ant build
- Buildfile: /Volumes/Secondary/git/EventLogger/build.xml
- BUILD FAILED
- /Volumes/Secondary/git/EventLogger/build.xml:49: Source resource does not exist: /Volumes/Secondary/git/EventLogger/project.properties
- Total time: 0 seconds
- + adb push bin/EventLogger.jar /data/local/tmp/
- cannot stat 'bin/EventLogger.jar': No such file or directory
- + adb shell /data/local/tmp/haos runtest EventLogger.jar -c com.eventlogger.Logger
- Error: /data/local/tmp/EventLogger.jar does not exist
- WARNING: linker: libdvm.so has text relocations. This is wasting memory and is a security risk. Please fix.
- shauvik@airavata:/Volumes/Secondary/git/EventLogger$ android update project -p .
- Error: The project either has no target set or the target is invalid.
- Please provide a --target to the 'android update' command.
- shauvik@airavata:/Volumes/Secondary/git/EventLogger$ android update project -p . -t android-19
- Updated and renamed default.properties to project.properties
- Updated local.properties
- ----------
- build.xml: Failed to find version-tag string. File must be updated.
- In order to not erase potential customizations, the file will not be automatically regenerated.
- If no changes have been made to the file, delete it manually and run the command again.
- If you have made customizations to the build process, the file must be manually updated.
- It is recommended to:
- * Copy current file to a safe location.
- * Delete original file.
- * Run command again to generate a new file.
- * Port customizations to the new file, by looking at the new rules file
- located at <SDK>/tools/ant/build.xml
- * Update file to contain
- version-tag: custom
- to prevent file from being rewritten automatically by the SDK tools.
- ----------
- Added file ./proguard-project.txt
- shauvik@airavata:/Volumes/Secondary/git/EventLogger$ bash -x run.sh
- ++ head -1 app.info
- + APP=$'com.alfray.asqare\r'
- + UID_FN=/data/local/tmp/app.uid
- + adb push app.info /data/local/tmp/
- 10 KB/s (27 bytes in 0.002s)
- ' adb shell 'am force-stop com.alfray.asqare
- WARNING: linker: libdvm.so has text relocations. This is wasting memory and is a security risk. Please fix.
- ++ adb shell dumpsys package $'com.alfray.asqare\r'
- ++ grep userId
- ++ awk '-F=| ' '{print $6}'
- + curr_uid=
- ++ adb shell 'cat /data/local/tmp/app.uid'
- ++ tr -d '\r\n'
- + old_uid=
- + '[' '' '!=' '' ']'
- + echo 'UID OK'
- UID OK
- + ant build
- Buildfile: /Volumes/Secondary/git/EventLogger/build.xml
- -check-env:
- [checkenv] Android SDK Tools Revision 23.0.2
- [checkenv] Installed at /Volumes/Secondary/Tools/adt-bundle-mac/sdk
- -build-setup:
- [getbuildtools] Using latest Build Tools: 20.0.0
- [echo] Resolving Build Target for EventLogger...
- [getuitarget] Project Target: Android 4.4.2
- [getuitarget] API level: 19
- [echo] ----------
- [echo] Creating output directories if needed...
- [mkdir] Created dir: /Volumes/Secondary/git/EventLogger/bin
- [mkdir] Created dir: /Volumes/Secondary/git/EventLogger/bin/classes
- -pre-compile:
- compile:
- [javac] Compiling 9 source files to /Volumes/Secondary/git/EventLogger/bin/classes
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/Logger.java:13: error: cannot find symbol
- [javac] import com.android.uiautomator.core.UiAutomatorBridge;
- [javac] ^
- [javac] symbol: class UiAutomatorBridge
- [javac] location: package com.android.uiautomator.core
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestCase.java:10: error: cannot find symbol
- [javac] import android.os.ServiceManager;
- [javac] ^
- [javac] symbol: class ServiceManager
- [javac] location: package android.os
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestCase.java:14: error: package com.android.internal.view does not exist
- [javac] import com.android.internal.view.IInputMethodManager;
- [javac] ^
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiDevice.java:9: error: cannot find symbol
- [javac] import com.android.uiautomator.core.UiAutomatorBridge;
- [javac] ^
- [javac] symbol: class UiAutomatorBridge
- [javac] location: package com.android.uiautomator.core
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/Logger.java:22: error: cannot find symbol
- [javac] private UiAutomatorBridge bridge;
- [javac] ^
- [javac] symbol: class UiAutomatorBridge
- [javac] location: class Logger
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiDevice.java:18: error: cannot find symbol
- [javac] private UiAutomatorBridge mBridge;
- [javac] ^
- [javac] symbol: class UiAutomatorBridge
- [javac] location: class MyUiDevice
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiDevice.java:28: error: cannot find symbol
- [javac] public void initialize(UiAutomatorBridge uaBridge) {
- [javac] ^
- [javac] symbol: class UiAutomatorBridge
- [javac] location: class MyUiDevice
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiDevice.java:33: error: cannot find symbol
- [javac] public UiAutomatorBridge getUiAutomatorBridge() {
- [javac] ^
- [javac] symbol: class UiAutomatorBridge
- [javac] location: class MyUiDevice
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:16: error: package junit.textui does not exist
- [javac] import junit.textui.ResultPrinter;
- [javac] ^
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:19: error: cannot find symbol
- [javac] import android.app.IInstrumentationWatcher;
- [javac] ^
- [javac] symbol: class IInstrumentationWatcher
- [javac] location: package android.app
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:28: error: cannot find symbol
- [javac] import android.test.RepetitiveTest;
- [javac] ^
- [javac] symbol: class RepetitiveTest
- [javac] location: package android.test
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:31: error: cannot find symbol
- [javac] import com.android.uiautomator.core.ShellUiAutomatorBridge;
- [javac] ^
- [javac] symbol: class ShellUiAutomatorBridge
- [javac] location: package com.android.uiautomator.core
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:32: error: cannot find symbol
- [javac] import com.android.uiautomator.core.Tracer;
- [javac] ^
- [javac] symbol: class Tracer
- [javac] location: package com.android.uiautomator.core
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:33: error: cannot find symbol
- [javac] import com.android.uiautomator.core.UiAutomationShellWrapper;
- [javac] ^
- [javac] symbol: class UiAutomationShellWrapper
- [javac] location: package com.android.uiautomator.core
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:35: error: cannot find symbol
- [javac] import com.android.uiautomator.testrunner.TestCaseCollector;
- [javac] ^
- [javac] symbol: class TestCaseCollector
- [javac] location: package com.android.uiautomator.testrunner
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:162: error: cannot find symbol
- [javac] private class FakeInstrumentationWatcher implements IInstrumentationWatcher {
- [javac] ^
- [javac] symbol: class IInstrumentationWatcher
- [javac] location: class MyUiAutomatorTestRunner
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:373: error: cannot find symbol
- [javac] protected TestCaseCollector getTestCaseCollector(ClassLoader classLoader) {
- [javac] ^
- [javac] symbol: class TestCaseCollector
- [javac] location: class MyUiAutomatorTestRunner
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestCaseFilter.java:5: error: package com.android.uiautomator.testrunner.TestCaseCollector does not exist
- [javac] import com.android.uiautomator.testrunner.TestCaseCollector.TestCaseFilter;
- [javac] ^
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestCaseFilter.java:7: error: cannot find symbol
- [javac] public class MyUiAutomatorTestCaseFilter implements TestCaseFilter {
- [javac] ^
- [javac] symbol: class TestCaseFilter
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:346: error: cannot find symbol
- [javac] private class SimpleResultPrinter extends ResultPrinter implements ResultReporter {
- [javac] ^
- [javac] symbol: class ResultPrinter
- [javac] location: class MyUiAutomatorTestRunner
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestCase.java:110: error: cannot find symbol
- [javac] IInputMethodManager im = IInputMethodManager.Stub.asInterface(ServiceManager.getService(Context.INPUT_METHOD_SERVICE));
- [javac] ^
- [javac] symbol: class IInputMethodManager
- [javac] location: class MyUiAutomatorTestCase
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestCase.java:110: error: cannot find symbol
- [javac] IInputMethodManager im = IInputMethodManager.Stub.asInterface(ServiceManager.getService(Context.INPUT_METHOD_SERVICE));
- [javac] ^
- [javac] symbol: variable ServiceManager
- [javac] location: class MyUiAutomatorTestCase
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestCase.java:110: error: package IInputMethodManager does not exist
- [javac] IInputMethodManager im = IInputMethodManager.Stub.asInterface(ServiceManager.getService(Context.INPUT_METHOD_SERVICE));
- [javac] ^
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MainActivity.java:13: error: package R does not exist
- [javac] setContentView(R.layout.activity_main);
- [javac] ^
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MainActivity.java:19: error: package R does not exist
- [javac] getMenuInflater().inflate(R.menu.main, menu);
- [javac] ^
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MainActivity.java:29: error: package R does not exist
- [javac] if (id == R.id.action_settings) {
- [javac] ^
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:90: error: cannot find symbol
- [javac] TestCaseCollector collector = getTestCaseCollector(this.getClass().getClassLoader());
- [javac] ^
- [javac] symbol: class TestCaseCollector
- [javac] location: class MyUiAutomatorTestRunner
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:103: error: cannot find symbol
- [javac] UiAutomationShellWrapper automationWrapper = new UiAutomationShellWrapper();
- [javac] ^
- [javac] symbol: class UiAutomationShellWrapper
- [javac] location: class MyUiAutomatorTestRunner
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:103: error: cannot find symbol
- [javac] UiAutomationShellWrapper automationWrapper = new UiAutomationShellWrapper();
- [javac] ^
- [javac] symbol: class UiAutomationShellWrapper
- [javac] location: class MyUiAutomatorTestRunner
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:113: error: incompatible types
- [javac] resultPrinter = new SimpleResultPrinter(System.out, true);
- [javac] ^
- [javac] required: ResultReporter
- [javac] found: MyUiAutomatorTestRunner.SimpleResultPrinter
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:121: error: cannot find symbol
- [javac] mUiDevice.initialize(new ShellUiAutomatorBridge(uiAutomation));
- [javac] ^
- [javac] symbol: class ShellUiAutomatorBridge
- [javac] location: class MyUiAutomatorTestRunner
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:126: error: package Tracer does not exist
- [javac] Tracer.Mode mode = Tracer.Mode.valueOf(Tracer.Mode.class, traceType);
- [javac] ^
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:126: error: package Tracer does not exist
- [javac] Tracer.Mode mode = Tracer.Mode.valueOf(Tracer.Mode.class, traceType);
- [javac] ^
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:126: error: package Tracer does not exist
- [javac] Tracer.Mode mode = Tracer.Mode.valueOf(Tracer.Mode.class, traceType);
- [javac] ^
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:127: error: package Tracer does not exist
- [javac] if (mode == Tracer.Mode.FILE || mode == Tracer.Mode.ALL) {
- [javac] ^
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:127: error: package Tracer does not exist
- [javac] if (mode == Tracer.Mode.FILE || mode == Tracer.Mode.ALL) {
- [javac] ^
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:132: error: cannot find symbol
- [javac] Tracer.getInstance().setOutputFilename(filename);
- [javac] ^
- [javac] symbol: variable Tracer
- [javac] location: class MyUiAutomatorTestRunner
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:134: error: cannot find symbol
- [javac] Tracer.getInstance().setOutputMode(mode);
- [javac] ^
- [javac] symbol: variable Tracer
- [javac] location: class MyUiAutomatorTestRunner
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:166: error: method does not override or implement a method from a supertype
- [javac] @Override
- [javac] ^
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:171: error: method does not override or implement a method from a supertype
- [javac] @Override
- [javac] ^
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:193: error: method does not override or implement a method from a supertype
- [javac] @Override
- [javac] ^
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:281: error: cannot find symbol
- [javac] if (testMethod.isAnnotationPresent(RepetitiveTest.class)) {
- [javac] ^
- [javac] symbol: class RepetitiveTest
- [javac] location: class MyUiAutomatorTestRunner.WatcherResultPrinter
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:282: error: cannot find symbol
- [javac] int numIterations = testMethod.getAnnotation(RepetitiveTest.class).numIterations();
- [javac] ^
- [javac] symbol: class RepetitiveTest
- [javac] location: class MyUiAutomatorTestRunner.WatcherResultPrinter
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:294: error: cannot find symbol
- [javac] mPrinter.startTest(test);
- [javac] ^
- [javac] symbol: method startTest(Test)
- [javac] location: variable mPrinter of type MyUiAutomatorTestRunner.SimpleResultPrinter
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:304: error: cannot find symbol
- [javac] mPrinter.addError(test, t);
- [javac] ^
- [javac] symbol: method addError(Test,Throwable)
- [javac] location: variable mPrinter of type MyUiAutomatorTestRunner.SimpleResultPrinter
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:314: error: cannot find symbol
- [javac] mPrinter.addFailure(test, t);
- [javac] ^
- [javac] symbol: method addFailure(Test,AssertionFailedError)
- [javac] location: variable mPrinter of type MyUiAutomatorTestRunner.SimpleResultPrinter
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:324: error: cannot find symbol
- [javac] mPrinter.endTest(test);
- [javac] ^
- [javac] symbol: method endTest(Test)
- [javac] location: variable mPrinter of type MyUiAutomatorTestRunner.SimpleResultPrinter
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:346: error: MyUiAutomatorTestRunner.SimpleResultPrinter is not abstract and does not override abstract method startTest(Test) in TestListener
- [javac] private class SimpleResultPrinter extends ResultPrinter implements ResultReporter {
- [javac] ^
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:356: error: cannot find symbol
- [javac] printHeader(runTime);
- [javac] ^
- [javac] symbol: method printHeader(long)
- [javac] location: class MyUiAutomatorTestRunner.SimpleResultPrinter
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:358: error: cannot find symbol
- [javac] printErrors(result);
- [javac] ^
- [javac] symbol: method printErrors(TestResult)
- [javac] location: class MyUiAutomatorTestRunner.SimpleResultPrinter
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:359: error: cannot find symbol
- [javac] printFailures(result);
- [javac] ^
- [javac] symbol: method printFailures(TestResult)
- [javac] location: class MyUiAutomatorTestRunner.SimpleResultPrinter
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:361: error: cannot find symbol
- [javac] printFooter(result);
- [javac] ^
- [javac] symbol: method printFooter(TestResult)
- [javac] location: class MyUiAutomatorTestRunner.SimpleResultPrinter
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:367: error: cannot find symbol
- [javac] getWriter().printf("Test run aborted due to unexpected exeption: %s", t.getMessage());
- [javac] ^
- [javac] symbol: method getWriter()
- [javac] location: class MyUiAutomatorTestRunner.SimpleResultPrinter
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:368: error: cannot find symbol
- [javac] t.printStackTrace(getWriter());
- [javac] ^
- [javac] symbol: method getWriter()
- [javac] location: class MyUiAutomatorTestRunner.SimpleResultPrinter
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestRunner.java:374: error: cannot find symbol
- [javac] return new TestCaseCollector(classLoader, getTestCaseFilter());
- [javac] ^
- [javac] symbol: class TestCaseCollector
- [javac] location: class MyUiAutomatorTestRunner
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestCaseFilter.java:9: error: method does not override or implement a method from a supertype
- [javac] @Override
- [javac] ^
- [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiAutomatorTestCaseFilter.java:14: error: method does not override or implement a method from a supertype
- [javac] @Override
- [javac] ^
- [javac] Note: /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MyUiDevice.java uses or overrides a deprecated API.
- [javac] Note: Recompile with -Xlint:deprecation for details.
- [javac] 57 errors
- BUILD FAILED
- /Volumes/Secondary/Tools/adt-bundle-mac/sdk/tools/ant/uibuild.xml:183: Compile failed; see the compiler error output for details.
- Total time: 2 seconds
- + adb push bin/EventLogger.jar /data/local/tmp/
- cannot stat 'bin/EventLogger.jar': No such file or directory
- + adb shell /data/local/tmp/haos runtest EventLogger.jar -c com.eventlogger.Logger
- Error: /data/local/tmp/EventLogger.jar does not exist
- WARNING: linker: libdvm.so has text relocations. This is wasting memory and is a security risk. Please fix.
- shauvik@airavata:/Volumes/Secondary/git/EventLogger$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement