File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -418,12 +418,14 @@ fn getAndroidSDKPath(allocator: std.mem.Allocator) error{OutOfMemory}![]const u8
418418 .windows = > {
419419 // First, see if SdkPath in the registry is set
420420 // - Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Android Studio - "SdkPath"
421- // - Computer\KHEY_CURRENT_USER\SOFTWARE\Android Studio - "SdkPath"
421+ // - Computer\KHEY_CURRENT_USER\SOFTWARE\Android Studio - "SdkPath"
422422 const android_studio_sdk_path : []const u8 = blk : {
423423 for ([_ ]windows.HKEY { windows .HKEY_CURRENT_USER , windows .HKEY_LOCAL_MACHINE }) | hkey | {
424424 const key = RegistryWtf8 .openKey (hkey , "SOFTWARE" , .{}) catch | err | switch (err ) {
425425 error .KeyNotFound = > continue ,
426426 };
427+ // NOTE(jae): 2025-05-25 - build.txt file says "AI-243.24978.46.2431.13208083"
428+ // For my install, "SdkPath" is an empty string, so this may not be used anymore.
427429 const sdk_path = key .getString (allocator , "Android Studio" , "SdkPath" ) catch | err | switch (err ) {
428430 error .StringNotFound , error .ValueNameNotFound , error .NotAString = > continue ,
429431 error .OutOfMemory = > return error .OutOfMemory ,
You can’t perform that action at this time.
0 commit comments