From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22688 invoked by alias); 17 Apr 2016 20:11:15 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 22286 invoked by uid 89); 17 Apr 2016 20:11:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=click, HTo:U*kawa, site, morning X-HELO: mail-ig0-f177.google.com Received: from mail-ig0-f177.google.com (HELO mail-ig0-f177.google.com) (209.85.213.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sun, 17 Apr 2016 20:11:01 +0000 Received: by mail-ig0-f177.google.com with SMTP id y9so9935999igg.1 for ; Sun, 17 Apr 2016 13:11:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=AKCqUTBWHtuRY+u0gSSnUS4lQP0hWRaJrwsArbBrwI0=; b=PfnbEsQjbMRf5Frs5SEVKdPC3OQBiypapLsqlI2tlc57mQCPUP7Ya8+YZxODtJN3PR IX4GfvGN/1UU55MHQA0TgtjMJQqLPnVgLGkU5oFT0rPpLLlba6GcbxGoQ0bRbQ28kb7R uiAGvR+9PNiw60tW+f6YVBjUuc+s1QoQYHpQqxtyftD1OhVrsrWI5QgXDQ4s8+h8tpkZ UL+jv9xqRR+g+T5Nm+z83MRtDqeXkhN1YUxggRml2D6cRfnxI1sVa+Uu4cCiqNPoCVcJ c78MxsSopG5u0TX3d/TZWMYc0rLfggARGYyf633gxxnxNZkBt4MV92Xow+3vkZ+MFH77 Ar6w== X-Gm-Message-State: AOPr4FWSXdm0wC4nQyuyBTTiCP/m/AtWaCYSRCt6uaosCBj5xgJasZyGompcr1zGhmegzF2+LrPe+Kxp/D2r4Q== MIME-Version: 1.0 X-Received: by 10.50.28.20 with SMTP id x20mr15370758igg.81.1460923859655; Sun, 17 Apr 2016 13:10:59 -0700 (PDT) Received: by 10.107.29.196 with HTTP; Sun, 17 Apr 2016 13:10:59 -0700 (PDT) In-Reply-To: References: Date: Sun, 17 Apr 2016 20:11:00 -0000 Message-ID: Subject: Fwd: first Android app - Didn't find class From: Claude Marinier To: kawa@sourceware.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-q2/txt/msg00007.txt.bz2 Good morning, I missed the step to link the custom_rules.xml. My apologies. However, there is another problem: I cannot find the file on my computer. It is neither in the specified directory nor in the kawa-2.1.tar.gz archive. Since it is in the subversion repository, I downloaded it from there. The build now fails with a new error. scompile: [java] Error: Could not find or load main class kawa.repl The the XML file references the REPL class here. Looks like I need to edit the XML file. What changes do I need to make? Thank you. -- Claude Marinier On 17 April 2016 at 00:22, F. Rafael Leon wrote: > > 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 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"] -- Claude Marinier