title: Crosswalk - Inflating class & Cie
body: <p>I'm currently working with Crosswalk ( previously on Cordova ). But I encounter a problem : when i'm creating just a simple XWalkView, nothing works..</p>
  
  <p>I mean, I followed all guides, try multiples ways and nothing .
  I'm working with <em>CrossWalk 12.41.296.9</em> ARM. <br></p>
  
  <p>That way:</p>
  
  <pre><code>public class MainActivity extends Activity {
      private static final String url = "file:///android_asset/www/index.html";
  
      @Override
      public void onCreate(Bundle savedInstanceState)
      {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.cordova_layout);
          XWalkView webView = (XWalkView) findViewById(R.id.cordova_webview);
          webView.load(url,null);
  
      }
  }
  </code></pre>
  
  <p>With this "cordova_layout" :</p>
  
  <pre><code>&lt;org.xwalk.core.XWalkView
          xmlns:android="http://schemas.android.com/apk/res/android"
          android:id="@+id/cordova_webview"
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;    
  &lt;/org.xwalk.core.XWalkView&gt;
  </code></pre>
  
  <p>Or even that way </p>
  
  <pre><code>public class MainActivity extends Activity {
      private static final String url = "file:///android_asset/www/index.html";
  
      @Override
      public void onCreate(Bundle savedInstanceState)   {
          super.onCreate(savedInstanceState);
          XWalkView cordovaWebView = new XWalkView(this.getApplicationContext(),this);
          cordovaWebView.load(url,null);
          setContentView(cordovaWebView);
      }
  }
  </code></pre>
  
  <p>is giving my that inflating error</p>
  
  <pre><code>05-07 14:34:25.296  26681-26681/fr.ab.xwalkCordova E/AndroidRuntime﹕ FATAL EXCEPTION: main
  Process: fr.ab.xwalkCordova, PID: 26681
  java.lang.RuntimeException: Unable to start activity ComponentInfo{fr.ab.xwalkCordova/fr.ab.xwalkCordova.MainActivity}: android.view.InflateException: Binary XML file line #1: Error inflating class org.xwalk.core.XWalkView
          at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2305)
          at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2367)
          at android.app.ActivityThread.access$800(ActivityThread.java:148)
          at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1283)
          at android.os.Handler.dispatchMessage(Handler.java:102)
          at android.os.Looper.loop(Looper.java:135)
          at android.app.ActivityThread.main(ActivityThread.java:5274)
          at java.lang.reflect.Method.invoke(Native Method)
          at java.lang.reflect.Method.invoke(Method.java:372)
          at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:909)
          at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:704)
  </code></pre>
  
  <p>Here is my Manifest</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='utf-8'?&gt;
  &lt;manifest android:hardwareAccelerated="true" android:versionCode="1"     android:versionName="0.0.1" package="fr.ab.xwalkCordova"     xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  
  &lt;supports-screens android:anyDensity="true" android:largeScreens="true"     android:normalScreens="true" android:resizeable="true"     android:smallScreens="true" android:xlargeScreens="true" /&gt;
  
  &lt;uses-sdk android:minSdkVersion="17" android:targetSdkVersion="22" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /&gt;
  &lt;uses-permission android:name="android.permission.CAMERA" /&gt;
  &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  &lt;uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /&gt;
  &lt;uses-permission android:name="android.permission.RECORD_AUDIO" /&gt;
  &lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt;
  &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
  &lt;uses-permission android:name="android.permission.CAMERA" /&gt;
  &lt;uses-permission android:name="android.permission.DISABLE_KEYGUARD" /&gt;
  &lt;uses-permission android:name="android.permission.GET_TASKS" /&gt;
  &lt;uses-permission android:name="android.permission.REORDER_TASKS" /&gt;
  &lt;uses-feature android:name="android.hardware.camera" /&gt;
  
  &lt;application android:hardwareAccelerated="true" android:icon="@drawable/icon" android:label="@string/app_name" android:supportsRtl="true"
               android:allowBackup="true"&gt;
      &lt;activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/activity_name" android:launchMode="singleTop" android:name="MainActivity" android:theme="@android:style/Theme.Black.NoTitleBar" android:windowSoftInputMode="adjustResize"&gt;
          &lt;intent-filter android:label="@string/launcher_name"&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
  &lt;/application&gt;    
  </code></pre>
  
  <p></p>
  
  <p>Please help :'(</p>