Flutter.sdk not set in local.properties. expression: (fluttersdkpath != null). values: fluttersdkpath = null

Error: flutter.sdk not set in local.properties

The error message “flutter.sdk not set in local.properties” indicates that the path to the Flutter SDK is not configured correctly in the local.properties file of your project.

To resolve this issue, you need to set the Flutter SDK path in the local.properties file. Follow the steps below:

  1. Open your project in a text editor or IDE.
  2. Navigate to the android directory within your project.
  3. Locate the file named local.properties.
  4. Open the local.properties file.
  5. Add the following line to the file:

Replace “path/to/flutter/sdk” with the actual path to your Flutter SDK directory.

After setting the correct Flutter SDK path, save the local.properties file and rebuild your project. This should resolve the “flutter.sdk not set in local.properties” error.


Let’s say your Flutter SDK is located at:


In this case, you would add the following line to the local.properties file:


Leave a comment