Skip to content

Commit

Permalink
bug fix: fix split so path
Browse files Browse the repository at this point in the history
  • Loading branch information
kissonchan committed Dec 25, 2019
1 parent 6bf8aa9 commit 477ca79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public static boolean loadSplitLibrary(Context context, String libraryName) {
for (SplitInfo.LibInfo.Lib lib : libs) {
if (lib.getName().equals(System.mapLibraryName(libraryName))) {
if (context instanceof Application) {
String libPath = SplitPathManager.require().getSplitDir(info).getAbsolutePath() + File.separator + lib.getName();
String libPath = SplitPathManager.require().getSplitLibDir(info).getAbsolutePath() + File.separator + lib.getName();
try {
System.load(libPath);
return true;
Expand Down

0 comments on commit 477ca79

Please sign in to comment.