运行app报错Flutter SDK not found. Define location with flutter.sdk in the local.properties file.找不到sdk路径
因为是直接clone的项目,gradle文件并没有上传,所以在local.properties文件中没有sdk路径,所以直接添加就可以了
sdk.dir=C\:\\xxx\\AppData\\Local\\Android\\Sdk
flutter.sdk=C\:\\xxx\\flutter
运行app报错Flutter SDK not found. Define location with flutter.sdk in the local.properties file.找不到sdk路径
因为是直接clone的项目,gradle文件并没有上传,所以在local.properties文件中没有sdk路径,所以直接添加就可以了
sdk.dir=C\:\\xxx\\AppData\\Local\\Android\\Sdk
flutter.sdk=C\:\\xxx\\flutter