Execution failed for task ':app:preDebugBuild'How to add OpenCV in Flutter PluginExecution failed for task ':app:preDebugBuild'.in FlutterVideo_player could not find exoplayer, error with GradleApp crashed after adding flutter firebase auth uiHow to solve duplicate classes issue for Flutter?Unable to execute flutter doctor commandExecution failed for task ':app:processDebugResources'. in flutterFinished with error: Gradle task assembleDebug failed with exit code 1Why does the Flutter build failed with the error Could not resolve all files for configuration ':app:debugRuntimeClasspath'Build failed with an exception Execution failed for task ':app:processDebugResources'. >

Magento2: Custom module not working

ESTA Elegible after Qatar?

How does mmorpg store data?

Would skyscrapers tip over if people fell sideways?

Do electrons really perform instantaneous quantum leaps?

Customs and immigration on a USA-UK-Sweden flight itinerary

How to track mail undetectably?

Is having 4 bed leveling adjustment points rather than 3 problematic?

A quine of sorts

Where to connect the fuse and why?

How far can gerrymandering go?

Tricolour nonogram

What does 5d4 x 10 gp mean?

Rear derailleur got caught in the spokes, what could be a root cause

What was the point of separating stdout and stderr?

Fast method to cut/shred glue stick into small pieces

What is the meaning of 'shout over' in a sentence exactly?

Russian equivalents of 能骗就骗 (if you can cheat, then cheat)

Have any large aeroplanes been landed — safely and without damage — in locations that they could not be flown away from?

How do banks maintain reserves?

Are some intrument combinations incompatible?

What verb for taking advantage fits in "I don't want to ________ on the friendship"?

Is leaving out prefixes like "rauf", "rüber", "rein" when describing movement considered a big mistake in spoken German?

Two palindromes are not enough



Execution failed for task ':app:preDebugBuild'


How to add OpenCV in Flutter PluginExecution failed for task ':app:preDebugBuild'.in FlutterVideo_player could not find exoplayer, error with GradleApp crashed after adding flutter firebase auth uiHow to solve duplicate classes issue for Flutter?Unable to execute flutter doctor commandExecution failed for task ':app:processDebugResources'. in flutterFinished with error: Gradle task assembleDebug failed with exit code 1Why does the Flutter build failed with the error Could not resolve all files for configuration ':app:debugRuntimeClasspath'Build failed with an exception Execution failed for task ':app:processDebugResources'. >













0















I'm working on a route map app with Flutter using google_maps_webservice,location,map_view package after run



Launching libmain.dart on SAMSUNG SM G530AZ in debug mode...
Initializing gradle...
Resolving dependencies...
Running Gradle task 'assembleDebug'...



FAILURE: Build failed with an exception.




  • What went wrong:
    Execution failed for task ':app:preDebugBuild'.




    Android dependency 'com.google.android.gms:play-services-base' has different version for the compile (15.0.1) and runtime (16.0.1) classpath. You should manually set the same version via DependencyResolution




  • 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 11s
Finished with error: Gradle task assembleDebug failed with exit code 1










share|improve this question


























    0















    I'm working on a route map app with Flutter using google_maps_webservice,location,map_view package after run



    Launching libmain.dart on SAMSUNG SM G530AZ in debug mode...
    Initializing gradle...
    Resolving dependencies...
    Running Gradle task 'assembleDebug'...



    FAILURE: Build failed with an exception.




    • What went wrong:
      Execution failed for task ':app:preDebugBuild'.




      Android dependency 'com.google.android.gms:play-services-base' has different version for the compile (15.0.1) and runtime (16.0.1) classpath. You should manually set the same version via DependencyResolution




    • 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 11s
    Finished with error: Gradle task assembleDebug failed with exit code 1










    share|improve this question
























      0












      0








      0








      I'm working on a route map app with Flutter using google_maps_webservice,location,map_view package after run



      Launching libmain.dart on SAMSUNG SM G530AZ in debug mode...
      Initializing gradle...
      Resolving dependencies...
      Running Gradle task 'assembleDebug'...



      FAILURE: Build failed with an exception.




      • What went wrong:
        Execution failed for task ':app:preDebugBuild'.




        Android dependency 'com.google.android.gms:play-services-base' has different version for the compile (15.0.1) and runtime (16.0.1) classpath. You should manually set the same version via DependencyResolution




      • 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 11s
      Finished with error: Gradle task assembleDebug failed with exit code 1










      share|improve this question














      I'm working on a route map app with Flutter using google_maps_webservice,location,map_view package after run



      Launching libmain.dart on SAMSUNG SM G530AZ in debug mode...
      Initializing gradle...
      Resolving dependencies...
      Running Gradle task 'assembleDebug'...



      FAILURE: Build failed with an exception.




      • What went wrong:
        Execution failed for task ':app:preDebugBuild'.




        Android dependency 'com.google.android.gms:play-services-base' has different version for the compile (15.0.1) and runtime (16.0.1) classpath. You should manually set the same version via DependencyResolution




      • 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 11s
      Finished with error: Gradle task assembleDebug failed with exit code 1







      flutter-dependencies






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 25 at 15:40









      STEPHANE DEGRASSTEPHANE DEGRAS

      31 bronze badge




      31 bronze badge




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Finaly after sevral day i've found, the package map_view have many dependencies conflict between the migration androidX and android.support: so instead of continue using mapview I'm using cirrus_map_view the correction version of map_view and it work!






          share|improve this answer






















            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55341466%2fexecution-failed-for-task-apppredebugbuild%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Finaly after sevral day i've found, the package map_view have many dependencies conflict between the migration androidX and android.support: so instead of continue using mapview I'm using cirrus_map_view the correction version of map_view and it work!






            share|improve this answer



























              0














              Finaly after sevral day i've found, the package map_view have many dependencies conflict between the migration androidX and android.support: so instead of continue using mapview I'm using cirrus_map_view the correction version of map_view and it work!






              share|improve this answer

























                0












                0








                0







                Finaly after sevral day i've found, the package map_view have many dependencies conflict between the migration androidX and android.support: so instead of continue using mapview I'm using cirrus_map_view the correction version of map_view and it work!






                share|improve this answer













                Finaly after sevral day i've found, the package map_view have many dependencies conflict between the migration androidX and android.support: so instead of continue using mapview I'm using cirrus_map_view the correction version of map_view and it work!







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 29 at 2:50









                STEPHANE DEGRASSTEPHANE DEGRAS

                31 bronze badge




                31 bronze badge
















                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55341466%2fexecution-failed-for-task-apppredebugbuild%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                    Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript