Fix for android 4.2 shared library loading

This commit is contained in:
Adrian Tiberius 2016-02-23 19:36:28 +02:00
parent ac7af91da0
commit 103d83edd9
1 changed files with 3 additions and 0 deletions

View File

@ -11,11 +11,14 @@ import java.util.Arrays;
import java.util.List;
import java.util.Properties;
public class MainActivity extends ReactActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
System.loadLibrary("gethraw");
System.loadLibrary("geth");
Properties properties = System.getProperties();
properties.setProperty("http.nonProxyHosts", "localhost|127.0.0.1");
properties.setProperty("https.nonProxyHosts", "localhost|127.0.0.1");