From bd4ddcdeddf7a5b232023c4f53b60d2ab20e7a48 Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Fri, 21 Apr 2017 17:02:27 -0700 Subject: [PATCH] Updated AndroidStudio to only look for the app directory to determine studio status --- bin/templates/cordova/lib/AndroidStudio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/templates/cordova/lib/AndroidStudio.js b/bin/templates/cordova/lib/AndroidStudio.js index 2e7db00a..ee4cd3fe 100644 --- a/bin/templates/cordova/lib/AndroidStudio.js +++ b/bin/templates/cordova/lib/AndroidStudio.js @@ -12,7 +12,7 @@ var CordovaError = require('cordova-common').CordovaError; module.exports.isAndroidStudioProject = function isAndroidStudioProject(root) { var eclipseFiles = ['AndroidManifest.xml', 'libs', 'res']; - var androidStudioFiles = ['app', 'gradle', 'app/src/main/res']; + var androidStudioFiles = ['app', 'app/src/main']; // assume it is an AS project and not an Eclipse project var isEclipse = false;