On 14 August 2014 17:51, [email protected] <[email protected]> wrote:

> hi succesfully followed your instructions on how to build an android
> extension for crosswalk. Now i need to include some android api and
> reference some android sdk api (ie: android.app.Activity
> or android.view.WindowManager).
> If i simply include such packages by a simple import ("import
> android.view.WindowManager") compiler says: "error: package android.view
> does not exist"
> How can i include android sdk in a crosswalk extension?
> I have tryed to copy/paste android.jar in lib directory. Extension is
> compiled but the entire project fails to build apk.
>

(I'm assuming that you are referring to the extensions tutorial on the
website, and are attempting to use Android APIs in that project.)

Were you able to build the apk with extension, before you modified the code
to use the Android APIs?

If you have the project available somewhere (e.g. github) I would be happy
to assist you in attempting a fix. Alternatively, I may be able to help if
you provide more output from make_apk.py.

Yours,
Elliot
-- 
Elliot Smith
Senior Software Engineer
Intel Open Source Technology Centre
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to