Advertisement
shauvik

EventLogger Build Fails - R dependency

Nov 21st, 2014
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.32 KB | None | 0 0
  1. shauvik@airavata:/Volumes/Secondary/git/EventLogger$ bash -x run.sh
  2. ++ head -1 app.info
  3. + APP=$'com.alfray.asqare\r'
  4. + UID_FN=/data/local/tmp/app.uid
  5. + adb push app.info /data/local/tmp/
  6. 7 KB/s (27 bytes in 0.003s)
  7. ' adb shell 'am force-stop com.alfray.asqare
  8. WARNING: linker: libdvm.so has text relocations. This is wasting memory and is a security risk. Please fix.
  9. ++ adb shell dumpsys package $'com.alfray.asqare\r'
  10. ++ grep userId
  11. ++ awk '-F=| ' '{print $6}'
  12. + curr_uid=
  13. ++ adb shell 'cat /data/local/tmp/app.uid'
  14. ++ tr -d '\r\n'
  15. + old_uid=
  16. + '[' '' '!=' '' ']'
  17. + echo 'UID OK'
  18. UID OK
  19. + ant build
  20. Buildfile: /Volumes/Secondary/git/EventLogger/build.xml
  21.  
  22. -check-env:
  23.  [checkenv] Android SDK Tools Revision 23.0.2
  24.  [checkenv] Installed at /Volumes/Secondary/Tools/adt-bundle-mac/sdk
  25.  
  26. -build-setup:
  27. [getbuildtools] Using latest Build Tools: 20.0.0
  28.      [echo] Resolving Build Target for EventLogger...
  29. [getuitarget] Project Target:   Android 4.4.2
  30. [getuitarget] API level:        19
  31.      [echo] ----------
  32.      [echo] Creating output directories if needed...
  33.  
  34. -pre-compile:
  35.  
  36. compile:
  37.     [javac] Compiling 9 source files to /Volumes/Secondary/git/EventLogger/bin/classes
  38.     [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MainActivity.java:13: error: package R does not exist
  39.     [javac]         setContentView(R.layout.activity_main);
  40.     [javac]                         ^
  41.     [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MainActivity.java:19: error: package R does not exist
  42.     [javac]         getMenuInflater().inflate(R.menu.main, menu);
  43.     [javac]                                    ^
  44.     [javac] /Volumes/Secondary/git/EventLogger/src/com/eventlogger/MainActivity.java:29: error: package R does not exist
  45.     [javac]         if (id == R.id.action_settings) {
  46.     [javac]                    ^
  47.     [javac] 3 errors
  48.  
  49. BUILD FAILED
  50. /Volumes/Secondary/git/EventLogger/build.xml:109: Compile failed; see the compiler error output for details.
  51.  
  52. Total time: 1 second
  53. + adb push bin/EventLogger.jar /data/local/tmp/
  54. cannot stat 'bin/EventLogger.jar': No such file or directory
  55. + adb shell /data/local/tmp/haos runtest EventLogger.jar -c com.eventlogger.Logger
  56. Error: /data/local/tmp/EventLogger.jar does not exist
  57. WARNING: linker: libdvm.so has text relocations. This is wasting memory and is a security risk. Please fix.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement