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

compileSdkVersion 26 Problem #9

Open
GolfettoGuilherme opened this issue Feb 21, 2018 · 1 comment
Open

compileSdkVersion 26 Problem #9

GolfettoGuilherme opened this issue Feb 21, 2018 · 1 comment

Comments

@GolfettoGuilherme
Copy link

I've been using this lib in compileSdkVersion 22 without any problems, but, recent problems made me to upgrade compileSdkVersion to 26 and the app crashes for now on, here is the stacktrace

java.lang.IllegalArgumentException: width and height must be > 0 at android.graphics.Bitmap.createBitmap(Bitmap.java:1013) at android.graphics.Bitmap.createBitmap(Bitmap.java:980) at android.graphics.Bitmap.createBitmap(Bitmap.java:930) at android.graphics.Bitmap.createBitmap(Bitmap.java:891) at com.bcgdv.asia.lib.fanmenu.FanMenuButtons.initIfNeeded(FanMenuButtons.java:243) at com.bcgdv.asia.lib.fanmenu.FanMenuButtons.animateIn(FanMenuButtons.java:372) at com.bcgdv.asia.lib.fanmenu.FanMenuButtons.toggleShow(FanMenuButtons.java:357) at br.com.domain.domain.MainActivity$3.onClick(MainActivity.java:189) at android.view.View.performClick(View.java:6256) at android.view.View$PerformClick.run(View.java:24711) at android.os.Handler.handleCallback(Handler.java:789) at android.os.Handler.dispatchMessage(Handler.java:98) at android.os.Looper.loop(Looper.java:169) at android.app.ActivityThread.main(ActivityThread.java:6595) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

@alphamu
Copy link
Owner

alphamu commented Feb 25, 2018

Please try version 1.4. which I just pushed out.
I haven't change the code any in regards to the issue you reported, but my sample app seems to be running on compileSdk 26 without issues. Let me know if the problem persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants