crosswalk-runtime

Cordova crosswalk app crash

≡放荡痞女 提交于 2019-12-06 02:46:21
问题 I'm using Crosswalk in my cordova app but the app crash. If I remove Crosswalk, the app run. Same things with the sample app. Someone already work with Crosswalk-project ? Thanks in advance 回答1: Problem solved by adding the following lines in AndroidManifest.xml <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-permission android:name="android.permission.INTERNET" /> 回答2: Remove your Cordova

Error while Migrating Cordova app in CrossWalk

末鹿安然 提交于 2019-12-05 22:08:02
I am trying to migrate cordova app in Crosswalk using command line tools as given in this tutorial.After running android update project --subprojects --path . \ --target "android-19" MY terminal shows: Updated project.properties Updated local.properties build.xml: Found version-tag: custom. File will not be updated. Added file ./proguard-project.txt Updated project.properties Updated local.properties build.xml: Found version-tag: custom. File will not be updated. Added file ./xwalk_core_library/proguard-project.txt After that i followed rest of the steps given in documentation. And after

Crosswalk - Inflating class & Cie

大憨熊 提交于 2019-12-04 21:49:52
I'm currently working with Crosswalk ( previously on Cordova ). But I encounter a problem : when i'm creating just a simple XWalkView, nothing works.. I mean, I followed all guides, try multiples ways and nothing . I'm working with CrossWalk 12.41.296.9 ARM. That way: public class MainActivity extends Activity { private static final String url = "file:///android_asset/www/index.html"; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.cordova_layout); XWalkView webView = (XWalkView) findViewById(R.id.cordova_webview); webView

crosswalk-lite in ionic cli v1.4.4 does not reduce apk size

不打扰是莪最后的温柔 提交于 2019-12-04 17:59:06
Tried many times, the apk file size does not change. ionic revert android; ionic browser add crosswalk-lite ionic build android I also tried remove android platform and do from scratch, but never suceeded. Your system information: Cordova CLI: 5.0.0 Gulp version: CLI version 3.8.11 Gulp local: Local version 3.8.11 Ionic CLI Version: 1.4.4 Ionic App Lib Version: 0.0.20 OS: Distributor ID: Ubuntu Description: Ubuntu 12.04.5 LTS Node Version: v0.12.3 Same here. I guess crosswalk-lite is so new that ionic still doesn't quite cope with it. Or it did, but things have changed now. When I run: ionic

How to build android with Crosswalk lite using ionic-cli?

谁说胖子不能爱 提交于 2019-12-04 16:37:37
问题 When I compile APK using Crosswalk ( ionic browser add crosswalk; ionic build android ), the size is too big (~20 MB). I think using crosswalk lite will reduce the size of compiled APK. But I have no idea to hack ionic-cli to use crosswalk lite. My question is: 1. Will this support crosswalk lite? 2. Is there any hack (or temporary solution) to use crosswalk lite? Thanks. 回答1: This is experimentary , but it will work , cant guarantee there will be no bugs when you build your app though ,

Crosswalk call js function from java on android

不羁的心 提交于 2019-12-04 10:19:29
I m trying to use crosswalk runtime in my android app. I tried this on android 4+. I got some js & html codes and it worked perfect for me. But it is not working like android webview. In the webview i can call javascript functions from java code. But i couldnt find any option in crosswalk. Any idea? Thanks Crosswalk support the similar API interface ( evaluateJavascript ) as Android WebView for calling JavaScript function from Java: https://crosswalk-project.org/apis/embeddingapidocs/reference/org/xwalk/core/XWalkView.html#evaluateJavascript(java.lang.String , ) You can also use load for

Cordova crosswalk app crash

a 夏天 提交于 2019-12-04 08:05:34
I'm using Crosswalk in my cordova app but the app crash. If I remove Crosswalk, the app run. Same things with the sample app. Someone already work with Crosswalk-project ? Thanks in advance Problem solved by adding the following lines in AndroidManifest.xml <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-permission android:name="android.permission.INTERNET" /> ihsanberahim Remove your Cordova Android platform and execute crosswalk script. You can get a copy of the script here: https://gist

Can't add crosswalk with ionic cli 1.3.2

大城市里の小女人 提交于 2019-12-04 05:20:51
I cloned an existing ionic project from git. I have ionic 1.3.2 and cordova 4.2.0 . After cloning, i cd ed into the directory and did an ionic browser add crosswalk . It says that crosswalk was added successfully. Then when i try to do ionic run android , it says No platforms added. So i do a ioinic platform add android , which gives me this error: Failed to install 'org.apache.cordova.engine.crosswalk':CordovaError: Plugin doesn't support this project's cordova-android version. cordova-android: 3.6.4, failed version requirement: >=4.0.0-dev`. ionic platform add android@4.0.0-dev returns

Crosswalk Could not resolve all dependencies for configuration ':_armv7DebugCompile'

▼魔方 西西 提交于 2019-12-04 03:27:52
问题 I successfully build my application with cordova until a few days ago with Crosswalk 18+, today I have this error: * What went wrong: A problem occurred configuring root project 'android'. > Could not resolve all dependencies for configuration ':_armv7DebugCompile'. > Could not resolve org.xwalk:xwalk_core_library:18+. Required by: :android:unspecified > Failed to list versions for org.xwalk:xwalk_core_library. > Unable to load Maven meta-data from https://repo1.maven.org/maven2/org/xwalk

How to build android with Crosswalk lite using ionic-cli?

送分小仙女□ 提交于 2019-12-03 10:43:05
When I compile APK using Crosswalk ( ionic browser add crosswalk; ionic build android ), the size is too big (~20 MB). I think using crosswalk lite will reduce the size of compiled APK. But I have no idea to hack ionic-cli to use crosswalk lite. My question is: 1. Will this support crosswalk lite? 2. Is there any hack (or temporary solution) to use crosswalk lite? Thanks. This is experimentary , but it will work , cant guarantee there will be no bugs when you build your app though , please read this well before you proceed. Procedure : ( all steps are done from a machine running MS-Windows 8.1