cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-9393) Embedded use case is undocumented for Cordova-Android 4.0.x
Date Fri, 12 Feb 2016 11:27:18 GMT


ASF GitHub Bot commented on CB-9393:

Github user jcesarmobile commented on a diff in the pull request:
    --- Diff: www/docs/en/dev/guide/platforms/android/ ---
    @@ -29,106 +29,73 @@ components can communicate with each other, see Application Plugins.
     If you're unfamiliar with Android, you should first familiarize
     yourself with the [Android Platform Guide](index.html) and have the latest Android
     SDK installed before you attempt the more unusual development option
    -of embedding a WebView.  Starting with Cordova 1.9, the Android
    -platform relies on a `CordovaWebView` component, which builds on a
    -legacy `CordovaActivity` component that pre-dates the 1.9 release.
    +of embedding a WebView.  Starting with Cordova 4.0, the Android
    +platform relies on a `SystemWebView` component.
     1. To follow these instructions, make sure you have the latest Cordova
        distribution. Download it from
        []( and unzip its
        Android package.
    -1. Navigate to the Android package's `/framework` directory and run
    -   `ant jar`. It creates the Cordova `.jar` file, formed as
    -   `/framework/cordova-x.x.x.jar`.
    +1. Create a project in Android Studio
    -1. Copy the `.jar` file into the Android project's `/libs` directory.
    +1. Copy the framework directory into your project's root directory and name it
    +1. Add that project as a library project to your main project.
    --- End diff --
    maybe explain how to do it. I'm familiar with Android, but not so much with Android Studio
and I didn't know how to do it. 

> Embedded use case is undocumented for Cordova-Android 4.0.x
> -----------------------------------------------------------
>                 Key: CB-9393
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 4.0.1
>            Reporter: Joe Bowser
>            Assignee: Joe Bowser
>             Fix For: 5.0.0
> We broke the embedded webview use case for Android 4.0.x. and it's currently difficult
to embed a webview without some gradle editing.  We should probably work on getting the Embedded
WebView use case to work out of the box for Gradle, and in the meantime document all the workarounds
for getting an embedded webview in Android Studio to actually work.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message