There are different initialization framework versions during decompilation and compilation
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start by comparing framework initialization in the decompile and build paths shown in the logs, focusing on why they select versions 34 and 33. Reproduce with the supplied APK and commands on APKEditor 1.4.7; done looks like both paths use a compatible framework version and the build no longer fails to resolve @android:string/config_pointing_ui_class.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
When decompiling MIUISystemUIPlugin, there are different initialization framework versions during decompilation and compilation.
To Reproduce
Steps to reproduce the behavior:
- Used version 1.4.7
- Operating system Ubuntu24.04
Log/Stacktrace
java -jar APKEditor.jar d -f -i MIUISystemUIPlugin.apk -o ./mod/MIUISystemUIPlugin
00.000 I: [DECOMPILE] Using: APKEditor version 1.4.7, ARSCLib version 1.3.8
-t = xml
-load-dex = 3
-dex-lib = internal
-comment-level = basic
-i = MIUISystemUIPlugin.apk
-o = ./mod/MIUISystemUIPlugin
-f = true
00.009 I: [DECOMPILE] Loading ...
00.120 I: [DECOMPILE] Decompiling to xml ...
00.377 I: [DECOMPILE] Initializing android framework ...
00.378 I: [DECOMPILE] Loading android framework for version: 34
00.420 I: [DECOMPILE] Initialized framework: android-34 (14)
00.448 I: [DECOMPILE] [SANITIZE]: Sanitizing paths ...
00.455 I: [DECOMPILE] Validating resource names ...
00.496 I: [DECOMPILE] All resource names are valid
00.496 I: [DECOMPILE] Decode: archive-info.json
00.501 I: [DECOMPILE] Decode: uncompressed-files.json
00.516 I: [DECOMPILE] Decoding: AndroidManifest.xml
00.576 I: [DECOMPILE] public.xml: miui.systemui.plugin -> package_1
00.596 I: [DECOMPILE] Res files: resources
02.190 I: [DECOMPILE] Dex files: 4
02.682 I: [DECOMPILE] Baksmali: v039<5192> classes.dex
06.012 I: [DECOMPILE] Baksmali: v039<3195> classes2.dex
07.752 I: [DECOMPILE] Baksmali: v039<1995> classes3.dex
09.637 I: [DECOMPILE] Baksmali: v039<263> classes4.dex
09.757 I: [DECOMPILE] Extracting root files ...
09.816 I: [DECOMPILE] Dumping signatures ...
09.817 I: [DECOMPILE] Saved to: ./mod/MIUISystemUIPlugin
java -jar APKEditor.jar b -f -i ./mod/MIUISystemUIPlugin -o ./mod/MIUISystemUIPlugin_modified.apk
00.000 I: [BUILD] Using: APKEditor version 1.4.7, ARSCLib version 1.3.8
-t = xml
-dex-lib = internal
-i = ./mod/MIUISystemUIPlugin
-o = ./mod/MIUISystemUIPlugin_modified.apk
-f = true
00.010 I: [BUILD] Scanning XML directory ...
00.038 I: [BUILD] Scanning: MIUISystemUIPlugin
00.202 I: [BUILD] Initializing android framework ...
00.202 I: [BUILD] Loading android framework for version: 33
00.361 I: [BUILD] Initialized framework: android-33 (UpsideDownCake)
00.361 I: [BUILD] Set main package id from manifest: @mipmap/ic_launcher
00.365 I: [BUILD] Main package id initialized: id = 0x7f, from: @mipmap/ic_launcher
00.365 I: [BUILD] Encoding attrs ...
00.463 I: [BUILD] Encoding values ...
00.657 [BUILD] Encoding: package_1/res/values/styles.xml
ERROR:
at ./mod/MIUISystemUIPlugin/resources/package_1/res/values/styles.xml [line = 1940]
Resource not found for: '@android:string/config_pointing_ui_class', frameworks size=1 [android-33]: @android:string/config_pointing_ui_class
Bugs:
00.420 I: [DECOMPILE] Initialized framework: android-34 (14)
00.361 I: [BUILD] Initialized framework: android-33
- Ngôn ngữ chính
- Java
- Star
- 2.3k
- Fork
- 417
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của REAndroid/APKEditor
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
Tất cả issue của REAndroid/APKEditor
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
jenkins-infra/plugin-modernizer-tool#2070 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Event search answers 500 when calendars, attendees or organizers holds a null elementCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởai-driven-qa bug Minor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
linagora/twake-calendar-side-service#1615 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
eclipse-tradista/tradista#371 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Failed to start Rescue missionĐang mởcritical
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
mars-sim/mars-sim#2199 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày