Webview+ Still Not Compiling


#1

Why is webview plus still not compiling correctly? it works fine in webview, is this problem for everyone?


#2

if you use version 2.1.0 it works but you have to change the targetsdk to 26 manually on the config.xml file try using Canavs+ that works for sure otherwise try the other.


#3

It is showing me error with 2.1.0 too

COMPILER ERROR:

/workspace/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

  • Where:
    Script ‘/workspace/platforms/android/cordova-plugin-crosswalk-webview/bl0-xwalk.gradle’ line: 161

  • What went wrong:
    A problem occurred evaluating root project ‘android’.

Could not find method implementation() for arguments [org.xwalk:xwalk_core_library:23+] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

CORDOVA LOG:

ttps://repo1.maven.org/maven2/org/apache/apache/9/apache-9.pom\nDownload https://repo1.maven.org/maven2/com/googlecode/juniversalchardet/juniversalchardet/1.0.3/juniversalchardet-1.0.3.pom\nDownload https://repo1.maven.org/maven2/com/android/tools/annotations/24.5.0/annotations-24.5.0.pom\nDownload https://repo1.maven.org/maven2/net/sf/proguard/proguard-base/5.2.1/proguard-base-5.2.1.pom\nDownload https://repo1.maven.org/maven2/org/ow2/asm/asm-debug-all/5.0.1/asm-debug-all-5.0.1.pom\nDownload https://repo1.maven.org/maven2/org/ow2/asm/asm-parent/5.0.1/asm-parent-5.0.1.pom\nDownload https://repo1.maven.org/maven2/org/antlr/antlr-runtime/3.5.2/antlr-runtime-3.5.2.pom\nDownload https://repo1.maven.org/maven2/org/antlr/ST4/4.0.8/ST4-4.0.8.pom\nDownload https://jcenter.bintray.com/com/android/tools/layoutlib/layoutlib-api/25.2.3/layoutlib-api-25.2.3.pom\nDownload https://jcenter.bintray.com/com/android/tools/dvlib/25.2.3/dvlib-25.2.3.pom\nDownload https://jcenter.bintray.com/com/android/tools/repository/25.2.3/repository-25.2.3.pom\nDownload https://repo1.maven.org/maven2/com/google/code/gson/gson/2.2.4/gson-2.2.4.pom\nDownload https://repo1.maven.org/maven2/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.pom\nDownload https://repo1.maven.org/maven2/org/apache/commons/commons-parent/33/commons-parent-33.pom\nDownload https://repo1.maven.org/maven2/org/apache/apache/13/apache-13.pom\nDownload https://repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.1.1/httpclient-4.1.1.pom\nDownload https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcomponents-client/4.1.1/httpcomponents-client-4.1.1.pom\nDownload https://repo1.maven.org/maven2/org/apache/httpcomponents/project/4.1.1/project-4.1.1.pom\nDownload https://repo1.maven.org/maven2/org/apache/httpcomponents/httpmime/4.1/httpmime-4.1.pom\nDownload https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcomponents-client/4.1/httpcomponents-client-4.1.pom\nDownload https://repo1.maven.org/maven2/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.pom\nDownload https://jcenter.bintray.com/com/android/tools/lint/lint-api/25.2.3/lint-api-25.2.3.pom\nDownload https://repo1.maven.org/maven2/org/ow2/asm/asm-analysis/5.0.4/asm-analysis-5.0.4.pom\nDownload https://repo1.maven.org/maven2/com/intellij/annotations/12.0/annotations-12.0.pom\nDownload https://repo1.maven.org/maven2/com/google/jimfs/jimfs/1.1/jimfs-1.1.pom\nDownload https://repo1.maven.org/maven2/com/google/jimfs/jimfs-parent/1.1/jimfs-parent-1.1.pom\nDownload https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcore/4.1/httpcore-4.1.pom\nDownload https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcomponents-core/4.1/httpcomponents-core-4.1.pom\nDownload https://repo1.maven.org/maven2/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom\nDownload https://repo1.maven.org/maven2/org/apache/commons/commons-parent/5/commons-parent-5.pom\nDownload https://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom\nDownload https://repo1.maven.org/maven2/commons-codec/commons-codec/1.4/commons-codec-1.4.pom\nDownload https://repo1.maven.org/maven2/org/apache/commons/commons-parent/11/commons-parent-11.pom\nDownload https://repo1.maven.org/maven2/com/android/tools/external/lombok/lombok-ast/0.2.3/lombok-ast-0.2.3.pom\nDownload https://repo1.maven.org/maven2/com/android/tools/external/com-intellij/uast/145.597.4/uast-145.597.4.pom\nDownload https://jcenter.bintray.com/com/android/tools/annotations/25.2.3/annotations-25.2.3.pom\nDownload https://repo1.maven.org/maven2/com/google/guava/guava/18.0/guava-18.0.pom\nDownload https://repo1.maven.org/maven2/com/google/guava/guava-parent/18.0/guava-parent-18.0.pom\nDownload https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.jar\nDownload https://jcenter.bintray.com/com/android/tools/build/gradle-core/2.2.3/gradle-core-2.2.3.jar\nDownload https://jcenter.bintray.com/com/android/tools/build/builder/2.2.3/builder-2.2.3.jar\nDownload https://jcenter.bintray.com/com/android/tools/lint/lint/25.2.3/lint-25.2.3.jar\nDownload https://repo1.maven.org/maven2/com/android/tools/build/transform-api/2.0.0-deprecated-use-gradle-api/transform-api-2.0.0-deprecated-use-gradle-api.jar\nDownload https://jcenter.bintray.com/com/android/tools/build/gradle-api/2.2.3/gradle-api-2.2.3.jar\nDownload https://jcenter.bintray.com/com/android/databinding/compilerCommon/2.2.3/compilerCommon-2.2.3.jar\nDownload https://repo1.maven.org/maven2/org/ow2/asm/asm/5.0.4/asm-5.0.4.jar\nDownload https://repo1.maven.org/maven2/org/ow2/asm/asm-commons/5.0.4/asm-commons-5.0.4.jar\nDownload https://repo1.maven.org/maven2/net/sf/proguard/proguard-gradle/5.2.1/proguard-gradle-5.2.1.jar\nDownload https://repo1.maven.org/maven2/org/jacoco/org.jacoco.core/0.7.5.201505241946/org.jacoco.core-0.7.5.201505241946.jar\nDownload https://repo1.maven.org/maven2/org/jacoco/org.jacoco.report/0.7.5.201505241946/org.jacoco.report-0.7.5.201505241946.jar\nDownload https://repo1.maven.org/maven2/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.jar\nDownload https://repo1.maven.org/maven2/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar\nDownload https://repo1.maven.org/maven2/org/antlr/antlr/3.5.2/antlr-3.5.2.jar\nDownload https://jcenter.bintray.com/com/android/tools/build/builder-model/2.2.3/builder-model-2.2.3.jar\nDownload https://jcenter.bintray.com/com/android/tools/build/builder-test-api/2.2.3/builder-test-api-2.2.3.jar\nDownload https://jcenter.bintray.com/com/android/tools/sdklib/25.2.3/sdklib-25.2.3.jar\nDownload https://jcenter.bintray.com/com/android/tools/sdk-common/25.2.3/sdk-common-25.2.3.jar\nDownload https://jcenter.bintray.com/com/android/tools/common/25.2.3/common-25.2.3.jar\nDownload https://jcenter.bintray.com/com/android/tools/build/manifest-merger/25.2.3/manifest-merger-25.2.3.jar\nDownload https://jcenter.bintray.com/com/android/tools/ddms/ddmlib/25.2.3/ddmlib-25.2.3.jar\nDownload https://repo1.maven.org/maven2/com/android/tools/jack/jack-api/0.11.0/jack-api-0.11.0.jar\nDownload https://repo1.maven.org/maven2/com/android/tools/jill/jill-api/0.10.0/jill-api-0.10.0.jar\nDownload https://jcenter.bintray.com/com/android/tools/analytics-library/protos/25.2.3/protos-25.2.3.jar\nDownload https://jcenter.bintray.com/com/android/tools/analytics-library/shared/25.2.3/shared-25.2.3.jar\nDownload https://jcenter.bintray.com/com/android/tools/analytics-library/tracker/25.2.3/tracker-25.2.3.jar\nDownload https://repo1.maven.org/maven2/com/squareup/javawriter/2.5.0/javawriter-2.5.0.jar\nDownload https://repo1.maven.org/maven2/org/bouncycastle/bcpkix-jdk15on/1.48/bcpkix-jdk15on-1.48.jar\nDownload https://repo1.maven.org/maven2/org/bouncycastle/bcprov-jdk15on/1.48/bcprov-jdk15on-1.48.jar\nDownload https://repo1.maven.org/maven2/org/ow2/asm/asm-tree/5.0.4/asm-tree-5.0.4.jar\nDownload https://jcenter.bintray.com/com/android/tools/lint/lint-checks/25.2.3/lint-checks-25.2.3.jar\nDownload https://repo1.maven.org/maven2/org/eclipse/jdt/core/compiler/ecj/4.5.1/ecj-4.5.1.jar\nDownload https://jcenter.bintray.com/com/android/databinding/baseLibrary/2.2.3/baseLibrary-2.2.3.jar\nDownload https://repo1.maven.org/maven2/org/antlr/antlr4/4.5.3/antlr4-4.5.3.jar\nDownload https://repo1.maven.org/maven2/commons-io/commons-io/2.4/commons-io-2.4.jar\nDownload https://repo1.maven.org/maven2/com/googlecode/juniversalchardet/juniversalchardet/1.0.3/juniversalchardet-1.0.3.jar\nDownload https://repo1.maven.org/maven2/net/sf/proguard/proguard-base/5.2.1/proguard-base-5.2.1.jar\nDownload https://repo1.maven.org/maven2/org/ow2/asm/asm-debug-all/5.0.1/asm-debug-all-5.0.1.jar\nDownload https://repo1.maven.org/maven2/org/antlr/antlr-runtime/3.5.2/antlr-runtime-3.5.2.jar\nDownload https://repo1.maven.org/maven2/org/antlr/ST4/4.0.8/ST4-4.0.8.jar\nDownload https://jcenter.bintray.com/com/android/tools/layoutlib/layoutlib-api/25.2.3/layoutlib-api-25.2.3.jar\nDownload https://jcenter.bintray.com/com/android/tools/dvlib/25.2.3/dvlib-25.2.3.jar\nDownload https://jcenter.bintray.com/com/android/tools/repository/25.2.3/repository-25.2.3.jar\nDownload https://repo1.maven.org/maven2/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar\nDownload https://repo1.maven.org/maven2/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar\nDownload https://repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.1.1/httpclient-4.1.1.jar\nDownload https://repo1.maven.org/maven2/org/apache/httpcomponents/httpmime/4.1/httpmime-4.1.jar\nDownload https://repo1.maven.org/maven2/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.jar\nDownload https://jcenter.bintray.com/com/android/tools/lint/lint-api/25.2.3/lint-api-25.2.3.jar\nDownload https://repo1.maven.org/maven2/org/ow2/asm/asm-analysis/5.0.4/asm-analysis-5.0.4.jar\nDownload https://repo1.maven.org/maven2/com/intellij/annotations/12.0/annotations-12.0.jar\nDownload https://repo1.maven.org/maven2/com/google/jimfs/jimfs/1.1/jimfs-1.1.jar\nDownload https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcore/4.1/httpcore-4.1.jar\nDownload https://repo1.maven.org/maven2/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar\nDownload https://repo1.maven.org/maven2/commons-codec/commons-codec/1.4/commons-codec-1.4.jar\nDownload https://repo1.maven.org/maven2/com/android/tools/external/lombok/lombok-ast/0.2.3/lombok-ast-0.2.3.jar\nDownload https://repo1.maven.org/maven2/com/android/tools/external/com-intellij/uast/145.597.4/uast-145.597.4.jar\nDownload https://jcenter.bintray.com/com/android/tools/annotations/25.2.3/annotations-25.2.3.jar\nDownload https://repo1.maven.org/maven2/com/google/guava/guava/18.0/guava-18.0.jar\nnull\nThe Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.\n\tat build_ciav7vyreup4dupu9xf715cwl.run(/workspace/platforms/android/build.gradle:139)\norg.xwalk:xwalk_core_library:23+\n\nBUILD FAILED\n\nTotal time: 11.88 secs\n’,
code: 1 }


#4

what do you use? construct 2/3 or some framework?


#5

I am using construct 2 and the game is compiling fine in webview in v2.2.0 but in webview plus it shows the error i posted above even with v2.1.0


#6

so now it works? in the case in 2.1.0 try to use Canvas+


#7

Dont want to use canvas plus, dont want the splash and many plugins stop working with it so i only want webview plus to work and no its not working yet!


#8

to me canvas works very well which plugins do you use?


#9

Canvas plus just wont work for me, it does not support webrtc either and i need multiplayer to work,
I just want webview plus to work, tell me if their is a way please…
And why cocoon team is not responding i am so shocked, months havr gone and they just dont reply…


#10

at this point I suggest you use Phonegap


#11

Isn’t phonegap performance similar to cocoon webview?
Or is phonegap performance better like in cocoon webview plus???


#12

maybe now how it is put Cocoon is better phonegap but it has no plugin for constrcut 2 instead Cocoon has the Ads and others


#13

I would like to use phonegap but I do not know if there are plugins for this


#14

at least until cocoon is fixed


#15

Yeah i wanted to use phonegap too but the plugins is a major problem plus i dont think the performance is any better than cocoon webview…in which i am already able to compile, so sticking to cocoon still
May be waiting is the only choice left for us


#16

I tried it but for me it was a problem for plugins


#17

however phonegap works well


#18

i tried it too today, it works just as cocoon webview (performance wise) and it i cant use cocoon ads so… i think i will wait more for cocoon to get stable…


#19

also right now i am stuck with compiling app for a day now,
It is stuck on “android waiting”
any clues n how to cancel a build?


#20

no there is no way it does not work at this time … to me is from yesterday that this problem … hopefully solve soon … now I tried to export with phonegap … I inserted the admob plugin cocoon