follow up for : [#152073](https://github.com/flutter/flutter/pull/152073)
This commit is contained in:
parent
146ea07abd
commit
936cfb8edc
@ -1423,7 +1423,7 @@ class FlutterPlugin implements Plugin<Project> {
|
||||
filename += "-${buildModeFor(variant.buildType)}"
|
||||
project.copy {
|
||||
from new File("$outputDirectoryStr/${output.outputFileName}")
|
||||
into new File("${project.buildDir}/outputs/flutter-apk")
|
||||
into new File("${project.layout.buildDirectory.dir("outputs/flutter-apk").get()}")
|
||||
rename {
|
||||
return "${filename}.apk"
|
||||
}
|
||||
@ -1431,7 +1431,7 @@ class FlutterPlugin implements Plugin<Project> {
|
||||
}
|
||||
}
|
||||
// Copy the native assets created by build.dart and placed here by flutter assemble.
|
||||
String nativeAssetsDir = "${project.buildDir}/../native_assets/android/jniLibs/lib/"
|
||||
String nativeAssetsDir = "${project.layout.buildDirectory.dir("../native_assets/android/jniLibs/lib").get()}/"
|
||||
project.android.sourceSets.main.jniLibs.srcDir(nativeAssetsDir)
|
||||
}
|
||||
configurePlugins(project)
|
||||
|
Loading…
x
Reference in New Issue
Block a user