Reputation: 51
I modified Android framework, and added my own service into. Now I want to use new methods and service.
However, when I opened Eclipse to do application-level app development that calls my new methods and service, Eclipse cannot resolve them.
What should I do at this moment? Thank you,
Upvotes: 1
Views: 451
Reputation: 1914
You should compile it with these commands (in bash):
$ . build/envsetup.sh
$ lunch sdk-eng
$ make sdk
This process may take a little more than an hour.
If you need the Windows SDK use:
$ . build/envsetup.sh
$ lunch sdk-eng
$ make win_sdk
Now you will have to point Eclipse to the new SDK located at:
out/host/platform/sdk/android-sdk_eng.username_platform-x86/
Or something similiar.
Upvotes: 1