You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/07/28 06:31:20 UTC

[jira] [Commented] (CB-8320) Support using cordova with standard Android projects

    [ https://issues.apache.org/jira/browse/CB-8320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15397023#comment-15397023 ] 

ASF GitHub Bot commented on CB-8320:
------------------------------------

GitHub user infil00p opened a pull request:

    https://github.com/apache/cordova-lib/pull/469

    CB-8320: We look for a build.gradle to make sure it's Android, this allows plugman to be used with non-standard Cordova projects.

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/infil00p/cordova-lib studio_tools

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-lib/pull/469.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #469
    
----
commit 73d6fc0d0290de0b6d341b60a02ffe1e4fce1d3f
Author: Joe Bowser <bo...@apache.org>
Date:   2016-02-12T22:06:42Z

    CB-8320: We look for a build.gradle to make sure it's Android, not an AndroidManifest, because it moved

----


> Support using cordova with standard Android projects
> ----------------------------------------------------
>
>                 Key: CB-8320
>                 URL: https://issues.apache.org/jira/browse/CB-8320
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Android
>            Reporter: Graham Mueller
>            Assignee: Joe Bowser
>              Labels: gradle, plugins
>             Fix For: 5.0.0
>
>
> We've recently started to use the newer project structure recommended for the [Android Tools|http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Configuring-the-Structure]. The basic idea is
> {code}
> /platforms/android
>   /build.gradle
>   /settings.gradle
>   /etc...
>   /cordova
>   /CordovaLib
>   /APP_NAME
>     /build.gradle
>     /src
>       /main
>         /assets
>         /res
>         /java
>           /...
> {code}
> When you try to run {{cordova plugin add ...}}, it assumes you have the assets, res, and src at the root of the Android directory. Is there any way to change this expectation, since the newer projects are kind of expected to be this way? I acknowledge that the Android cmd line tool doesn't do this yet, but you can't expect Google to keep up with their own tools.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org