skip to Main Content

Please check D:Flutter ProjectsYT_Tutorial_Pkg_Dropdown_Search-mainYT_Tutorial_Pkg_Dropdown_Search-mainandroidAndroidManifest.xml for errors.
No application found for TargetPlatform.android_x86.
Is your project missing an androidAndroidManifest.xml?
Consider running "flutter create ." to create one.

I dont know why this is not running

2

Answers


  1. Chances are that your android manifest is missing certain items from the intent filter session. Confirm you have the below in your android manifest. Where you don’t, ensure to add it.

    <intent-filter>
                    <action android:name="android.intent.action.MAIN"/>
                    <category android:name="android.intent.category.LAUNCHER"/>
                </intent-filter>
    

    Do a flutter clean and run the application again.

    In cases where the above do not work, do the following:

    • Delete the android folder
    • Open a terminal instance in the project root directory
    • Run the command flutter create .

    This should create the android folder again with the correct settings.

    Login or Signup to reply.
  2. You have a very narrow question. I can see that you are using windows OS for development. Even though your question is poorly constructed. I will suggest to check your path:

    You have given a path of :

    D:Flutter ProjectsYT_Tutorial_Pkg_Dropdown_Search-mainYT_Tutorial_Pkg_Dropdown_Search-mainandroidAndroidManifest.xml
    

    Try the path:

    D:Flutter ProjectsYT_Tutorial_Pkg_Dropdown_Search-mainandroidAndroidManifest.xml
    

    most probably the issue is you have passed wrong path the the command, as I can see YT_Tutorial_Pkg_Dropdown_Search-main repeated twice. check that out. if it works, give me a 👍

    also one suggestion. try to keep your folder names in lower_case. they are easy to read. and use underscrore(_) rather then hypnes ( - ).

    Happy Coding!

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search