Fix for android 4.2 shared library loading

Former-commit-id: 103d83edd9
This commit is contained in:
Adrian Tiberius 2016-02-23 19:36:28 +02:00
parent 1c6846d46f
commit da0a405100
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");