This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: problem building for Android
- From: Per Bothner <per at bothner dot com>
- To: Mateusz Czaplinski <czapkofan at gmail dot com>, kawa at sourceware dot org
- Date: Wed, 20 Aug 2014 23:46:22 -0700
- Subject: Re: problem building for Android
- Authentication-results: sourceware.org; auth=none
- References: <CACZYt3SDg4JLPJ-tbQeEH0QxeC20bXKTsQ3Z=Hs2Rqokp=zdAg at mail dot gmail dot com>
[Sorry for the delayed reply. I've been traveling, so it was
inconvenient to try it out.]
On 08/16/2014 02:24 PM, Mateusz Czaplinski wrote:
Hi,
I've tried to build a hello-world project for Android (API v7, i.e.
2.1), following the instructions from
https://www.gnu.org/software/kawa/Building-for-Android.html. I tried
to build Kawa from SVN sources on Windows.
After `ant -Denable-android=true`, I'm getting (among others) some
input like below:
android-classes:
[kawa] (compiling
C:\dnload\java-etc\kawa\gnu\kawa\android\defs.scm to
gnu.kawa.android.defs)
[kawa] C:\dnload\java-etc\kawa\gnu\kawa\android\defs.scm:2:22:
warning - no declaration seen for android.widget.Button
[kawa] C:\dnload\java-etc\kawa\gnu\kawa\android\defs.scm:3:24:
warning - no declaration seen for android.widget.EditText
There seems to some problems in the build.xml file for ant.
Specifically, it didn't automatically set the classpath
to include the android.jar.
I just checked in to SVN an updated version of build.xml (and
build.propertied) that seems to work.
There is still a problem actually running KawaHello on the emulator.
I'll try to look at that tomorrow.
--
--Per Bothner
per@bothner.com http://per.bothner.com/