Skip to content

Commit

Permalink
Build: edit Exception in build.gradle for android/app
Browse files Browse the repository at this point in the history
This fixes a warning given off by android studio.
See: flutter/flutter#29608
  • Loading branch information
sungvzer committed Mar 29, 2021
1 parent 7c56c18 commit 1c976cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if (localPropertiesFile.exists()) {

def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
throw new FileNotFoundException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
Expand Down

0 comments on commit 1c976cb

Please sign in to comment.