@ronycohen wrote:
Hello,
I unfortunately encounter this error when installing crosswalk.
1) the android Platform is already installed.
2) I execute :ionic browser add crosswalk
orionic browser add crosswalk@10.39.235.15
(tried both).
result :Adding crosswalk browser *Info* Cordova CLI v5.0 no longer requires you to use the ionic browser command to get Crosswalk installed The ionic browser command will install Cordova Android, the Crosswalk plugin, the whitelist plugin, and the splashscreen plugin for your convenience. Due to this, if you need to specify a version of Crosswalk, see this link: https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview#configure Enjoy! :) Added Android Added Crosswalk plugin Added whitelist plugin Added splash screen plugin Completed installing Crosswalk
3) Then I launch a
Ionic run android
and I get this errorUNEXPECTED TOP-LEVEL ERROR: java.lang.OutOfMemoryError: GC overhead limit exceeded FAILED BUILD FAILED Total time: 4 mins 43.493 secs FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':transformClassesWithDexForArmv7Debug'. > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_20\bin\java.exe '' finished with non-zero exit value 3 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. ERROR running one or more of the platforms: Error code 1 for command: cmd with args: /s,/c,"C:\Users\Rony\Dev\karamina\platforms\android\gradlew cdvBuildDebug -b C:\Users\Rony\Dev\karamina\platforms\android\bui ld.gradle -PcdvBuildArch=arm -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true" You may not have the required environment or OS to run this project
Here is the information concerning my evironment :
Win8 Cordova CLI: 6.0.0 Gulp version: CLI version 3.9.0 Gulp local: Local version 3.9.1 Ionic Framework Version: 1.3.0 Ionic CLI Version: 1.7.15 Ionic App Lib Version: 0.7.2 OS: Windows 8.1 Node Version: v4.4.3
and the plugins
cordova-plugin-app-event 1.2.0 "Application Events" cordova-plugin-background-mode 0.6.5 "BackgroundMode" cordova-plugin-battery-status 1.1.2 "Battery" cordova-plugin-compat 1.0.0 "Compat" cordova-plugin-console 1.0.3 "Console" cordova-plugin-crosswalk-webview 1.7.2 "Crosswalk WebView Engine" cordova-plugin-device 1.1.2 "Device" cordova-plugin-file 4.2.0 "File" cordova-plugin-file-transfer 1.5.1 "File Transfer" cordova-plugin-inappbrowser 1.2.1 "InAppBrowser" cordova-plugin-network-information 1.2.1 "Network Information" cordova-plugin-splashscreen 3.2.2 "Splashscreen" cordova-plugin-sqlite-2 1.0.3 "SQLitePlugin" cordova-plugin-statusbar 2.1.3 "StatusBar" cordova-plugin-stimshopSDK 1.0.1 "StimShopPlugin" cordova-plugin-vibration 2.1.1 "Vibration" cordova-plugin-whitelist 1.2.2 "Whitelist" de.appplant.cordova.plugin.local-notification 0.8.4 "LocalNotification" ionic-plugin-keyboard 2.2.0 "Keyboard"
Can you please tell my what I did wrong ?
Best Regard,
Ron
Posts: 1
Participants: 1