Skip to content

Commit

Permalink
Update DexFactory.java
Browse files Browse the repository at this point in the history
  • Loading branch information
vtrifonov committed Jun 20, 2019
1 parent 63490da commit 00f6825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-app/runtime/src/main/java/com/tns/DexFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,10 @@ public Class<?> resolveClass(String baseClassName, String name, String className
result = df.loadClass(desiredDexClassName, classLoader);
}
} catch (IOException e) {
Log.w("JS", String.format("Error resolving class %s: %s. Fall back to DexClassLoader."));
if (com.tns.Runtime.isDebuggable()) {
e.printStackTrace();
}
Log.w("JS", String.format("Error resolving class %s: %s. Fall back to DexClassLoader."));
// fall back to DexClassLoader
DexClassLoader dexClassLoader = new DexClassLoader(jarFilePath, this.odexDir.getAbsolutePath(), null, classLoader);
result = dexClassLoader.loadClass(fullClassName);
Expand Down

0 comments on commit 00f6825

Please sign in to comment.