AssetsRefGenerator icon indicating copy to clipboard operation
AssetsRefGenerator copied to clipboard

Current directory does not seem to be a valid Flutter project directory.

Open chihung93 opened this issue 5 years ago • 1 comments

Screen Shot 2020-09-24 at 16 54 44 Screen Shot 2020-09-24 at 16 56 12 Screen Shot 2020-09-24 at 16 56 21

I can not generate Res.dart on my project anymore

chihung93 avatar Sep 24 '20 09:09 chihung93

Check your project if include theses files

checkFiles = new ArrayList<>(); checkFiles.add("lib"); checkFiles.add(".metadata"); checkFiles.add(".packages"); checkFiles.add("pubspec.lock"); checkFiles.add("pubspec.yaml");

https://github.com/ChinaStyle812/AssetsRefGenerator/blob/master/src/com/shenyong/flutter/checker/ProjChecker.java

if you have theses files and the tool will determine that you are the correct flutter project

20156284 avatar Jan 16 '21 07:01 20156284