-
Notifications
You must be signed in to change notification settings - Fork 1
REMOVE_CODE
Cregrant edited this page Jun 9, 2023
·
4 revisions
Tries to delete .smali
files or directories. There may be errors when running your project. This is a new rule that is not supported by ApkEditor.
- NAME: the name of the rule (optional)
- TARGET: target path inside the smali folders to be deleted. It is important not to specify the
smali
orsmali_classes
root folder. Each path must start on a new line
Common deletion is not sufficient for code files. If you are deleting the entire smali/com/blah/
folder, you must carefully remove all Lcom/blah/
references from all .smali
files. This rule tries to remove all of these references automatically. The REMOVE_CODE
is what SmaliScissors was created for.
com/test/a.smali
- is an a.smali
file inside com/test/
folder
com/test
- is a test.smali
file inside com/
folder
com/test/
- is a test/
folder inside com/
folder
This format can be changed in the future.
Remove some analytics from a project:
[REMOVE_CODE]
TARGET:
com/android/installreferrer/
com/adjust/
com/blahblah/a.smali
[/REMOVE_CODE]