Created
July 6, 2019 18:28
-
-
Save hgodinez89/eb7c509e358ef90f896510649ca06045 to your computer and use it in GitHub Desktop.
Generar apk de 64 bits en build.gradle de Android Flutter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
afterEvaluate { | |
mergeReleaseJniLibFolders.doLast { | |
def archTypes = ["arm-release", "arm64-release"] | |
archTypes.forEach { item -> | |
copy { | |
from zipTree("$flutterRoot/bin/cache/artifacts/engine/android-$item/flutter.jar") | |
include 'lib/*/libflutter.so' | |
into "$buildDir/intermediates/jniLibs/release/" | |
eachFile { | |
it.path = it.path.replaceFirst("lib/", "") | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment