Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
[Android] update jsc.so
Browse files Browse the repository at this point in the history
  • Loading branch information
lucky-chen authored and zhongcang committed Jul 4, 2019
1 parent 8d0f52a commit 8cfb154
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion android/sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ android {

def android_project_dir = projectDir

def buildRuntimeApi = project.hasProperty('buildRuntimeApi') ? project.property('buildRuntimeApi') : false;
def buildRuntimeApi = project.hasProperty('buildRuntimeApi') ? project.property('buildRuntimeApi') : true

defaultConfig {
buildConfigField "String", "buildJavascriptFrameworkVersion", "\"${jsfmVersion}\""
Expand Down
Binary file modified android/sdk/libs/arm64-v8a/libJavaScriptCore.so
Binary file not shown.
Binary file modified android/sdk/libs/armeabi-v7a/libJavaScriptCore.so
Binary file not shown.
Binary file modified android/sdk/libs/x86/libJavaScriptCore.so
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -131,17 +131,17 @@ public static boolean initSo(String libName, int version, IWXUserTrackAdapter ut
// if (checkSoIsValid(libName, BuildConfig.ARMEABI_Size) ||checkSoIsValid(libName, BuildConfig.X86_Size)) {


try {
// If a library loader adapter exists, use this adapter to load library
// instead of System.loadLibrary.
if (mSoLoader != null) {
mSoLoader.doLoadLibrary("c++_shared");
} else {
System.loadLibrary("c++_shared");
}
} catch (Exception e) {

}
//try {
// // If a library loader adapter exists, use this adapter to load library
// // instead of System.loadLibrary.
// if (mSoLoader != null) {
// mSoLoader.doLoadLibrary("c++_shared");
// } else {
// System.loadLibrary("c++_shared");
// }
//} catch (Exception e) {
//
//}

/**
* Load library with {@link System#loadLibrary(String)}
Expand Down

0 comments on commit 8cfb154

Please sign in to comment.