LuckSiege / LuckSiege/PictureSelector
华为nova 10闪退
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 13.6k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
Current use version?
当前使用的版本是多少?
3.10.7
Will this problem occur in demo?
Demo能否复现这问题?
友盟抓取,没有机型,无法复现
Describe the problem or provide an error log?
描述问题或提供错误log?
设备机型:HUAWEI
系统:HarmonyOS
机型版本:NCO-AL00
CPU架构:arm64-v8a,armeabi-v7a,armeabi
Thread Name: 'main'
Back traces starts.
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.gwm.smarteye/com.yalantis.ucrop.UCropMultipleActivity}: java.lang.IllegalArgumentException: Missing required parameters, count cannot be less than 1
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4293)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4495)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:93)
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:2706)
at android.os.Handler.dispatchMessage(Handler.java:109)
at android.os.Looper.loop(Looper.java:228)
at android.app.ActivityThread.main(ActivityThread.java:9108)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:614)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1129)
Caused by: java.lang.IllegalArgumentException: Missing required parameters, count cannot be less than 1
at com.yalantis.ucrop.UCropMultipleActivity.initCropFragments(UCropMultipleActivity.java:111)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting UCropMultipleActivity.java at initCropFragments line 111 and trace how the required crop-item count reaches zero on the Huawei nova 10 report. Confirm the expected handling for missing parameters and verify that launching the activity no longer crashes, using the reported version 3.10.7 and device details where possible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100