RuntimeException: can,t modified Field:action0(I), in class :Landroid/support/v7/appcompat/R$id;
- Dominant language
- C++
- Stars
- 7k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
Hi all,我遇到了这样的错误不知道是什么原因造成的有谁能给些指导么谢谢了H:\AndFixTest>apkpatch.bat -f XXX.apk -t XXX.apk -o output -k XXX.keystore -p android -a XXX-e XXX
java.lang.RuntimeException: can,t modified Field:action0(I), in class :Landroid/support/v7/appcompat/R$id;
at com.euler.patch.diff.DiffInfo.addModifiedFields(DiffInfo.java:88)
at com.euler.patch.diff.DexDiffer.compareField(DexDiffer.java:125)
at com.euler.patch.diff.DexDiffer.compareField(DexDiffer.java:101)
at com.euler.patch.diff.DexDiffer.compareField(DexDiffer.java:95)
at com.euler.patch.diff.DexDiffer.diff(DexDiffer.java:32)
at com.euler.patch.ApkPatch.doPatch(ApkPatch.java:68)
at com.euler.patch.Main.main(Main.java:97)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the reported apkpatch.bat command and read com.euler.patch.diff.DiffInfo.addModifiedFields, DexDiffer.compareField, and ApkPatch.doPatch at the stack-trace locations. Determine why the action0 field in android/support/v7/appcompat/R$id cannot be modified, then verify the diagnosis with a reproducible patch attempt and document the expected behavior or fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100