Error inflating class org.xwalk.core.XWalkView after changing sqlcipher version

510 views Asked by At

The android app I am working on is a Cordova one.
I am getting the following error when I start the app. https://pastebin.com/jzX9AqEX

Here is my MainActivity

public class MainActivity extends CordovaActivity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        XWalkView xWalkWebView = (XWalkView) findViewById(R.id.xwalkWebView);
        XWalkCookieManager mCookieManager = new XWalkCookieManager();
        mCookieManager.setAcceptCookie(true);
        mCookieManager.setAcceptFileSchemeCookies(true);

    }
}

I am getting the error at setContentView(R.layout.activity_main);

Here is my activity_main.xml file

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
          android:orientation="vertical"
          android:layout_width="match_parent"
          android:layout_height="match_parent">

<org.xwalk.core.XWalkView
    android:id="@+id/xwalkWebView"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:background="#000000"
    />

</LinearLayout>

I wasn't getting this error until I updated sqlcipher to 3.5.7 Here is my xwalkview version : org.xwalk:xwalk_core_library:23.53.589.4

What am I doing wrong?

0

There are 0 answers