WebView2 BUILD FAILED when build apk

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • > Task :app:preBuild UP-TO-DATE
    > Task :app:preDebugBuild UP-TO-DATE
    > Task :app:compileDebugAidl NO-SOURCE
    > Task :app:compileDebugRenderscript NO-SOURCE
    > Task :app:generateDebugBuildConfig
    > Task :app:javaPreCompileDebug
    > Task :app:generateDebugResValues
    > Task :app:generateDebugResources
    > Task :app:checkDebugAarMetadata
    > Task :app:createDebugCompatibleScreenManifests
    > Task :app:extractDeepLinksDebug
    > Task :app:processDebugMainManifest
    > Task :app:processDebugManifest
    > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
    > Task :app:mergeDebugShaders
    > Task :app:compileDebugShaders NO-SOURCE
    > Task :app:generateDebugAssets UP-TO-DATE
    > Task :app:mergeDebugResources
    > Task :app:mergeDebugAssets
    > Task :app:compressDebugAssets
    > Task :app:processDebugJavaRes NO-SOURCE
    > Task :app:checkDebugDuplicateClasses
    > Task :app:mergeDebugJavaResource
    > Task :app:desugarDebugFileDependencies
    > Task :app:mergeDebugJniLibFolders
    > Task :app:processDebugManifestForPackage
    > Task :app:validateSigningDebug
    > Task :app:writeDebugAppMetadata
    > Task :app:writeDebugSigningConfigVersions
    > Task :app:mergeDebugNativeLibs
    > Task :app:mergeExtDexDebug

    > Task :app:stripDebugDebugSymbols
    Unable to strip the following libraries, packaging them as they are: libES1Renderer.so, libES2Renderer.so, libES3Renderer.so, libRuntimeNative.so, libgdx.so.
    aapt2.exe W 07-23 08:02:11 12232 10148 LoadedArsc.cpp:682] Unknown chunk type '200'.


    > Task :app:processDebugResources

    > Task :app:compileDebugJavaWithJavac FAILED
    C:\Users\pradeep\AppData\Local\Temp\AndEA6B.tmp\app\src\main\java\Extensions\CRunWebView2.java:39: error: package androidx.webkit does not exist
    import androidx.webkit.WebViewClientCompat;
    ^
    C:\Users\pradeep\AppData\Local\Temp\AndEA6B.tmp\app\src\main\java\Extensions\CRunWebView2.java:603: error: cannot find symbol
    myWebView.setWebViewClient(new WebViewClientCompat() {
    ^
    symbol: class WebViewClientCompat
    location: class CRunWebView2
    C:\Users\pradeep\AppData\Local\Temp\AndEA6B.tmp\app\src\main\java\Extensions\CRunWebView2.java:605: error: method does not override or implement a method from a supertype
    @Override
    ^
    C:\Users\pradeep\AppData\Local\Temp\AndEA6B.tmp\app\src\main\java\Extensions\CRunWebView2.java:668: error: method does not override or implement a method from a supertype
    @Override
    ^
    C:\Users\pradeep\AppData\Local\Temp\AndEA6B.tmp\app\src\main\java\Extensions\CRunWebView2.java:670: error: cannot find symbol
    super.onScaleChanged(view, oldScale, newScale);
    ^
    symbol: method onScaleChanged(WebView,float,float)
    C:\Users\pradeep\AppData\Local\Temp\AndEA6B.tmp\app\src\main\java\Extensions\CRunWebView2.java:674: error: method does not override or implement a method from a supertype
    @Override
    ^
    C:\Users\pradeep\AppData\Local\Temp\AndEA6B.tmp\app\src\main\java\Extensions\CRunWebView2.java:727: error: method does not override or implement a method from a supertype
    @Override
    ^
    C:\Users\pradeep\AppData\Local\Temp\AndEA6B.tmp\app\src\main\java\Extensions\CRunWebView2.java:748: error: method does not override or implement a method from a supertype
    @Override
    ^
    C:\Users\pradeep\AppData\Local\Temp\AndEA6B.tmp\app\src\main\java\Extensions\CRunWebView2.java:762: error: method does not override or implement a method from a supertype
    @Override
    ^
    C:\Users\pradeep\AppData\Local\Temp\AndEA6B.tmp\app\src\main\java\Extensions\CRunWebView2.java:765: error: cannot find symbol
    super.onReceivedSslError(view, handler, error);
    ^
    symbol: method onReceivedSslError(WebView,SslErrorHandler,SslError)
    C:\Users\pradeep\AppData\Local\Temp\AndEA6B.tmp\app\src\main\java\Extensions\CRunWebView2.java:769: error: method does not override or implement a method from a supertype
    @Override
    ^
    C:\Users\pradeep\AppData\Local\Temp\AndEA6B.tmp\app\src\main\java\Extensions\CRunWebView2.java:772: error: cannot find symbol
    super.onReceivedHttpError(view, request, errorResponse);
    ^
    symbol: method onReceivedHttpError(WebView,WebResourceRequest,WebResourceResponse)
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    12 errors

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':app:compileDebugJavaWithJavac'.
    > 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. Run with --scan to get full insights.

    * Get more help at Please login to see this link.

    BUILD FAILED in 7s
    25 actionable tasks: 25 executed

  • Bonjour je pense que avec la mis a jour de la version 294.4 aurai mis a jour l extension WebView j ai du lance gestionnaire d’extension pour qu'elle refonctionne si je mais L API au dessus des 30 (31 ou 32) a ce moment de la compilation j ai le message d 'erreur.
    Hello I think that with the update of version 294.4 will have updated the WebView extension I had to launch extension manager so that it works again if I but the API above 30 (31 or 32) at this time of the compilation I have the error message.

    mais jeux en flash fait avec mmf :Please login to see this link.

    les video du projet controleur des jeux flash,htlm5,EXE,sourie avec le telephone comme manette :)
    VIDEO Please login to see this link.

    VIDEO Please login to see this link.

  • Je parle bien de l'extension Webview2 si on mais L api en 31 ou 32 j ai l erreur.
    I'm talking about the Webview2 extension if we but the API in 31 or 32 I have the error.

    mais jeux en flash fait avec mmf :Please login to see this link.

    les video du projet controleur des jeux flash,htlm5,EXE,sourie avec le telephone comme manette :)
    VIDEO Please login to see this link.

    VIDEO Please login to see this link.

  • Bonjour Fernando voici les deux journal des erreurs api 31 et 32
    je suis en version fusion 2.5+ dev build 294.4
    jdk1.8.0_341
    je utile la version Android en Ligne de commande et pas Android studio.
    les platforms installe sont API 28,29,30,31,32
    réglage des paramètres Android
    minimum 4.4
    maxi 12
    version Webview2 v2.3

  • Hello Fernando here are the two api error log 31 and 32
    I'm on fusion version 2.5+ dev build 294.4
    jdk1.8.0_341
    I use the Android Command Line version and not Android studio.
    the platforms installed are API 28,29,30,31,32
    android settings adjustment
    at least 4.4
    max 12
    version Webview2 v2.3

    mais jeux en flash fait avec mmf :Please login to see this link.

    les video du projet controleur des jeux flash,htlm5,EXE,sourie avec le telephone comme manette :)
    VIDEO Please login to see this link.

    VIDEO Please login to see this link.

  • Problem is not the object or runtime, seems something off with java SDK version

    An exception has occurred in the compiler (1.8.0_341). Please file a bug against the Java compiler via the Java bug reporting page (Please login to see this link.) after checking the Bug Database (Please login to see this link.) for duplicates. Include your program and the following diagnostic in your report. Thank you.

    java.lang.AssertionError: annotationType(): unrecognized Attribute name MODULE (class com.sun.tools.javac.util.UnsharedNameTable$NameImpl)


    Can you help me to test something different in your case?

    Reduce to version 332 or 331 (original java from Oracle) or install OpenJDK from here Please login to see this link.


    it is becoming now, more than ever that android prefers to use their OpenJDK (the one that comes with android studio) instead of using java from oracle

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  • Bonjour
    voici le retour tu test ou lieur d’installé la version 331 j ai décompresse le OPENJDK et change les paramètre dans fusion et fait un test de compilation avec webview2 avec API 32 et Android cible 12 et la compilation c est bien fini en APK ou ABB.
    comme vous le dit il faut que l'on utiliser OpenJDK.
    grand merci Fernando
    Petit question je toi aussi change les propriétés des variables d’environnement JAVA_HOME pour lui donne le nouveau chemin de OpenSDK ?

    Hello
    here is the return you test or linker installed version 331 I unpacked the OPENJDK and changed the parameters in fusion and did a compilation test with webview2 with API 32 and Android target 12 and the compilation is finished in APK or ABB .
    as you said, we must use OpenJDK.
    big thank you fernando
    Little question, can I also change the properties of the JAVA_HOME environment variables to give it the new OpenSDK path?

    mais jeux en flash fait avec mmf :Please login to see this link.

    les video du projet controleur des jeux flash,htlm5,EXE,sourie avec le telephone comme manette :)
    VIDEO Please login to see this link.

    VIDEO Please login to see this link.

  • Merci je fait laisse le chemin du java home sur le jdk1.8.0_341 vus que fusion ne utilise pas.
    Thank you I left the java home path on the jdk1.8.0_341 seen that fusion does not use.

    mais jeux en flash fait avec mmf :Please login to see this link.

    les video du projet controleur des jeux flash,htlm5,EXE,sourie avec le telephone comme manette :)
    VIDEO Please login to see this link.

    VIDEO Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!