Dear All,

First of all, i apologize, but i'm a novice in mobile apps development. And
i've been seaching solution using google, and tried some of it, and i can't
find one with the same error like mine.

Here is my problem :

I've been trying to build (ionic build android).

I'm using :
cordova 6.0.0
java jdk1.8.0_40

This is what i'm targeting in my platforms/android/AndroidManifest.xml
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="23" />

And i before that i also did a :
ionic browser add crosswalk

Plugins installed :
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
https://github.com/floatinghotpot/cordova-plugin-admob.git
https://github.com/devgeeks/Canvas2ImagePlugin.git
https://github.com/wymsee/cordova-imagePicker.git
https://github.com/litehelpers/Cordova-sqlite-storage.git#0.7.14
[email protected]
[email protected]
https://github.com/EddyVerbruggen/Flashlight-PhoneGap-Plugin#3.0.0
[email protected]
https://github.com/katzer/cordova-plugin-local-notifications#0.8.4

When i did a ionic build android, i keep getting this error :

:compileArmv7DebugJavaWithJavacC:\DEV\IonicMaterialDesign\platforms\android\src\org\crosswalk\engine\XWalkCordovaClientCertRequest.java:22:
error: cannot find symbol
import org.xwalk.core.ClientCertRequest;
                     ^
  symbol:   class ClientCertRequest
  location: package org.xwalk.core
C:\DEV\IonicMaterialDesign\platforms\android\src\org\crosswalk\engine\XWalkCordovaClientCertRequest.java:31:
error: cannot find symbol
    private final ClientCertRequest request;
                  ^
  symbol:   class ClientCertRequest
  location: class XWalkCordovaClientCertRequest
C:\DEV\IonicMaterialDesign\platforms\android\src\org\crosswalk\engine\XWalkCordovaClientCertRequest.java:33:
error: cannot find symbol
    public XWalkCordovaClientCertRequest(ClientCertRequest request) {
                                         ^
  symbol:   class ClientCertRequest
  location: class XWalkCordovaClientCertRequest
C:\DEV\IonicMaterialDesign\platforms\android\src\org\crosswalk\engine\XWalkCordovaHttpAuthHandler.java:22:
error: cannot find symbol
import org.xwalk.core.XWalkHttpAuthHandler;
                     ^
  symbol:   class XWalkHttpAuthHandler
  location: package org.xwalk.core
C:\DEV\IonicMaterialDesign\platforms\android\src\org\crosswalk\engine\XWalkCordovaHttpAuthHandler.java:30:
error: cannot find symbol
    private final XWalkHttpAuthHandler handler;
                  ^
  symbol:   class XWalkHttpAuthHandler
  location: class XWalkCordovaHttpAuthHandler
C:\DEV\IonicMaterialDesign\platforms\android\src\org\crosswalk\engine\XWalkCordovaHttpAuthHandler.java:32:
error: cannot find symbol
    public XWalkCordovaHttpAuthHandler(XWalkHttpAuthHandler handler) {
                                       ^
  symbol:   class XWalkHttpAuthHandler
  location: class XWalkCordovaHttpAuthHandler
C:\DEV\IonicMaterialDesign\platforms\android\src\org\crosswalk\engine\XWalkCordovaResourceClient.java:32:
error: cannot find symbol
import org.xwalk.core.ClientCertRequest;
                     ^
  symbol:   class ClientCertRequest
  location: package org.xwalk.core
C:\DEV\IonicMaterialDesign\platforms\android\src\org\crosswalk\engine\XWalkCordovaResourceClient.java:33:
error: cannot find symbol
import org.xwalk.core.XWalkHttpAuthHandler;
                     ^
  symbol:   class XWalkHttpAuthHandler
  location: package org.xwalk.core
C:\DEV\IonicMaterialDesign\platforms\android\src\org\crosswalk\engine\XWalkWebViewEngine.java:50:
error: cannot find symbol
import org.xwalk.core.XWalkGetBitmapCallback;
                     ^
  symbol:   class XWalkGetBitmapCallback
  location: package org.xwalk.core
C:\DEV\IonicMaterialDesign\platforms\android\src\org\crosswalk\engine\XWalkCordovaResourceClient.java:132:
error: cannot find symbol
    public void onReceivedHttpAuthRequest(XWalkView view,
XWalkHttpAuthHandler handler,
                                                          ^
  symbol:   class XWalkHttpAuthHandler
  location: class XWalkCordovaResourceClient
C:\DEV\IonicMaterialDesign\platforms\android\src\org\crosswalk\engine\XWalkCordovaResourceClient.java:148:
error: cannot find symbol
    public void onReceivedClientCertRequest(XWalkView view,
ClientCertRequest request) {
                                                            ^
  symbol:   class ClientCertRequest
  location: class XWalkCordovaResourceClient
C:\DEV\IonicMaterialDesign\platforms\android\src\org\crosswalk\engine\XWalkCordovaResourceClient.java:131:
error: method does not override or implement a method from a supertype
    @Override
    ^
C:\DEV\IonicMaterialDesign\platforms\android\src\org\crosswalk\engine\XWalkCordovaResourceClient.java:147:
error: method does not override or implement a method from a supertype
    @Override
    ^
C:\DEV\IonicMaterialDesign\platforms\android\src\org\crosswalk\engine\XWalkWebViewEngine.java:108:
error: cannot find symbol
                                            new XWalkGetBitmapCallback() {
                                                ^
  symbol: class XWalkGetBitmapCallback
C:\DEV\IonicMaterialDesign\platforms\android\src\org\crosswalk\engine\XWalkWebViewEngine.java:203:
error: cannot find symbol
            webView.setUserAgentString(webView.getUserAgentString() + " " +
appendUserAgent);
                                              ^
  symbol:   method getUserAgentString()
  location: variable webView of type XWalkCordovaView
C:\DEV\IonicMaterialDesign\platforms\android\src\org\crosswalk\engine\XWalkWebViewEngine.java:231:
error: cannot find symbol

webView.getExtensionManager().loadExtension(XWALK_EXTENSIONS_FOLDER +
File.separator + path);
                   ^
  symbol:   method getExtensionManager()
  location: variable webView of type XWalkCordovaView
C:\DEV\IonicMaterialDesign\platforms\android\src\org\crosswalk\engine\XWalkCordovaView.java:93:
error: method does not override or implement a method from a supertype
    @Override
    ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note:
C:\DEV\IonicMaterialDesign\platforms\android\src\com\synconset\MultiImageChooserActivity.java
uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
17 errors
 FAILED


BUILD FAILED

Total time: 2 mins 0.838 secs
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileArmv7DebugJavaWithJavac'.
> 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.
ERROR building one of the platforms: Error code 1 for command: cmd with
args: /s,/c,"C:\DEV\IonicMaterialDesign\platforms\android\gradlew
cdvBuildDebug -b C:\DEV\IonicMaterialDesign\platforms\android\build.gradle
-Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"
You may not have the required environment or OS to build this project
Error: Error code 1 for command: cmd with args:
/s,/c,"C:\DEV\IonicMaterialDesign\platforms\android\gradlew cdvBuildDebug
-b C:\DEV\IonicMaterialDesign\platforms\android\build.gradle
-Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"

When I saw that the error are coming from something like "compileArmv7", i
tried to install ARM v7a i can find using SDK Manager, and these are
installed in my SDK manager :

Android SDK Tools 25.1.3
Android SDK Platform -tools 23.1
Android SDK Build-tools 23.0.1
Android SDK Build-tools 22.0.1
Android SDK Build-tools 21.1.2
Android SDK Build-tools 20
Android SDK Build-tools 19.1

Android 6.0 (API 23) SDK Platform
Android 6.0 (API 23) ARM EABI v7a System Image
Android 6.0 (API 23) Google APIs ARM EABI v7a System Image
Android 6.0 (API 23) Google APIs

Android 5.1.1 (API 22) SDK Platform
Android 5.1.1 (API 22) ARM EABI v7a System Image
Android 5.1.1 (API 22) Google APIs

Android 5.0.1 (API 21) SDK Platform
Android 5.0.1 (API 21) ARM EABI v7a System Image

Android 4.4W.2 (API 20) SDK Platform

Android 4.4.2 (API 19) SDK Platform
Android 4.4.2 (API 19) ARM EABI v7a System Image

If anyone can shed some light here, it will be greatly appreciated.

Thanks in advance
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to