Unverified Commit 3f9d08a0 authored by shihchanghsiungsonos's avatar shihchanghsiungsonos Committed by GitHub

Fix the issue of Can't find \android\app${assetsDirectory} #50913 (#51158)

parent bf8e2c14
......@@ -650,7 +650,7 @@ class FlutterPlugin implements Plugin<Project> {
doLast {
project.exec {
if (Os.isFamily(Os.FAMILY_WINDOWS)) {
commandLine('cmd', '/c', 'attrib -r ${assetsDirectory}/* /s')
commandLine('cmd', '/c', "attrib -r ${assetsDirectory}/* /s")
} else {
commandLine('chmod', '-R', 'u+w', assetsDirectory)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment