[Q] Whatsapp Keep Crashing in MIUIv5 For Huawei Ascend P6. - Android Q&A, Help & Troubleshooting

Dear Sir,
I Am Using Huawei P6. Someone Recently Port MIUIV5 For Our Device ROM Is Working Properly Only This Missing Is Whatsapp Is Not Working. When We Open Whatsapp it Keep Crashing. I Installed Whatsapp+ Also Same Thing. i Clear Cache And Tried Everything i Can.
Older Version Of Whatsapp Is Working. But Older Version Will Work For More 10 Days Then It Will Ask For Update. Please Help Me If YOu Can.
Here Is Log :
java.lang.VerifyError: com/b
at com.whatsapp.App.onCreate(App.java:507)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java)
at android.app.ActivityThread.access$1300(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
at dalvik.system.NativeStart.main(Native Method)

Related

[WIP] Multiple TaskSwitchers PORT [XU]help needed ?

well i am trying to port the recents view from Ligux to Xperia U Stock ICS 6.1.1.B.1.10
Systemui works
and Stock Taskmanager as well but * WebOS and Sense4 ones doesnt *
in all smali i have changed the IDS to correct ones however
when i change to other taskmanager
* using Liguxsettings because i have ported it from ligux so code are also same as from ligux *
it Stops :/
and i get
Code:
[ 01-25 16:15:28.130 1916:0x77c E/AndroidRuntime ]
FATAL EXCEPTION: main
java.lang.NullPointerException
at com.android.systemui.recent.RecentsVerticalScrollView.update(RecentsVerticalScrollView.java:117)
at com.android.systemui.recent.RecentsVerticalScrollView.access$300(RecentsVerticalScrollView.java:36)
at com.android.systemui.recent.RecentsVerticalScrollView$8.onInvalidated(RecentsVerticalScrollView.java:330)
at android.database.DataSetObservable.notifyInvalidated(DataSetObservable.java:47)
at android.widget.BaseAdapter.notifyDataSetInvalidated(BaseAdapter.java:59)
at com.android.systemui.recent.RecentsPanelView.refreshRecentTasksList(RecentsPanelView.java:607)
at com.android.systemui.recent.RecentsPanelView.show(RecentsPanelView.java:216)
at com.android.systemui.recent.RecentsPanelView.show(RecentsPanelView.java:208)
at com.android.systemui.statusbar.phone.PhoneStatusBar$H.handleMessage(PhoneStatusBar.java:1152)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4448)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:823)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:590)
at dalvik.system.NativeStart.main(Native Method)
:/
however i now dunno what to edit anymore because when i compare it seems all right :/
if someone can please help me
my systemui + settings are attached

Cannot sign any apk in Ubuntu..

Hey guys, i just installed Ubuntu in a VirtualBox, everything is great but i cannot figure out why i can't sign any apks.. here is the error that is generated.
Exception in thread "main" java.lang.NoClassDefFoundError: javax/crypto/EncryptedPrivateKeyInfo
at com.android.signapk.SignApk.decryptPrivateKey(SignApk.java:124)
at com.android.signapk.SignApk.readPrivateKey(SignApk.java:154)
at com.android.signapk.SignApk.main(SignApk.java:436)
Caused by: java.lang.ClassNotFoundException: javax.crypto.EncryptedPrivateKeyInfo
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 3 more
I have java version 1.7.0_21 installed.

[Q] troubles with apktool

hello there, i'm trying to add translations to MiuiExpress APK (http://xitong.xiaomi.com/index) decompile and recompile went well, but when i launch the APK on my phone it crash with the following fc log :
HTML:
{"platform":"4.4.2","exception_class":"java.lang.RuntimeException","error_type":"fc","build_version":"9a658b46e5","imei":"","package_name":"com.miui.miuilite","device":"Nexus 4","stack_track":"java.lang.RuntimeException: Unable to create service com.xiaomi.mms.transaction.SmsService: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.app.Application.getPackageName()' on a null object reference
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2602)
at android.app.ActivityThread.access$1800(ActivityThread.java:145)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1288)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5081)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)\nCaused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.app.Application.getPackageName()' on a null object reference
at com.xiaomi.mms.transaction.SmsService.onCreate(SmsService.java:36)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2592)
... 8 more\n","app_version":"1.0.1","network":"Orange F","exception_source_method":"android.app.ActivityThread.handleCreateService"}, processName is com.miui.miuilite
any idea what is the problem ? thanks you much
PS: even if i don't touch the APK after recompiling it i got the same error on my phone i use apktool 2.0.0 BETA 9

[Xposed][MODULE][4.0+] XInternalSD [v4.8] Exception on Redmi Note S1

Here is log. OS: MIUI 8.
Any fix or work around I can try? Appreciate in advance.
---
Loading Xposed v54 (for Zygote)...
Running ROM 'KTU84P' with fingerprint 'Xiaomi/gucci/gucci:4.4.4/KTU84P/6.12.22:user/release-keys'
Loading modules from /data/app/com.pyler.xinternalsd-1.apk
Loading class com.pyler.xinternalsd.XInternalSD
java.lang.IllegalStateException: Unable to get package info for com.miui.securitycenter.dynamic; is package not installed?
at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:368)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:321)
at de.robv.android.xposed.XposedBridge$3.afterHookedMethod(XposedBridge.java:249)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
at android.app.LoadedApk.<init>(Native Method)
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at android.app.ContextCompat.createLoadedApk(ContextCompat.java:58)
at android.app.ContextCompat.createApplicationContext(ContextCompat.java:27)
at com.miui.securitycenter.dynamic.ApkLoader.getDynamicContext(ApkLoader.java:164)
at com.miui.securitycenter.dynamic.DynamicServiceManager.createOrUpdateManagerWT(DynamicServiceManager.java:145)
at com.miui.securitycenter.dynamic.DynamicServiceManager.connectWT(DynamicServiceManager.java:127)
at com.miui.securitycenter.dynamic.DynamicServiceManager.access$400(DynamicServiceManager.java:20)
at com.miui.securitycenter.dynamic.DynamicServiceManager$DynamicWorkHandler.handleMessage(DynamicServiceManager.java:193)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.os.HandlerThread.run(HandlerThread.java:61)
It has nothing with this module.

Problem with apps like instgram

Hello
I'm facing a problem while openning alot of apps or installing them for example instgram
Here's the report bug
java.lang.RuntimeException: Unable to instantiate application com.instagram.app.InstagramAppShell: java.lang.RuntimeException: java.io.IOException: cannot mkdir: /data/user/0/com.instagram.android/lib-main
at android.app.LoadedApk.makeApplication(LoadedApk.java:1073)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5916)
at android.app.ActivityThread.access$1200(ActivityThread.java:200)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1673)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6806)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
Caused by: java.lang.RuntimeException: java.io.IOException: cannot mkdir: /data/user/0/com.instagram.android/lib-main
at X.0DB.B9842)
at com.instagram.app.InstagramAppShell.attachBaseContext9514)
at android.app.Application.attach(Application.java:237)
at android.app.Instrumentation.newApplication(Instrumentation.java:1122)
at android.app.LoadedApk.makeApplication(LoadedApk.java:1065)
... 9 more
Caused by: java.io.IOException: cannot mkdir: /data/user/0/com.instagram.android/lib-main
at X.0E1.C16718)
at X.0DN.E13847)
at X.0DN.B13783)
at X.0DB.B9823)
... 13 more
Click to expand...
Click to collapse
Ahmed1mohsen said:
Hello
I'm facing a problem while openning alot of apps or installing them for example instgram
Here's the report bug
Click to expand...
Click to collapse
Nobody can help !

Categories

Resources