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: Mixed java and kawa support on Android with gradle


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/


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