Improve invalid android sdk message

Reviewed By: nikoant

Differential Revision: D24993553

fbshipit-source-id: de2044aeac45fa139eef82b2e6785c461b8cfe5a
This commit is contained in:
John Knox
2020-11-16 09:39:50 -08:00
committed by Facebook GitHub Bot
parent d00cb84ad9
commit 2be022663e

View File

@@ -119,7 +119,7 @@ export function getHealthchecks(): Healthchecks {
if (!fs.existsSync(androidHome)) {
return {
hasProblem: true,
message: `ANDROID_HOME points to a folder which does not exist: ${androidHome}.`,
message: `ANDROID_HOME points to a folder which does not exist: ${androidHome}. You can use Flipper Settings (File > Preferences) to point to a different location.`,
};
}
const platformToolsDir = path.join(androidHome, 'platform-tools');