I imported the android browser source code into eclipse. But, i could not build the code due to many errors.
I referred to this link and tried the steps in the tutorial.
How to compile Browser source code for Android 4.0.3
But, i am facing some issues. I created the classes.dex.dex2.jar file. But inside the jar file i browsed through com/android/internal folder which is empty. I tried many times but facing the same issue.. I am working on windows 7 OS.
Kindly help me on resolving the issue.
Thanks in advance.
Error reason - internal and hidden APIs could not be imported in app.
Steps followed in fixing the build issue.
Downloaded the android-10-internals folder from the following link. https://github.com/inazaruk/android-sdk/tree/master/platforms
Unzipped the folder and copied the folders to android-sdk-platforms folder.
Started Eclipse. Clicked on New project and entered project name and clicked Next. In list of android sdk, i did not see my newly added platforms.
Closed Eclipse. Copied the android.jar and build properties file and pasted in android-sdk-platforms-android 10 folder.
Browsed to eclipse - plugins folder and copied the adt jar file to a different location. Renamed it to zip file. Unzipped the file and changed the com/android/internal to com/android/internax and zipped the file and recreated the jar file.
Replaced the jar file. Opened the eclipse.
7. Still in android-jar, i find the forbidden rule unremoved. All import errors still unresolved.
Please let me know if anything i am missing.