fix Android example app

This commit is contained in:
Nick Fisher
2023-09-19 17:48:54 +08:00
parent 0e51deb31c
commit 791ac0504d
133 changed files with 21 additions and 11741 deletions

View File

@@ -15,10 +15,8 @@ class HotReloadPathHelper {
val files = File(packagePath).walkBottomUp().filter {
it.path.endsWith(path)
}.sortedBy {
Log.v("FFI", it.path.toString())
it.lastModified()
}.toList()
Log.v("FFI", files.size.toString())
if(files.size > 0)
return files.last().path;
return null;