zhangwenan / smali

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

smali and baksmali result in ClassNotFoundException #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm trying to use smali to fix google search country problem. (it use google.cn 
instead of google.com.hk.

However, when launch it and it crashed with ClassNotFoundException

java.lang.RuntimeException: Unable to instantiate application 
com.google.android.googlequicksearchbox.QsbApplicationWrapper: 
java.lang.ClassNotFoundException: 
com.google.android.googlequicksearchbox.QsbApplicationWrapper in loader 
dalvik.system.PathClassLoader[/data/app/com.google.android.googlequicksearchbox-
1.apk]

I use the same step on a sample app. After backsmali and smali, the app still 
works fine.

What steps will reproduce the problem?
1. unzip com.google.android.googlequicksearchbox-1.apk
2. baksmali classes.src -o src
3. smali src -o classes.src
4. zip into apk and sign it.
5. deploy and run it.

What is the expected output? What do you see instead?
get a working apk

What version of the product are you using? On what operating system?
1.2.6

Original issue reported on code.google.com by yufanyu...@gmail.com on 3 Feb 2011 at 12:49

Attachments:

GoogleCodeExporter commented 9 years ago
My fault.
I found out that when you replace a system app, you have to sign with the same 
signature to sign the app.

Please close this one

Original comment by yufanyu...@gmail.com on 3 Feb 2011 at 4:21

GoogleCodeExporter commented 9 years ago
Done :)

Original comment by JesusFr...@gmail.com on 12 Feb 2011 at 5:37