rename icon indicating copy to clipboard operation
rename copied to clipboard

RenamePlatform.android. Details: PathNotFoundException: Cannot open file, path = 'android/app/build.gradle'

Open abdu292 opened this issue 1 week ago • 0 comments

Rename fails with the following error.

It looks like, the new flutter template doesn't seem to have "build.gradle" file any more, instead now we have "build.gradle.kts".

Any help from someone would be greatly appreciated. Thanks!


 main (file:///C:/Users/abdu2/AppData/Local/Pub/Cache/hosted/pub.dev/rename-3.0.2/bin/rename.dart:28:12)
│ #1   <asynchronous suspension>
├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
│ ⛔ CustomException: Oops! We encountered an issue while reading the file at path: android\app\build.gradle for platform: RenamePlatform.android. Details: PathNotFoundException: Cannot open file, path = 'android\app\build.gradle' (OS Error: The system cannot find the file specified.
│ ⛔ , errno = 2)


abdu292 avatar Feb 15 '25 16:02 abdu292