Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ParticleView Preview Error Since v1.0.5 #3

Closed
rayliverified opened this issue Jul 26, 2017 · 1 comment
Closed

ParticleView Preview Error Since v1.0.5 #3

rayliverified opened this issue Jul 26, 2017 · 1 comment
Assignees
Labels

Comments

@rayliverified
Copy link

rayliverified commented Jul 26, 2017

ParticleView had a really nice preview that displayed the generated particles in v1.0.4 and below. There are changes made in v1.0.5 that now cause an error in Android Studio preview.
This is the stack trace of the error:

java.lang.VerifyError: Expecting a stackmap frame at branch target 20
Exception Details:
  Location:
    com/doctoror/particlesdrawable/ParticlesView.init(Landroid/content/Context;Landroid/util/AttributeSet;)V @5: if_icmplt
  Reason:
    Expected stackmap frame at this location.

Could the switch to SceneController from Particles Drawable in commit 5afb921 be the cause?

The preview feature is not that important but it was nice to have the preview working and would be nice to have it back again.

Preview v1.0.4 and below:
particle view 1 4

Preview v1.0.5 and above:
particle view 1 7

@Doctoror
Copy link
Owner

Thanks for reporting. I will take a look and fix it as soon as I can.

@Doctoror Doctoror self-assigned this Jul 26, 2017
@Doctoror Doctoror added the bug label Jul 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants