-
Notifications
You must be signed in to change notification settings - Fork 3k
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
华为 LIO-AL00,android10,图片列表选择页,偶现 #1724
Comments
也出现了 Android 10,level 29 ROM HuaWei/EMOTION CPU架构 arm64-v8a Caused by:5 java.lang.IllegalArgumentException:Span count should be at least 1. Provided 0 |
已修复 |
--logversion:utracea
Process Name: 'xxx'
Thread Name: 'main'
Back traces starts.
java.lang.RuntimeException: Unable to start activity ComponentInfo{xxx/com.luck.picture.lib.PictureSelectorActivity}: java.lang.IllegalArgumentException: Span count should be at least 1. Provided 0
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3877)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4056)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:91)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2464)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:219)
at android.app.ActivityThread.main(ActivityThread.java:8299)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1052)
Caused by: java.lang.IllegalArgumentException: Span count should be at least 1. Provided 0
at androidx.recyclerview.widget.GridLayoutManager.setSpanCount(GridLayoutManager.java:6)
at androidx.recyclerview.widget.GridLayoutManager.<init>(GridLayoutManager.java:17)
at com.luck.picture.lib.PictureSelectorActivity.initWidgets(PictureSelectorActivity.java:39)
at com.luck.picture.lib.PictureBaseActivity.onCreate(PictureBaseActivity.java:21)
at com.luck.picture.lib.PictureSelectorActivity.onCreate(Native Method)
at android.app.Activity.performCreate(Activity.java:8085)
at android.app.Activity.performCreate(Activity.java:8073)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1320)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3850)
Back traces ends.
The text was updated successfully, but these errors were encountered: