home Forums # Technical Support Source not found on Android.

This topic contains 3 replies, has 2 voices, and was last updated by Juan Rada-Vilela Juan Rada-Vilela 2 years, 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #992

    Kevin Cheng
    Participant

    Hi Juan

    I’m new for jFuzzylite . Thank you for your nice fuzzy tool.
    I’m using jfuzzylite on my Andoid APP but i meet one program.
    Could you please help me?

    After adding jfuzzylite into libs folder , I can program fuzzy engine as same as sample code on webpage.
    It can be complied.

    When I step by step to below code

    Engine engine = new Engine();

    Eclipse shows below message:
    ****************
    Class File Editor

    Source not found
    The source attachment does not contain the source for the file InvocationTargetException.class.
    You can change the source attachment by clicking Change attached Source below:

    // Compiled from InvocationTargetException.java (version 1.5 : 49.0, super bit)
    public class java.lang.reflect.InvocationTargetException extends java.lang.Exception {

    // Method descriptor #8 ()V
    // Stack: 3, Locals: 1
    ………
    ********************
    I try to add sources.jar for jfuzzylite.jar. it doesn’t work .

    Do you have any suggestion or idea?
    Thank you.

    #1002
    Juan Rada-Vilela
    Juan Rada-Vilela
    Keymaster

    Hi,

    thank you for your kind words.

    At the moment, I have no solution to your problem because I am busy with other things. However, I am sure you can find a solution using google searching for how to attach sources to java libraries for debugging.

    As soon as I have time, I will reply to this post with a concrete solution.

    #1012

    Kevin Cheng
    Participant

    HI Juan

    Thank you for your reply .

    Kevin

    #1787
    Juan Rada-Vilela
    Juan Rada-Vilela
    Keymaster

    Hi Kevin,

    it has been a long time since your post, but since yesterday there is the new jfuzzylite version 5.0 available for download, which addresses the issue of finding sources. It turns out the problem was caused by the Ant script producing a jar file in “release” mode, thereby excluding information like the source file.

    Cheers.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.