Reputation: 23
def localProperties = new **Properties()**
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new **FileNotFoundException**("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
I am getting an error of Properties() class and FileNotFoundException. I got this error after trying to change my application Id. how can I solve this issue.
Upvotes: 1
Views: 127