fix: should fix picking wrong jni lib.

This commit is contained in:
Aunali321 2022-09-15 01:42:46 +05:30 committed by GitHub
parent cc72289bcb
commit 6e4837da27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,4 +9,4 @@ object Aapt {
}
}
private fun File.resolveAapt() = resolve(list { _, f -> !File(f).isDirectory }!!.first())
private fun File.resolveAapt() = resolve(list { _, f -> !File(f).isDirectory && file.contains("aapt") }!!.first())