Skip to main content

Flutter MultiDex Application Error

Error Message

Multidex support is required for your android app to build since the number of methods has exceeded 64k.
 See https://docs.flutter.dev/deployment/android#enabling-multidex-support space-collapse: preserve;"> for more information.
 
You may pass the --no-multidex flag to skip Flutter's multidex support to use a manual solution.Flutter tool can add multidex support. The following file will be added by

flutter: /app/src/main/java/io/flutter/app/FlutterMultiDexApplication.java cannot prompt without a terminal ui 

Error: Gradle task assembleDebug failed with exit code 1

When This Message Occured

This Message I got when i was running flutter firebase application.

Solution

The Problem is About MultiDesk support while running your flutter Application.The solution is simple:

Steps:

  1. If your are running your Application in VSCODE and running your Application in Debug console .or Using key button `F5` .
  2. Open Normal Terminal Run command `flutter run` in your Application folder having pubspec.yaml file.
  3. press 'Y' Key 


Conclusion:

The Solution is very Simple just run flutter run command and your Error In VSCODE and applicati

This Error is simple related to Multidex support while running your Flutter Application.



Comments

Popular posts from this blog

Is Dart easy for Beginners?

Lets look up few question on dart which help us to understand whether dart is easy or not. Introduction: Dart syntax are derived from java,c++ and mostly from javascript.It has c like syntax .Hence it is beginner friendly untill you understand the concept of classes. Hence here are few Questions on Dart programming language. Dart Question Question on Dart 1) For what iterable Collection in dart? Ans : The iterable Collection in dart :The  Iterable  class—for example  List  and  Set.  Iterables are basic building blocks for all sorts of Dart applications, and you’re probably already using them, even without noticing. This codelab helps you make the most out of them. 2 )What are type of loops in dart programming? Ans :/ for in loop ,switch Dart programming language supports several types of loops for controlling the flow of execution. Here are the main types of loops in Dart: For Loop: The for loop is used to iterate a specific number of times. It consists of an initialization, a cond

How To Change The Owner Of A Directory Using Python?

Introduction: To change the permission of a directory or file in python you needed to know two thing your user name and user group you wanted to change I will going to describe in detail how to know your users on your computer and user group present on your computer, whether you are the window or linux or mac. Syntax : There are three main commands we can use are 1st command(main command) os.chown(directory_name,userid,groupid) Parameters: userid - user id is the parameter used to specify the user id. groupid - Is the group id used for specifying the group of the group id. 2nd command: usr.getpwnam(new_owner_user).pw_uid Above function returns user id. when username is passed as argument. 3rd Command: grp.getgrnam(new_owner_group).gr_gid Above function returns group id. when groupname is passed as argument. Sample Program : Python3 import os # Directory path you want to change ownership for directory_path = '/tmp/directory' # New owner user and group new_owner_user = 'ch

Best Linux distros of 2023

  Introduction Linux, the open-source operating system, has a plethora of distributions tailored to diverse user needs. These distributions, or "distros," vary in design, focus, and functionalities, making Linux a versatile choice. In this article, we'll explore ten noteworthy Linux distributions and delve into their unique features and capabilities. Distro 1 - Ubuntu Ubuntu is one of the most popular Linux distributions. It's known for its user-friendly interface and robust community support. Ubuntu is based on Debian and offers a balance between ease of use and powerful features. Features of Ubuntu: Desktop Environment : Utilizes the intuitive GNOME desktop environment, providing a clean and efficient interface. Software Repository: Offers an extensive software repository accessed through the APT package manager, ensuring a vast selection of applications. Security and Updates: Regularly provides updates and security patches to enhance system stability and protect