Hi thanks both for your help! I used the second option proposed by Yongsheng didn't try the first yet. It works if the RuntimeLib is installed but I couldn't make it work with the library embeded on my project:
Here's the error I get when the Runtime project is not installed:
FATAL EXCEPTION: main
Process: com.testing.testing, PID: 5341
java.lang.NullPointerException
at
com.testing.testing.XWalkActivity.onCreateOptionsMenu(XWalkActivity.java:37)
at android.app.Activity.onCreatePanelMenu(Activity.java:2538)
at
com.android.internal.policy.impl.PhoneWindow.preparePanel(PhoneWindow.java:436)
at
com.android.internal.policy.impl.PhoneWindow.doInvalidatePanelMenu(PhoneWindow.java:800)
at
com.android.internal.policy.impl.PhoneWindow$1.run(PhoneWindow.java:221)
at
android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
at android.view.Choreographer.doCallbacks(Choreographer.java:574)
at android.view.Choreographer.doFrame(Choreographer.java:543)
at
android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at dalvik.system.NativeStart.main(Native Method)
Here is a screenshot of my project structure:
[image: Imágenes integradas 1]
<<inline: Captura de pantalla 2014-03-05 a la(s) 09.25.06.png>>
_______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
