From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 129177 invoked by alias); 17 Apr 2016 04:23:50 -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 129150 invoked by uid 89); 17 Apr 2016 04:23:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1389, apk, ANT, H*F:D*ucdavis.edu X-HELO: mail-oi0-f66.google.com Received: from mail-oi0-f66.google.com (HELO mail-oi0-f66.google.com) (209.85.218.66) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sun, 17 Apr 2016 04:23:37 +0000 Received: by mail-oi0-f66.google.com with SMTP id r186so3306178oie.2 for ; Sat, 16 Apr 2016 21:23:36 -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:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=47A1PAGMsaxhyCBs1KWRxcOMA0XiGuILOgBvaMLUM7A=; b=fkExG1CAyLaKgIdxE69M6xpEGUBNfG0hDo6hY9HgfL9p00E/R+FfX9/7PkoPzjpjFS aky+UchkrhcsqtLnUFdj0YWaBgu0qw0fOlhpwTGoRMWkOwz2vf0JN3HaZFi/eEj9MB+Z 5KmkV/SqNc6l3EMLUnkKHPa/V65xljTLo5dCsmEpqY7rY8BYeTdjhTebtp3Kn729SrcZ m3iEIlqdztARS1p0wjV5a5pcUPl1Q8/XW82uo77zKH0QWWOgJ4QevZZMIf/Rwi03789i iVQq2qToryF3AOC2vj8HD+EvFMMg/deUEraTYCi4rf5oBMrzglxQiaxw5GWFX7/6DI96 2KBg== X-Gm-Message-State: AOPr4FUXeWArTYThoSpXk6BMZGVz86/eon642yahDDidNNEyaA96EvdKK6NvTCw55JOTw6OnRlJOf0BEo/fFVA== X-Received: by 10.202.105.205 with SMTP id e196mr13526308oic.113.1460867015185; Sat, 16 Apr 2016 21:23:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.226.196 with HTTP; Sat, 16 Apr 2016 21:22:55 -0700 (PDT) In-Reply-To: References: From: "F. Rafael Leon" Date: Sun, 17 Apr 2016 04:23:00 -0000 Message-ID: Subject: Re: first Android app - Didn't find class To: Claude Marinier Cc: kawa@sourceware.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-q2/txt/msg00003.txt.bz2 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"]