I'm trying to build this library project https://crosswalk-project.org.
I wish to implement the XWalkView in my application to use WebRTC.
I followed the following steps:
- Downloaded the stable ARM release
- Extracted the core library archive (It is an Android project by default)
- I imported the project into Eclipse
- The Python script "prepare_r_java.py" is responsible for creating R.java files required for the project, without which the library won't complie.
When I try to build, I get the following error in Eclipse
Errors occurred during the build. Errors running builder 'Integrated External Tool Builder' on project'xwalk_core_library'. Exception occurred executing command line. Cannot run program "C:\Users\abc\Desktop\crosswalk-3.32.53.4-x86\xwalk_core_library\prepare_r_java.py" (in directory "C:\Users\abc\Desktop\crosswalk-3.32.53.4-x86\xwalk_core_library"): CreateProcess error=193, %1 is not a valid Win32 application Exception occurred executing command line. Cannot run program "C:\Users\abc\Desktop\crosswalk-3.32.53.4-x86\xwalk_core_library\prepare_r_java.py" (in directory "C:\Users\abc\Desktop\crosswalk-3.32.53.4-x86\xwalk_core_library"): CreateProcess error=193, %1 is not a valid Win32 application
I have Python, ANT, Java installed and the PATH variable set and working fine.
What am I missing? Is there any other method to implement WebRTC in an Android WebView (Non-native code)?