After updating Android studio to chipmunk existing project not working

Issue

Hello friend i am working on flutter project now recently i update my android studio to chipmunk after updating i am unable to run my existing flutter project on android before updating it work image is shown below while they opening xcode module only for ios but not for android and if i created any new flutter project it work on both please check image below and let me know what is issue?here android module is not opening shownn image below flutter icon disable

xcode module is working for ios

Solution

You can go to the File -> invalid caches and restart. Then open any file from android folder and when you open any file then you can see hint like open for editing in android studio.

EDIT

create a file in android studio inside android name
enter image description here

copy & paste bellow code in that file

<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
  <component name="NewModuleRootManager" inherit-compiler-output="true">
    <exclude-output />
    <content url="file://$MODULE_DIR$">
      <excludeFolder url="file://$MODULE_DIR$/build" />
      <excludeFolder url="file://$MODULE_DIR$/.pub" />
      <excludeFolder url="file://$MODULE_DIR$/.dart_tool" />
    </content>
    <orderEntry type="sourceFolder" forTests="false" />
    <orderEntry type="library" name="Dart SDK" level="project" />
    <orderEntry type="library" name="Dart Packages" level="project" />
  </component>
</module>

Answered By – Hardik Mehta

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published