mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-21 17:27:41 +01:00
Fixed an issue occuring when you try to debug-build smali code with native methods.
This commit is contained in:
parent
2cda08aea4
commit
51ec9611f4
@ -40,7 +40,10 @@ public class DebugInjector {
|
|||||||
|
|
||||||
private void inject() throws AndrolibException {
|
private void inject() throws AndrolibException {
|
||||||
String definition = nextAndAppend();
|
String definition = nextAndAppend();
|
||||||
if (definition.contains(" abstract ")) {
|
if (
|
||||||
|
definition.contains(" abstract ") ||
|
||||||
|
definition.contains(" native ")
|
||||||
|
) {
|
||||||
nextAndAppend();
|
nextAndAppend();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user