Advertisement
Guest User

Untitled

a guest
Apr 26th, 2015
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.66 KB | None | 0 0
  1.  
  2. -pre-compile:
  3. [echo] Set jars path to: C:\cordova\brm\platforms\android\CordovaLib\ant-bu
  4. ild\classes.jar
  5.  
  6. -compile:
  7. [javac] Compiling 2 source files to C:\cordova\brm\platforms\android\ant-bui
  8. ld\classes
  9. [javac] warning: [options] source value 1.5 is obsolete and will be removed
  10. in a future release
  11. [javac] warning: [options] target value 1.5 is obsolete and will be removed
  12. in a future release
  13. [javac] warning: [options] To suppress warnings about obsolete options, use
  14. -Xlint:-options.
  15. [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:9
  16. 1: error: method does not override or implement a method from a supertype
  17. [javac] @Override
  18. [javac] ^
  19. [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:9
  20. 3: error: cannot find symbol
  21. [javac] super.onCreate(savedInstanceState);
  22. [javac] ^
  23. [javac] symbol: method onCreate(Bundle)
  24. [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:9
  25. 4: error: package R does not exist
  26. [javac] setContentView(R.layout.activity_main);
  27. [javac] ^
  28. [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:9
  29. 5: error: no suitable constructor found for Intent(Hello,Class<CAP#1>)
  30. [javac] pendingIntent = PendingIntent.getActivity(this, 0, new Inten
  31. t(this, getClass()).addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP), 0);
  32. [javac] ^
  33. [javac] constructor Intent.Intent(String,Uri) is not applicable
  34. [javac] (argument mismatch; Hello cannot be converted to String)
  35. [javac] constructor Intent.Intent(Context,Class<?>) is not applicable
  36. [javac] (argument mismatch; Hello cannot be converted to Context)
  37. [javac] where CAP#1 is a fresh type-variable:
  38. [javac] CAP#1 extends Hello from capture of ? extends Hello
  39. [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:9
  40. 7: error: cannot find symbol
  41. [javac] resolveIntent(getIntent());
  42. [javac] ^
  43. [javac] symbol: method getIntent()
  44. [javac] location: class Hello
  45. [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
  46. 04: error: package R does not exist
  47. [javac] textView1 = (TextView) findViewById(R.id.textView2);
  48. [javac] ^
  49. [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
  50. 10: error: package R does not exist
  51. [javac] TextView textView3 = (TextView) findViewById(R.id.textVi
  52. ew3);
  53. [javac] ^
  54. [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
  55. 35: error: cannot find symbol
  56. [javac] dialog.show(getFragmentManager(),e.toString());
  57. [javac] ^
  58. [javac] symbol: method getFragmentManager()
  59. [javac] location: class Hello
  60. [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
  61. 42: error: method does not override or implement a method from a supertype
  62. [javac] @Override
  63. [javac] ^
  64. [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
  65. 44: error: method onResume in class CordovaPlugin cannot be applied to given typ
  66. es;
  67. [javac] super.onResume();
  68. [javac] ^
  69. [javac] required: boolean
  70. [javac] found: no arguments
  71. [javac] reason: actual and formal argument lists differ in length
  72. [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
  73. 48: error: method does not override or implement a method from a supertype
  74. [javac] @Override
  75. [javac] ^
  76. [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
  77. 51: error: package R does not exist
  78. [javac] getMenuInflater().inflate(R.menu.menu_main, menu);
  79. [javac] ^
  80. [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
  81. 51: error: cannot find symbol
  82. [javac] getMenuInflater().inflate(R.menu.menu_main, menu);
  83. [javac] ^
  84. [javac] symbol: method getMenuInflater()
  85. [javac] location: class Hello
  86. [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
  87. 55: error: method does not override or implement a method from a supertype
  88. [javac] @Override
  89. [javac] ^
  90. [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
  91. 57: error: cannot find symbol
  92. [javac] super.startActivity(intent);
  93. [javac] ^
  94. [javac] symbol: method startActivity(Intent)
  95. [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
  96. 65: error: package R does not exist
  97. [javac] TextView textView = (TextView) findViewById(R.id.textView);
  98. [javac] ^
  99. [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
  100. 67: error: incompatible types: Hello cannot be converted to Context
  101. [javac] nfcAdapter = NfcAdapter.getDefaultAdapter(this);
  102. [javac] ^
  103. [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
  104. 79: error: method does not override or implement a method from a supertype
  105. [javac] @Override
  106. [javac] ^
  107. [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
  108. 87: error: package R does not exist
  109. [javac] if (id == R.id.action_settings) {
  110. [javac] ^
  111. [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
  112. 91: error: cannot find symbol
  113. [javac] return super.onOptionsItemSelected(item);
  114. [javac] ^
  115. [javac] symbol: method onOptionsItemSelected(MenuItem)
  116. [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
  117. 95: error: onNewIntent(Intent) in Hello cannot override onNewIntent(Intent) in C
  118. ordovaPlugin
  119. [javac] protected void onNewIntent(Intent intent) {
  120. [javac] ^
  121. [javac] attempting to assign weaker access privileges; was public
  122. [javac] Note: Some messages have been simplified; recompile with -Xdiags:ver
  123. bose to get full output
  124. [javac] 21 errors
  125. [javac] 3 warnings
  126.  
  127. BUILD FAILED
  128. C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:720: The followin
  129. g error occurred while executing this line:
  130. C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:734: Compile fail
  131. ed; see the compiler error output for details.
  132.  
  133. Total time: 2 seconds
  134.  
  135. C:\cordova\brm\platforms\android\cordova\node_modules\q\q.js:126
  136. throw e;
  137. ^
  138. Error code 1 for command: cmd with args: /s /c "ant debug -f C:\cordova\brm\plat
  139. forms\android\build.xml -Dout.dir=ant-build -Dgen.absolute.dir=ant-gen"
  140. ERROR building one of the platforms: Error: C:\cordova\brm\platforms\android\cor
  141. dova\build.bat: Command failed with exit code 8
  142. You may not have the required environment or OS to build this project
  143. Error: C:\cordova\brm\platforms\android\cordova\build.bat: Command failed with e
  144. xit code 8
  145. at ChildProcess.whenDone (C:\Users\falle\AppData\Roaming\npm\node_modules\co
  146. rdova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
  147. at ChildProcess.EventEmitter.emit (events.js:98:17)
  148. at maybeClose (child_process.js:753:16)
  149. at Process.ChildProcess._handle.onexit (child_process.js:820:5)
  150.  
  151. C:\cordova\brm>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement