Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -pre-compile:
- [echo] Set jars path to: C:\cordova\brm\platforms\android\CordovaLib\ant-bu
- ild\classes.jar
- -compile:
- [javac] Compiling 2 source files to C:\cordova\brm\platforms\android\ant-bui
- ld\classes
- [javac] warning: [options] source value 1.5 is obsolete and will be removed
- in a future release
- [javac] warning: [options] target value 1.5 is obsolete and will be removed
- in a future release
- [javac] warning: [options] To suppress warnings about obsolete options, use
- -Xlint:-options.
- [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:9
- 1: error: method does not override or implement a method from a supertype
- [javac] @Override
- [javac] ^
- [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:9
- 3: error: cannot find symbol
- [javac] super.onCreate(savedInstanceState);
- [javac] ^
- [javac] symbol: method onCreate(Bundle)
- [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:9
- 4: error: package R does not exist
- [javac] setContentView(R.layout.activity_main);
- [javac] ^
- [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:9
- 5: error: no suitable constructor found for Intent(Hello,Class<CAP#1>)
- [javac] pendingIntent = PendingIntent.getActivity(this, 0, new Inten
- t(this, getClass()).addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP), 0);
- [javac] ^
- [javac] constructor Intent.Intent(String,Uri) is not applicable
- [javac] (argument mismatch; Hello cannot be converted to String)
- [javac] constructor Intent.Intent(Context,Class<?>) is not applicable
- [javac] (argument mismatch; Hello cannot be converted to Context)
- [javac] where CAP#1 is a fresh type-variable:
- [javac] CAP#1 extends Hello from capture of ? extends Hello
- [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:9
- 7: error: cannot find symbol
- [javac] resolveIntent(getIntent());
- [javac] ^
- [javac] symbol: method getIntent()
- [javac] location: class Hello
- [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
- 04: error: package R does not exist
- [javac] textView1 = (TextView) findViewById(R.id.textView2);
- [javac] ^
- [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
- 10: error: package R does not exist
- [javac] TextView textView3 = (TextView) findViewById(R.id.textVi
- ew3);
- [javac] ^
- [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
- 35: error: cannot find symbol
- [javac] dialog.show(getFragmentManager(),e.toString());
- [javac] ^
- [javac] symbol: method getFragmentManager()
- [javac] location: class Hello
- [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
- 42: error: method does not override or implement a method from a supertype
- [javac] @Override
- [javac] ^
- [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
- 44: error: method onResume in class CordovaPlugin cannot be applied to given typ
- es;
- [javac] super.onResume();
- [javac] ^
- [javac] required: boolean
- [javac] found: no arguments
- [javac] reason: actual and formal argument lists differ in length
- [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
- 48: error: method does not override or implement a method from a supertype
- [javac] @Override
- [javac] ^
- [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
- 51: error: package R does not exist
- [javac] getMenuInflater().inflate(R.menu.menu_main, menu);
- [javac] ^
- [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
- 51: error: cannot find symbol
- [javac] getMenuInflater().inflate(R.menu.menu_main, menu);
- [javac] ^
- [javac] symbol: method getMenuInflater()
- [javac] location: class Hello
- [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
- 55: error: method does not override or implement a method from a supertype
- [javac] @Override
- [javac] ^
- [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
- 57: error: cannot find symbol
- [javac] super.startActivity(intent);
- [javac] ^
- [javac] symbol: method startActivity(Intent)
- [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
- 65: error: package R does not exist
- [javac] TextView textView = (TextView) findViewById(R.id.textView);
- [javac] ^
- [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
- 67: error: incompatible types: Hello cannot be converted to Context
- [javac] nfcAdapter = NfcAdapter.getDefaultAdapter(this);
- [javac] ^
- [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
- 79: error: method does not override or implement a method from a supertype
- [javac] @Override
- [javac] ^
- [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
- 87: error: package R does not exist
- [javac] if (id == R.id.action_settings) {
- [javac] ^
- [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
- 91: error: cannot find symbol
- [javac] return super.onOptionsItemSelected(item);
- [javac] ^
- [javac] symbol: method onOptionsItemSelected(MenuItem)
- [javac] C:\cordova\brm\platforms\android\src\com\example\plugin\Hello.java:1
- 95: error: onNewIntent(Intent) in Hello cannot override onNewIntent(Intent) in C
- ordovaPlugin
- [javac] protected void onNewIntent(Intent intent) {
- [javac] ^
- [javac] attempting to assign weaker access privileges; was public
- [javac] Note: Some messages have been simplified; recompile with -Xdiags:ver
- bose to get full output
- [javac] 21 errors
- [javac] 3 warnings
- BUILD FAILED
- C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:720: The followin
- g error occurred while executing this line:
- C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:734: Compile fail
- ed; see the compiler error output for details.
- Total time: 2 seconds
- C:\cordova\brm\platforms\android\cordova\node_modules\q\q.js:126
- throw e;
- ^
- Error code 1 for command: cmd with args: /s /c "ant debug -f C:\cordova\brm\plat
- forms\android\build.xml -Dout.dir=ant-build -Dgen.absolute.dir=ant-gen"
- ERROR building one of the platforms: Error: C:\cordova\brm\platforms\android\cor
- dova\build.bat: Command failed with exit code 8
- You may not have the required environment or OS to build this project
- Error: C:\cordova\brm\platforms\android\cordova\build.bat: Command failed with e
- xit code 8
- at ChildProcess.whenDone (C:\Users\falle\AppData\Roaming\npm\node_modules\co
- rdova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
- at ChildProcess.EventEmitter.emit (events.js:98:17)
- at maybeClose (child_process.js:753:16)
- at Process.ChildProcess._handle.onexit (child_process.js:820:5)
- C:\cordova\brm>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement