cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Bowser <>
Subject Re: Proposal: Change Android Project Directory Structure to Android Studio style
Date Tue, 17 May 2016 21:06:43 GMT
On Tue, May 17, 2016 at 2:01 PM, Parashuram N <>

> I think the proposal is great. Our gradle is pretty big, and it does make
> sense to just do the defaults.
> +1 (personally speaking) to this – will save soo much of my time as I
> depend on this for my react-native-cordova-plugin adapter. Your changes
> will make life so much easier ☺
> How do the plugins break? Will plugins have to make change? In a way, it
> may make sense to do this with big changes at Google I/O – that way, we
> just have 1 breaking change, and plugin authors have to look at the changes
> just once.

Ideally they shouldn't break, but I can't guarantee that.  I do have to
change how plugins are installed in the Android cordova scripts, but the
cordova-common work abstracted all that out and made that easier.  A user
who hasn't tweaked their app shouldn't notice the difference.

That said, the users who have may notice stuff, and I have no idea how
Crosswalk would work with this yet.  It'd be good to work with them once we
have something more working.

> On 5/17/16, 1:55 PM, "Joe Bowser" <> wrote:
> >Hey
> >
> >I know people have been waiting for this for a very long time, but I wrote
> >up a proposal to change the project so it's an Android Studio project.
> >Given that Android Studio is on 2.1.1, I think it's time we moved forward
> >and changed things around.
> >
> >Proposal PR is here:
> >
> >Branch where Proof of Concept work is being done is here:
> >
> >
> >The main roadblock to doing this, of course is migration of plugins and
> >custom code, as well as assets, but I think Android developers would
> >welcome this change because we're acting more like a regular, normal
> >Android project again and not some old, weird legacy/special case thing.
> >I've already did some exploratory work with the old cordova-android-studio
> >version of cordova-common, and installing plugins works fine depending on
> >what version of Cordova you're using.
> >
> >The other thing that has me stuck is all the functionality in the gradle
> >files.  I would love to rip out a lot of the stuff we autogenerate in
> >there, such as the settings.gradle file that caused me a huge headache
> >earlier today when I tried to get importing to work.  It'd also be good to
> >have a documented process on how we set the Application ID, since I can't
> >quite figure out how we do that, and I know other people are struggling
> >with that as well.
> >
> >This would be slated for Cordova-Android 6.0, and hopefully Google IO
> >doesn't have too many surprises that break us.
> >
> >Joe

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message