This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem building for Android


[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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]