cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From infil00p <>
Subject [GitHub] cordova-lib pull request #469: CB-8320: We look for a build.gradle to make s...
Date Thu, 28 Jul 2016 19:43:29 GMT
Github user infil00p commented on a diff in the pull request:
    --- Diff: cordova-lib/src/cordova/metadata/android_parser.js ---
    @@ -31,14 +31,20 @@ var fs            = require('fs'),
     function android_parser(project) {
    -    if (!fs.existsSync(path.join(project, 'AndroidManifest.xml'))) {
    +    if (!fs.existsSync(path.join(project, 'build.gradle'))) {
             throw new CordovaError('The provided path "' + project + '" is not an Android
         // Call the base class constructor, 'android', project);
         this.path = project;
    +    //If we have a gradle file but not a manifest, this is an Android Studio project
    +    if(!fs.existsSync(path.join(project, "AndroidManifest.xml"))) {
    --- End diff --
    This just reminds me of how much I hate lint and Javascript.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

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

View raw message