Open epegzz opened 9 years ago
I can't reproduce the error. It would be helpful if you could describe test steps, share your partial code or simplify your usage scenario to reproduce the issue.
I can compile ok with crosswalk 13 and below, but failed with 14.
In my config.xml
Also tested:
I experienced something similar when working between two branches, I assume the platform files got corrupted did a platform rm android and a platform add android and it fixed the issue.
My temporary solution is by commenting some lines in corsswalk plugin. But the new version seems fix it.
You can try update crosswalk plugin by remove and add the plugin again.
cordova plugin rm cordova-plugin-crosswalk-webview --save cordova plugin add cordova-plugin-crosswalk-webview --save
Then use 14+ as webkit preference in config.xml
removing platform and adding works for me
The issue does not happen for me anymore in the newest version :dancers:
Now I download crosswalk all fine, but then I get this at the end:
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':prepareOrgXwalkXwalk_core_library154438412Library'.
Could not expand ZIP '/home/hamid/.gradle/caches/modules-2/files-2.1/org.xwalk/xwalk_core_library/15.44.384.12/3f2d6e355a59677d340dfebddc47209c016489f4/xwalk_core_library-15.44.384.12.aar'.
BUILD FAILED
Total time: 7.563 secs
/home/hamid/Projects/MedCloud/patients/platforms/android/cordova/node_modules/q/q.js:126 throw e; ^ Error code 1 for command: /home/hamid/Projects/MedCloud/patients/platforms/android/gradlew with args: cdvBuildDebug,-b,/home/hamid/Projects/MedCloud/patients/platforms/android/build.gradle,-PcdvBuildArch=arm,-Dorg.gradle.daemon=true ERROR running one or more of the platforms: Error: /home/hamid/Projects/MedCloud/patients/platforms/android/cordova/run: Command failed with exit code 1 You may not have the required environment or OS to run this project
Hi all, I have been stuck for a week.. I'm still having the same issue when i have cordova plugin rm cordova-plugin-crosswalk-webview --save cordova plugin add cordova-plugin-crosswalk-webview --save
Error: /home/nmun/ionic2Folder/NotifyProject/platforms/android/gradlew: Command failed with exit code 1 Error output: FAILURE: Build failed with an exception.
What went wrong: A problem occurred configuring root project 'android'.
Cannot add task ':processArmv7DebugGoogleServices' as a task with that name already exists.
Please help.. It will be grateful to get help from you all..Thanks
@jengmun91 ive got the same problem.. did you got the solution??
@Dora3monz you can try to delete the platform android and add again. or you can update the cordova to the latest version. And you can double check whether you android studio platform, api level and cpu/abi that can support your Application.
After having successfully created builds with
cordova build android
and this plugin installed before, now after some weeks the build fails: