title: how to change the path of keystore to build release mode in Flutter app?
body: <p>I try to install android app on my real device using release mode using</p>
  <pre><code>flutter run --release
  </code></pre>
  <p>or build an APK using</p>
  <pre><code>flutter build apk
  </code></pre>
  <p>but I have this error in my Flutter app</p>
  <blockquote>
  <p>Execution failed for task ':app:validateSigningRelease'.
  Keystore file '/Users/myName/Documents/thisIsTheOldPath/my_keystore' not found for signing config 'release'.</p>
  </blockquote>
  <p>I am using Mac. previously I change the location of my keystore, but when I run the app, the system still pointing to the old path. how to change the path of my keystore? so I can run my app in release mode using the latest keystore path</p>
  <p>I have tried to search on Stackoverflow, from this thread <a href="https://stackoverflow.com/questions/62173655/keystore-not-found-for-signing-config-release">in here</a> . it seems the path is in in <code>key.properties</code> file, but I can't find <code>key.properties</code> file in my Android directory like so:</p>
  <p><a href="https://i.stack.imgur.com/N1xbz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/N1xbz.png" alt="enter image description here" /></a></p>