This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Mixed java and kawa support on Android with gradle
- From: Per Bothner <per at bothner dot com>
- To: Marius Kjeldahl <marius dot kjeldahl at gmail dot com>, kawa at sourceware dot org
- Date: Fri, 28 Feb 2014 10:24:48 -0800
- Subject: Re: Mixed java and kawa support on Android with gradle
- Authentication-results: sourceware.org; auth=none
- References: <CAHdMyCJ0CWmafUPwYmw=piqp1T+rwgnffLG7M-qiLtj_R0kZiQ at mail dot gmail dot com>
On 02/28/2014 09:38 AM, Marius Kjeldahl wrote:
Parts of the stacktrace (see first file in gist for complete details) shows:
Caused by: java.lang.RuntimeException: no mapping specified for register
at com.android.dx.ssa.BasicRegisterMapper.map(BasicRegisterMapper.java:63)
....
...while processing lambda10
(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
...while processing gnu/kawa/slib/ralists$frame1.class
1 error; aborting
You need to show us the .class files. Dex is the program that converts
from JVM-style class files to Dalvik files. There is something in the
class file dex doesn't like. Most likely a limitation/bug in dex, but
it is also
possible Kawa is generating invalid .class files that doesn't been caught in
normal usage.
Googling yields:
"Argh, that old stupid thing. Dex doesn't like two arguments with
the same name."
If that's the problem, it can probably be fixed easily, but I need to see
the class files first.
--
--Per Bothner
per@bothner.com http://per.bothner.com/