xychix / smali

Automatically exported from code.google.com/p/smali
0 stars 0 forks source link

Duplicate direct+virtual method definition were generated when baksmali android.policy.jar #167

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What seems to be the problem?
Duplicate direct+virtual method definition were generated when baksmali 
android.policy.jar

What is the exact smali/baksmali command that you ran?
java -jar -Xmx128m baksmali-1.4.2-dev.jar -a 10 -x -b -o policy 
android.policy.jar
java -jar -Xmx128m smali-1.4.2-dev.jar policy -o policy_classes.dex

What version of smali/baksmali are you using? What rom are you working
from?
baksmali-1.4.2-dev,  smali-1.4.2-dev (2013-4-2 update using git)

rom: e619-2_signed.zip(79.02M)  http://dl.dbank.com/c037hgbbt3

What is the airspeed velocity of an unladen swallow?

Please provide any additional information below: error messages, symptoms,
etc.

policy\com\android\internal\policy\impl\LockPatternKeyguardView.smali[0,0]
Duplicate direct+virtual method definition: 
Lcom/android/internal/policy/impl/LockPatternKeyguardView;->stuckOnLockScreenBec
auseSimMissing()Z

So sorry to disturb you again! Thank you!

Original issue reported on code.google.com by firestar...@gmail.com on 6 Apr 2013 at 1:38

Attachments:

GoogleCodeExporter commented 9 years ago
This means there is a private and a non-private method with the same name. 
You'll have to rename one of the methods, and find any references and rename 
those.

Original comment by jesusfreke@jesusfreke.com on 6 Apr 2013 at 9:32

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Thanks for your suggestion. The method is not important to me,  so I just 
deleted it and substituted all the references with 0x0.

Original comment by firestar...@gmail.com on 7 Apr 2013 at 11:40