Unverified Commit 07e24f6d authored by Chris Yang's avatar Chris Yang Committed by GitHub

[flutter_tool] fix ide-config crash because of no android key (#60617)

parent c639c93f
......@@ -236,6 +236,7 @@ class IdeConfigCommand extends FlutterCommand {
int generatedCount = 0;
generatedCount += _renderTemplate(_ideName, dirPath, <String, dynamic>{
'withRootModule': boolArg('with-root-module'),
'android': true,
});
globals.printStatus('Wrote $generatedCount files.');
......
......@@ -52,6 +52,7 @@ void main() {
globals.fs.path.join(basePath, '.idea', 'runConfigurations', 'hello_world.xml$suffix'): 'hello_world $marker',
globals.fs.path.join(basePath, 'flutter.iml$suffix'): 'flutter $marker',
globals.fs.path.join(basePath, 'packages', 'new', 'deep.iml$suffix'): 'deep $marker',
globals.fs.path.join(basePath, 'example', 'gallery', 'android.iml$suffix'): 'android $marker',
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment