no viable alternative at input ...?
Closed this issue · 4 comments
GoogleCodeExporter commented
What seems to be the problem?
Trying to change setting.odex as i've folled this on xda:
http://forum.xda-developers.com/showpost.php?p=48416641&postcount=14&nocache=1&z
=5700904123950750
but am getting error message:
Settings\com\android\settings\deivesinfodettings.smali[885,15] no viable
alternative at input 'intent'
Settings\com\android\settings\deivesinfodettings.smali[885,22] no viable
alternative at input 'Landroid/content/Intent'
What is the exact smali/baksmali command that you ran?
java -jar smali.jar -a 16 -x Settings -o Settings.odex
What version of smali/baksmali are you using? What rom are you working
from?
Latest version, Sony stock rom (6.2.B.1.96) 4.1.2 Jelly Bean
What is the airspeed velocity of an unladen swallow?
Skip,
Please provide any additional information below: error messages, symptoms,
etc.
None
Original issue reported on code.google.com by adamk...@gmail.com
on 8 Apr 2014 at 6:05
GoogleCodeExporter commented
This looks like a normal error message when you use invalid syntax. Please
provide the line in the smali file that is causing the error.
Original comment by jesusfreke@jesusfreke.com
on 9 Apr 2014 at 1:13
- Changed state: Pending
GoogleCodeExporter commented
.line 157
.local v1, intent:Landroid/content/Intent;
new-instance v2, Landroid/content/ComponentName;
const-string v3, "com.adhi.kitkat.easteregg"
const-string v4, "com.adhi.kitkat.easteregg.PlatLogoActivity"
invoke-direct {v2, v3, v4},
Landroid/content/ComponentName;-><init>(Ljava/lang/String;Ljava/lang/String;)V
invoke-virtual {v1, v2},
Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/
content/Intent;
Original comment by adamk...@gmail.com
on 9 Apr 2014 at 11:49
GoogleCodeExporter commented
Which is line 885?
Original comment by jesusfreke@jesusfreke.com
on 9 Apr 2014 at 5:08
GoogleCodeExporter commented
The syntax for .local declarations changed in.. 2.0 iirc. It should be
.local v1, "intent":Landroid/content/Intent;
Original comment by jesusfreke@jesusfreke.com
on 7 Nov 2014 at 7:20
- Changed state: Done