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

Commit 8cfb154

Browse files
lucky-chenzhongcang
authored andcommitted
[Android] update jsc.so
1 parent 8d0f52a commit 8cfb154

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

android/sdk/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ android {
117117

118118
def android_project_dir = projectDir
119119

120-
def buildRuntimeApi = project.hasProperty('buildRuntimeApi') ? project.property('buildRuntimeApi') : false;
120+
def buildRuntimeApi = project.hasProperty('buildRuntimeApi') ? project.property('buildRuntimeApi') : true
121121

122122
defaultConfig {
123123
buildConfigField "String", "buildJavascriptFrameworkVersion", "\"${jsfmVersion}\""
Binary file not shown.
Binary file not shown.
16 Bytes
Binary file not shown.

android/sdk/src/main/java/com/taobao/weex/utils/WXSoInstallMgrSdk.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -131,17 +131,17 @@ public static boolean initSo(String libName, int version, IWXUserTrackAdapter ut
131131
// if (checkSoIsValid(libName, BuildConfig.ARMEABI_Size) ||checkSoIsValid(libName, BuildConfig.X86_Size)) {
132132

133133

134-
try {
135-
// If a library loader adapter exists, use this adapter to load library
136-
// instead of System.loadLibrary.
137-
if (mSoLoader != null) {
138-
mSoLoader.doLoadLibrary("c++_shared");
139-
} else {
140-
System.loadLibrary("c++_shared");
141-
}
142-
} catch (Exception e) {
143-
144-
}
134+
//try {
135+
// // If a library loader adapter exists, use this adapter to load library
136+
// // instead of System.loadLibrary.
137+
// if (mSoLoader != null) {
138+
// mSoLoader.doLoadLibrary("c++_shared");
139+
// } else {
140+
// System.loadLibrary("c++_shared");
141+
// }
142+
//} catch (Exception e) {
143+
//
144+
//}
145145

146146
/**
147147
* Load library with {@link System#loadLibrary(String)}

0 commit comments

Comments
 (0)