LuckSiege / LuckSiege/PictureSelector
裁剪闪退
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 13.6k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.yalantis.ucrop.UCropActivity}: android.view.InflateException: Binary XML file line #8: Binary XML file line #8: Error inflating class androidx.appcompat.widget.Toolbar
`Caused by: android.view.InflateException: Binary XML file line #8: Binary XML file line #8: Error inflating class androidx.appcompat.widget.Toolbar
Caused by: android.view.InflateException: Binary XML file line #8: Error inflating class androidx.appcompat.widget.Toolbar
Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.appcompat.widget.Toolbar" on path:
版本 2.6 -2.7 都有这个问题,其他版本未尝试
依赖了 androidx.appcompat:appcompat:1.3.1
主题:Theme.AppCompat.DayNight.NoActionBar
网上的办法都试了,就很奇怪
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 at the UCropActivity launch and the Android layout inflation failure for androidx.appcompat.widget.Toolbar. Check the reported PictureSelector 2.6–2.7 versions, the androidx.appcompat:appcompat:1.3.1 dependency, and Theme.AppCompat.DayNight.NoActionBar; done means cropping opens without the reported crash.
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
- 28/100