mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-22 17:57:35 +01:00
update unit-tests to handle a simple resource in smali
This commit is contained in:
parent
e48ab8b9b9
commit
cc5ae0f1d1
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<public type="string" name="hello_world" id="0x7f020000" />
|
||||||
|
</resources>
|
@ -1,4 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<string name="test1" />
|
<string name="test1" />
|
||||||
|
<string name="hello_world">Hello World</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
|
sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
|
||||||
|
|
||||||
const-string v1, "Hello World!"
|
const/high16 v1, 0x7f020000
|
||||||
|
|
||||||
invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V
|
invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user