This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: first Android app - Didn't find class
- From: AdriÃn MedraÃo Calvo <adrian at medranocalvo dot com>
- To: kawa at sourceware dot org
- Date: Sun, 24 Apr 2016 18:10:42 +0200
- Subject: Re: first Android app - Didn't find class
- Authentication-results: sourceware.org; auth=none
- References: <CAPg6usCBguqE3oB8LBuZgPZ9G43n7sTbRf8YBn5wO7sY-T=JgA at mail dot gmail dot com> <CALPCXwjiLJHDv7hrh_H1VuJi3fdBMYKaUS+nFSME7xGenhOciw at mail dot gmail dot com> <57131D2E dot 1040705 at bothner dot com> <CALPCXwif+ADUoKoBtAXG0Avzm++TBzsAZhnLfHqxTMjac8o7KA at mail dot gmail dot com>
Dear list,
On 04/17/2016 08:41 AM, F. Rafael Leon wrote:
> On Sun, Apr 17, 2016@1:20 AM, Per Bothner <per@bothner.com> wrote:
>> Would it make sense to update the Kawa/Android instructions to use Gradle
>> rather than Ant?
>
> The answer is yes. Gradle is the accepted standard.
>
> For introducing current Android developers to Kawa, gradle would be
> the path of least friction.
Indeed. Please, check out the new gradle-kawa-plugin:
https://github.com/medranocalvo/gradle-kawa-plugin
The plugin integrates Kawa into the Android build system (buildTypes,
productFlavors, etc...). There's yet no convenient support for
standalone Kawa projects, though it should not be difficult to add. I
use a rather simple build script myself for Android, we'll see how well
it copes with more complex ones. Rafael, I read that you have recently
published an app (congratulations!), it would be great if you could try
to build it with the plugin.
There are many possible improvements... I would like to have some
automated testing, in order to make sure it works with many
Gradle/Android versions. Time is scarce, tough. Needless to say, it
would be great if people using Kawa on Android give a hand.
I'm being optimistic and have called it 0.8 already :-). Looking
forward to your comments!
Best regards,
AdriÃn.