1, first download from the official CM website, the native browser down.
You can import eclipse.
Then there will be a bunch of errors.
2, the V4,V13 support package, import. can be reduced by some.
3. Add the library file.
Copy the corresponding files from the compiled CM11 source out directory to the Browsereclipse systemlib path, as follows:
Systemlib, please put it in the project's Lib directory together.
Android-common_intermediates\classes.jar
Core_intermediates\classes.jar
Framework_intermediates\classes.jar
4, in the Eclispe to refresh the project, and then select the project, the right mouse button menu-build path-configure Build Path, in the Libraries page, select Add Library-user libraries-new, Enter the library name Systemlib and tick
Under the Input box, click System Library.
Go back to the User Libraries window, select the newly created systemlib, click the button "Add JARs" and add the five Classes.jar below the Systemlib\ folder.
5, back to the Java build path interface, select the order and Export page, select the new build Systemlib, click the top button, top to first, OK.
4. Block some code.
At this point, most of the errors have been resolved, only a few errors, the wrong place to block out, you can:
Masking Eventlogtags-related rows
5. Add a Java file to avoid run-time errors:
Syncstatecontentproviderhelper.java
6, there are some other errors, try to comment out, anyway you can run.
CM11 native Browser import eclipse for debugging and running methods