Skip to content

handoing/flutter_compile_dynamic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter_compile_dynamic

Test the replacement libapp.so of Flutter in Android.

Platform

Getting Started

// MyFlutterMain.java
File dir = applicationContext.getDir("libs", Activity.MODE_PRIVATE);
String libPath =  dir.getAbsolutePath() + File.separator + "libapp.so";
shellArgs.add("--aot-shared-library-name=" + libPath);

run adb push commend

adb push xxx/lib/libapp.so /storage/emulated/0/

Note

Only build release is supported

About

Test the replacement libapp.so of Flutter in Android.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published