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
crash on devices of Sony series #33
Comments
Just on Sony Devices |
Can you please try to use latest commit from this repository (or at least commit with fix "[FIX] #30 Cant apply android:background to FlowLayout") there were a problem with getLayoutDirection. I think it should help you. |
It looks like it is common in android world to call virtual methods in constructors... |
BTW what android versions are you using on your devices? |
It works, thanks very much |
12-18 02:28:50.665 E/AndroidRuntime( 2571): Caused by: java.lang.NullPointerException
12-18 02:28:50.665 E/AndroidRuntime( 2571): at org.apmem.tools.layouts.FlowLayout.getLayoutDirection(FlowLayout.java:410)
12-18 02:28:50.665 E/AndroidRuntime( 2571): at android.view.View.resolveLayoutDirectionIfNeeded(View.java:9689)
12-18 02:28:50.665 E/AndroidRuntime( 2571): at android.view.View.getResolvedLayoutDirection(View.java:4872)
12-18 02:28:50.665 E/AndroidRuntime( 2571): at android.view.View.setPaddingRelative(View.java:12092)
12-18 02:28:50.665 E/AndroidRuntime( 2571): at android.view.View.setPadding(View.java:12003)
12-18 02:28:50.665 E/AndroidRuntime( 2571): at android.view.ViewGroup.setPadding(ViewGroup.java:2379)
12-18 02:28:50.665 E/AndroidRuntime( 2571): at android.view.View.(View.java:3154)
12-18 02:28:50.665 E/AndroidRuntime( 2571): at android.view.View.(View.java:2781)
12-18 02:28:50.665 E/AndroidRuntime( 2571): at android.view.ViewGroup.(ViewGroup.java:412)
12-18 02:28:50.665 E/AndroidRuntime( 2571): at org.apmem.tools.layouts.FlowLayout.(FlowLayout.java:32)
12-18 02:28:50.665 E/AndroidRuntime( 2571): ... 28 more
The text was updated successfully, but these errors were encountered: