- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Just converted at app to V3088
Finally got the certificates updated.iOS build fine but the Android build fails. This is the error towards the end of the log.
symbol: class CordovaChromeClient .../WFSL/platforms/android/src/com/intel/xdk/device/Device.java:1184: error: cannot find symbol CordovaChromeClient ccc = new CordovaChromeClient((CordovaInterface) activity, remoteView);; ^ symbol: class CordovaChromeClient .../WFSL/platforms/android/src/com/intel/xdk/device/Device.java:1184: error: cannot find symbol CordovaChromeClient ccc = new CordovaChromeClient((CordovaInterface) activity, remoteView);; ^ symbol: class CordovaChromeClient .../WFSL/platforms/android/src/com/intel/xdk/device/Device.java:1191: error: incompatible types: CordovaWebView cannot be converted to View remoteLayout.addView(remoteView); ^ .../WFSL/platforms/android/src/com/intel/xdk/device/Device.java:1202: error: cannot find symbol remoteView.requestFocus(View.FOCUS_DOWN); ^ symbol: method requestFocus(int) location: variable remoteView of type CordovaWebView .../WFSL/platforms/android/src/com/intel/xdk/device/Device.java:1203: error: cannot find symbol remoteView.setOnTouchListener(new View.OnTouchListener() { ^ symbol: method setOnTouchListener(<anonymous OnTouchListener>) location: variable remoteView of type CordovaWebView Note: .../WFSL/platforms/android/src/com/intel/xdk/device/Device.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: .../WFSL/platforms/android/src/com/intel/xdk/device/Device.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 16 errors FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileArmv7ReleaseJava'. > Compilation failed; see the compiler error output for details. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 22.303 secs .../WFSL/platforms/android/cordova/node_modules/q/q.js:126 throw e; ^ Error code 1 for command: .../WFSL/platforms/android/gradlew with args: cdvBuildRelease,-b,.../WFSL/platforms/android/build.gradle,--no-daemon Command finished with error code 1: .../WFSL/platforms/android/cordova/build --release ERROR building one of the platforms: Error: .../WFSL/platforms/android/cordova/build: Command failed with exit code 1 You may not have the required environment or OS to build this project Error: .../WFSL/platforms/android/cordova/build: Command failed with exit code 1 at ChildProcess.whenDone (.../cordova/cordova-cli/5.1.1/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:134:23) at emitTwo (events.js:87:13) at ChildProcess.emit (events.js:172:7) at maybeClose (internal/child_process.js:821:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
- Marcas:
- HTML5
- Intel® XDK
Link copiado
1 Responder
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
After updating to CLI 5.4.1 the build was successful.

Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora