User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14

Thread: WebView2 BUILD FAILED when build apk

  1. #1
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleFirefly 3D ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    pradeep's Avatar
    Join Date
    Dec 2013
    Location
    India
    Posts
    400
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)

    WebView2 BUILD FAILED when build apk

    > 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\ap p\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\ap p\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\ap p\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\ap p\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\ap p\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\ap p\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\ap p\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\ap p\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\ap p\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\ap p\src\main\java\Extensions\CRunWebView2.java:765: error: cannot find symbol
    super.onReceivedSslError(view, handler, error);
    ^
    symbol: method onReceivedSslError(WebView,SslErrorHandler,SslErro r)
    C:\Users\pradeep\AppData\Local\Temp\AndEA6B.tmp\ap p\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\ap p\src\main\java\Extensions\CRunWebView2.java:772: error: cannot find symbol
    super.onReceivedHttpError(view, request, errorResponse);
    ^
    symbol: method onReceivedHttpError(WebView,WebResourceRequest,Web ResourceResponse)
    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 https://help.gradle.org

    BUILD FAILED in 7s
    25 actionable tasks: 25 executed

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,370
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Which fusion version should this be?
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleFirefly 3D ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    pradeep's Avatar
    Join Date
    Dec 2013
    Location
    India
    Posts
    400
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    Which fusion version should this be?
    Latest version 294.1

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,370
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)

    WebView_294+

    @Pradeep

    PM Sent
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    CapitaineCaverne's Avatar
    Join Date
    Feb 2011
    Location
    Bretigny sur Orge
    Posts
    560
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    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.

  6. #6
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,370
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Webview2 is available in Extension manager
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  7. #7
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    CapitaineCaverne's Avatar
    Join Date
    Feb 2011
    Location
    Bretigny sur Orge
    Posts
    560
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    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.

  8. #8
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,370
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Can you put the error log or a small mfa, seems fine here with both 31 & 32
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  9. #9
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    CapitaineCaverne's Avatar
    Join Date
    Feb 2011
    Location
    Bretigny sur Orge
    Posts
    560
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    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
    Attached files Attached files

  10. #10
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    CapitaineCaverne's Avatar
    Join Date
    Feb 2011
    Location
    Bretigny sur Orge
    Posts
    560
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    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

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Build 293.1 Android Build failed with an exception.
    By piki in forum Android Export Module 2.5
    Replies: 20
    Last Post: 27th November 2021, 04:17 PM
  2. build failed (sometimes)
    By gagegage926 in forum Android Export Module 2.5
    Replies: 9
    Last Post: 14th August 2014, 08:21 AM
  3. BUILD FAILED
    By gregoire0 in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 18th April 2013, 04:05 PM
  4. Build failed
    By Farhan in forum Android Export Module Version 2.0
    Replies: 4
    Last Post: 9th April 2013, 06:09 PM
  5. [RC7] BUILD FAILED
    By Pharanygitis in forum Android Export Module Version 2.0
    Replies: 7
    Last Post: 29th March 2013, 01:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •