From: "F. Rafael Leon" <teflon@ucdavis.edu>
To: Claude Marinier <claudem223@gmail.com>
Cc: kawa@sourceware.org
Subject: Re: first Android app - Didn't find class
Date: Sun, 17 Apr 2016 04:23:00 -0000 [thread overview]
Message-ID: <CALPCXwjiLJHDv7hrh_H1VuJi3fdBMYKaUS+nFSME7xGenhOciw@mail.gmail.com> (raw)
In-Reply-To: <CAPg6usCBguqE3oB8LBuZgPZ9G43n7sTbRf8YBn5wO7sY-T=JgA@mail.gmail.com>
Claude,
I am not an ANT expert, but I have some Kawa Android experience using gradle.
On the page that you referenced:
https://www.gnu.org/software/kawa/Building-for-Android.html
It says to copy this file into your ant build tree:
https://sourceware.org/viewvc/kawa/trunk/gnu/kawa/android/custom_rules.xml?view=markup
I believe that xml rules file is responsible for creating
/kawa/android/hello.class in the correct location.
That class file must be created in the correct location in the build
tree to be included into the apk.
The extra "/" in the error message is nothing to worry about.
I think it just separates the package name from class name.
If you have more trouble, upload the whole thing to a public github
repo and I will download it and fix it.
Good luck.
-Rafael
On Sat, Apr 16, 2016 at 9:48 PM, Claude Marinier <claudem223@gmail.com> wrote:
> Hi,
>
> I followed the instructions on the Kawa web site. The page is here.
>
> https://www.gnu.org/software/kawa/Building-for-Android.html
>
> The simple hello app compiles. I can install it on the emulator and
> click its icon to run it. I displays a window with a title bar and
> dies; 'adb logcat' displays a lot of messages. I think this one is
> significant.
>
> Didn't find class "kawa.android.hello" on path:
> DexPathList[[zip file "/data/app/kawa.android-1.apk"]
next prev parent reply other threads:[~2016-04-17 4:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-17 1:48 Claude Marinier
2016-04-17 4:23 ` F. Rafael Leon [this message]
2016-04-17 5:17 ` Per Bothner
2016-04-17 5:21 ` Per Bothner
2016-04-17 6:42 ` F. Rafael Leon
2016-04-24 16:10 ` Adrián Medraño Calvo
[not found] ` <CAPg6usC95-BBUniSY_hHFJvGm160kLwi7eYNybFj08Uhm9pgFw@mail.gmail.com>
2016-04-17 20:11 ` Fwd: " Claude Marinier
[not found] ` <CALPCXwjLYwFBx2zpS6B-xmqYAFps3yGtrUKG=_eUzmt3chfSZg@mail.gmail.com>
2016-04-17 23:50 ` Claude Marinier
2016-04-18 0:05 ` Fwd: " Per Bothner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CALPCXwjiLJHDv7hrh_H1VuJi3fdBMYKaUS+nFSME7xGenhOciw@mail.gmail.com \
--to=teflon@ucdavis.edu \
--cc=claudem223@gmail.com \
--cc=kawa@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).