I want to compile VLC for Android on Eclipse IDE. According to http://wiki.videolan.org/AndroidCompile I have to be on Linux. I'm using Ubuntu 11.10 and I followed every step on the list. In Eclipse, I imported the project from vlc-android folder and ActionBarSherlock folder is also added as library. While running the project, an error has been occured and the following log is generated by the LogCat:
08-04 23:46:18.563: D/AndroidRuntime(32428): Shutting down VM
08-04 23:46:18.563: W/dalvikvm(32428): threadid=1: thread exiting with uncaught exception (group=0x4001d648)
08-04 23:46:18.593: E/AndroidRuntime(32428): FATAL EXCEPTION: main
08-04 23:46:18.593: E/AndroidRuntime(32428): java.lang.RuntimeException: Unable to start activity ComponentInfo{org.videolan.vlc/org.videolan.vlc.gui.MainActivity}: java.lang.NullPointerException
08-04 23:46:18.593: E/AndroidRuntime(32428): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1830)
08-04 23:46:18.593: E/AndroidRuntime(32428): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1851)
08-04 23:46:18.593: E/AndroidRuntime(32428): at android.app.ActivityThread.access$1500(ActivityThread.java:132)
08-04 23:46:18.593: E/AndroidRuntime(32428): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1038)
08-04 23:46:18.593: E/AndroidRuntime(32428): at android.os.Handler.dispatchMessage(Handler.java:99)
08-04 23:46:18.593: E/AndroidRuntime(32428): at android.os.Looper.loop(Looper.java:150)
08-04 23:46:18.593: E/AndroidRuntime(32428): at android.app.ActivityThread.main(ActivityThread.java:4293)
08-04 23:46:18.593: E/AndroidRuntime(32428): at java.lang.reflect.Method.invokeNative(Native Method)
08-04 23:46:18.593: E/AndroidRuntime(32428): at java.lang.reflect.Method.invoke(Method.java:507)
08-04 23:46:18.593: E/AndroidRuntime(32428): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:849)
08-04 23:46:18.593: E/AndroidRuntime(32428): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
08-04 23:46:18.593: E/AndroidRuntime(32428): at dalvik.system.NativeStart.main(Native Method)
08-04 23:46:18.593: E/AndroidRuntime(32428): Caused by: java.lang.NullPointerException
08-04 23:46:18.593: E/AndroidRuntime(32428): at org.videolan.vlc.Util.hasCompatibleCPU(Util.java:274)
08-04 23:46:18.593: E/AndroidRuntime(32428): at org.videolan.vlc.gui.MainActivity.onCreate(MainActivity.java:99)
08-04 23:46:18.593: E/AndroidRuntime(32428): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1072)
08-04 23:46:18.593: E/AndroidRuntime(32428): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1794)
08-04 23:46:18.593: E/AndroidRuntime(32428): ... 11 more
What should I do to fix that issue?