GithubHelp home page GithubHelp logo

IncompatibleClassChangeError about freeline HOT 5 CLOSED

alibaba avatar alibaba commented on April 28, 2024
IncompatibleClassChangeError

from freeline.

Comments (5)

lomanyong avatar lomanyong commented on April 28, 2024

@Davion8948 Is this case can be recurrent? I have repeated this case in sample project but didn't find a crash.

from freeline.

Davion8948 avatar Davion8948 commented on April 28, 2024

@lomanyong
Yes. I can recurrent this.

After I created a new sample project, I created a super Activity like this:

public abstract class BaseActivity extends AppCompatActivity{
  //Delete this or add this
  public static final String TAG = "BaseActivity";
}

Then let Activity extends this and run python freeline.py, it's ok now.
Next I deleted the TAG field and rerun python freeline.py the app will crash with that error.

from freeline.

charvenhe avatar charvenhe commented on April 28, 2024

@Davion8948 it may be abstract class change ,winch cause sub class does not match with the parent class,you can remove "abstract" in BaseActivity and try again .

Freeline has some problem on processing abstract class change case now, we will fix it soon

from freeline.

Davion8948 avatar Davion8948 commented on April 28, 2024

@charvenhe

好的,谢谢。主页上和Wiki上好像没有关于目前有哪些情况可能导致问题,希望有时间能加一下,这样在使用的时候可以避开相应的问题。

from freeline.

lomanyong avatar lomanyong commented on April 28, 2024

@Davion8948 嗯,我们也在整理这部分内容,尽快都完善起来,感谢提议~

from freeline.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.