Some apps crashing on second space when trying to login - Xiaomi Redmi 6 Questions & Answers

This is weird
Why some apps(specifically fb, Reddit, Instagram) are crashing with this message when I'm trying to login?
java.lang.RuntimeException: Unable to stop activity {com.instagram.android/com.instagram.nux.activity.SignedOutFragmentActivity}: java.lang.SecurityException: get application info: Neither user 1210203 nor current process has android.permission.INTERACT_ACROSS_USERS.
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:4436)
at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:4492)
at android.app.ActivityThread.-wrap5(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1699)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:176)
at android.app.ActivityThread.main(ActivityThread.java:6656)
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.SecurityException: get application info: Neither user 1210203 nor current process has android.permission.INTERACT_ACROSS_USERS.
at android.os.Parcel.readException(Parcel.java:2013)
at android.os.Parcel.readException(Parcel.java:1959)
at android.view.autofill.IAutoFillManager$Stub$Proxy.finishSession(IAutoFillManager.java:548)
at android.view.autofill.AutofillManager.finishSessionLocked(AutofillManager.java:1032)
at android.view.autofill.AutofillManager.commit(AutofillManager.java:866)
at android.app.Activity.onStop(Activity.java:1912)
at androidx.fragment.app.FragmentActivity.onStop327624)
at android.app.Instrumentation.callActivityOnStop(Instrumentation.java:1375)
at android.app.Activity.performStop(Activity.java:7256)
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:4431)
... 9 more
When I reopen the apps I found myself logged in but why do they crash at first attempt? Has my device been hacked?

Related

anybody has the APK for Gesture Search?

it says here for android 2.0 and up but we might be able to get to work on 1.6 .
I'd like to see this, too. Curious if it'll run on CyanogenMod.
here you go,
got it off the market just this min.
Firerat said:
here you go,
got it off the market just this min.
Click to expand...
Click to collapse
Thanks 10char
Firerat said:
here you go,
got it off the market just this min.
Click to expand...
Click to collapse
Thank you very much.
is there a way to port it back for g1?
ralpho said:
is there a way to port it back for g1?
Click to expand...
Click to collapse
its working on my g1
but I have eclair rom ( CaNNoN Complete 1.2 )
I'm guessing you have a cupcake, donut
make yourself a sig
click/tap edit my sig , in my sig
been using since this morning, its not bad.
I often get frustrated scrolling through the app draw, but now with a gestures icon on home screen I can just open it up and start 'writing'
it is a little slow between letters, but I imagine it will get better as it is developed and it is still faster than messing about in the app draw.
gets a thumbs up from me
Welp, I was so eager to get this working on CyanogenMod I dove in and spent the last few hours trying to figure it out :
Installed VirtualBox and Ubuntu
Installed the SDK, apktool, and other various required bits
Decoded the APK
Edited the AndroidManifest.xml to change minSdkVersion from 5 to 4
Rebuilt the APK
Set up a keystore and resigned the APK with my key (this part took awhile and I still don't really know what other options I have if any...)
INSTALLED THE APP SUCCESSFULLY
Bad news though. Although the app opens and starts giving you the opening wizard, it seems the service that "Queries data sources" in the background freaks out and requires a force close. The logcat:
Code:
I/ActivityManager( 100): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10100000 cmp=com.google.android.apps.gesturesearch/.GShell }
I/ActivityManager( 100): Start proc com.google.android.apps.gesturesearch for activity com.google.android.apps.gesturesearch/.GShell: pid=12360 uid=10097 gids={3003}
W/InputManagerService( 100): Window already focused, ignoring focus gain of: [email protected]
I/ActivityThread(12360): Publishing provider com.google.android.apps.gesturesearch.history: com.google.android.apps.gesturesearch.data.QueryHistoryProvider
I/ActivityThread(12360): Publishing provider com.google.android.apps.gesturesearch.index: com.google.android.apps.gesturesearch.data.IndexProvider
W/dalvikvm(12360): VFY: unable to resolve static field 26 (CONTENT_URI) in Landroid/provider/ContactsContract$Data;
D/dalvikvm(12360): VFY: replacing opcode 0x62 at 0x0025
D/dalvikvm(12360): Making a copy of Lcom/google/android/apps/gesturesearch/search/SearchItemView;.setIcon code (440 bytes)
D/dalvikvm(12360): GC freed 1792 objects / 184456 bytes in 175ms
I/ActivityManager( 100): Displayed activity com.google.android.apps.gesturesearch/.GShell: 2116 ms (total 2116 ms)
W/dalvikvm(12360): VFY: unable to resolve static field 25 (CONTENT_URI) in Landroid/provider/ContactsContract$Contacts;
D/dalvikvm(12360): VFY: replacing opcode 0x62 at 0x0003
D/dalvikvm(12360): Making a copy of Lcom/google/android/apps/gesturesearch/search/DataMultiContacts;.queryPhoneNumbers code (128 bytes)
W/dalvikvm(12360): VFY: unable to resolve static field 25 (CONTENT_URI) in Landroid/provider/ContactsContract$Contacts;
D/dalvikvm(12360): VFY: replacing opcode 0x62 at 0x0016
D/dalvikvm(12360): Making a copy of Lcom/google/android/apps/gesturesearch/search/DataMultiContacts;.prepare code (140 bytes)
W/dalvikvm(12360): threadid=15: thread exiting with uncaught exception (group=0x4001e180)
E/AndroidRuntime(12360): Uncaught handler: thread AsyncTask #1 exiting due to uncaught exception
E/AndroidRuntime(12360): java.lang.RuntimeException: An error occured while executing doInBackground()
E/AndroidRuntime(12360): at android.os.AsyncTask$3.done(AsyncTask.java:200)
E/AndroidRuntime(12360): at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
E/AndroidRuntime(12360): at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
E/AndroidRuntime(12360): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
E/AndroidRuntime(12360): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
E/AndroidRuntime(12360): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068)
E/AndroidRuntime(12360): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561)
E/AndroidRuntime(12360): at java.lang.Thread.run(Thread.java:1096)
E/AndroidRuntime(12360): Caused by: java.lang.NoClassDefFoundError: android.provider.ContactsContract$Contacts
E/AndroidRuntime(12360): at com.google.android.apps.gesturesearch.search.DataMultiContacts.prepare(DataMultiContacts.java:68)
E/AndroidRuntime(12360): at com.google.android.apps.gesturesearch.search.IndexingTask.doInBackground(IndexingTask.java:126)
E/AndroidRuntime(12360): at com.google.android.apps.gesturesearch.search.IndexingTask.doInBackground(IndexingTask.java:23)
E/AndroidRuntime(12360): at android.os.AsyncTask$2.call(AsyncTask.java:185)
E/AndroidRuntime(12360): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
E/AndroidRuntime(12360): ... 4 more
I/Process ( 100): Sending signal. PID: 12360 SIG: 3
I/dalvikvm(12360): threadid=7: reacting to signal 3
I/dalvikvm(12360): Wrote stack trace to '/data/anr/traces.txt'
These logs are a little above my head, though, and beyond my research capabilities at the moment (feeling a little defeated and TIRED ). Do they look like a result of my modification of the app or a framework limitation of CM's 1.6?
I'd appreciate any feedback, even if it's a "NO, STOP TRYING TO MAKE THIS WORK AND JUST SWITCH TO ECLAIR ALREADY" I attached the modified APK if anyone wants to play with it.
mttmllns said:
Do they look like a result of my modification of the app or a framework limitation of CM's 1.6?
Click to expand...
Click to collapse
Second one.
Code:
java.lang.NoClassDefFoundError: android.provider.ContactsContract$Contacts
http://developer.android.com/intl/de/reference/android/provider/ContactsContract.Contacts.html
It was added in API level 5 (Android 2.0) and apparently it wasn't ported to CM1.4.x .
Brut.all said:
It was added in API level 5 (Android 2.0) and apparently it wasn't ported to CM1.4.x .
Click to expand...
Click to collapse
Cool, thanks for the quick response. Thanks for the great app, too!
Google just put it out for 1.6. Woot!
http://googlemobile.blogspot.com/2010/03/gesture-search-now-available-for.html
Thanks for the heads up.
Spot On
I've been wanting an app like this for a while now. It work great. Now to reassign some buttons and shortcuts and remove redundancies...
Just a heads up. Enabling the ability to search music as well led to one hell of a bugfest. After doing so, it led Rings Extended to force close everytime something requiring changing a sound was messed with. That in turn disbaled all notifications I had set. It also completely "removed" my music from the music app. It was still on my card, but the music app did not recognize this. All this happened after enable said feature and THEN rebooting. Taking the music search off made rings extended no longer FC and all my sounds were back and my music once again showed up. Hope this helps out anyone with a similair occurence.
Up!
Anybody has the apk for Gesture Search 2.0 ? (this version presumably is compatible with N7 but is marked as incompatible on the Play Store)
TIA

Spare parts app force closes.

All of a sudden, spare parts force closes! How can I get it working again?
-------------------------------------
Sent via the XDA Tapatalk App
Have you tried uninstall and reinstall?
I did. I might try uninstall and reboot before reinstall.
EDIT: no good. Sigh...
-------------------------------------
Sent via the XDA Tapatalk App
Punnisher_42 said:
I did. I might try uninstall and reboot before reinstall.
EDIT: no good. Sigh...
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
Maybe the best way is to post a copy of the logcat when this happens. This happened to me as well and I tried uninstall/reinstall, but then it stopped happening so I cannot reproduce it anymore.
For logcat you will have to install the Android SDK and run ddms.bat with the phone connected to the PC via USB. Make sure that the phone as USB Debugging enabled (Settings->Applications->Development->USB Debugging), the use Device->Run Logcat on the ddms main window.
Another way that I found to inspect the logcat is via Android System Info app (free from Android Market).
j4mm3r said:
Maybe the best way is to post a copy of the logcat when this happens. This happened to me as well and I tried uninstall/reinstall, but then it stopped happening so I cannot reproduce it anymore.
For logcat you will have to install the Android SDK and run ddms.bat with the phone connected to the PC via USB. Make sure that the phone as USB Debugging enabled (Settings->Applications->Development->USB Debugging), the use Device->Run Logcat on the ddms main window.
Another way that I found to inspect the logcat is via Android System Info app (free from Android Market).
Click to expand...
Click to collapse
logcat comes up with the following when i click on spare parts:
I/WindowManager( 960): onOrientationChanged, rotation changed to 0
E/dun_service( 1776): Unable to open external port /dev/ttyHSUSB0 : No such device
W/InputManagerService( 960): Window already focused, ignoring focus gain of: [email protected]
E/dun_service( 1779): Unable to open external port /dev/ttyHSUSB0 : No such device
E/dun_service( 1781): Unable to open external port /dev/ttyHSUSB0 : No such device
I/ActivityManager( 960): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.androidapps.spare_parts/.SpareParts }
I/ActivityManager( 960): Start proc com.androidapps.spare_parts for activity com.androidapps.spare_parts/.SpareParts: pid=1784 uid=10100 gids={3003, 1015}
D/ddm-heap( 1784): Got feature list request
W/System.err( 1784): android.provider.Settings$SettingNotFoundException: always_finish_activities
W/System.err( 1784): at android.provider.Settings$System.getInt(Settings.java:631)
W/System.err( 1784): at com.androidapps.spare_parts.SpareParts.readAlwaysFinishesPreference(SpareParts.java:354)
W/System.err( 1784): at com.androidapps.spare_parts.SpareParts.onResume(SpareParts.java:451)
W/System.err( 1784): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1225)
W/System.err( 1784): at android.app.Activity.performResume(Activity.java:3560)
W/System.err( 1784): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2838)
W/System.err( 1784): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2866)
W/System.err( 1784): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2420)
W/System.err( 1784): at android.app.ActivityThread.access$2100(ActivityThread.java:116)
W/System.err( 1784): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
W/System.err( 1784): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 1784): at android.os.Looper.loop(Looper.java:123)
W/System.err( 1784): at android.app.ActivityThread.main(ActivityThread.java:4203)
W/System.err( 1784): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1784): at java.lang.reflect.Method.invoke(Method.java:521)
W/System.err( 1784): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799)
W/System.err( 1784): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
W/System.err( 1784): at dalvik.system.NativeStart.main(Native Method)
W/dalvikvm( 1784): threadid=3: thread exiting with uncaught exception (group=0x2aadda10)
E/AndroidRuntime( 1784): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 1784): java.lang.RuntimeException: Unable to resume activity {com.androidapps.spare_parts/com.androidapps.spare_parts.SpareParts}: java.lang.ArrayIndexOutOfBoundsException
E/AndroidRuntime( 1784): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2851)
E/AndroidRuntime( 1784): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2866)
E/AndroidRuntime( 1784): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2420)
E/AndroidRuntime( 1784): at android.app.ActivityThread.access$2100(ActivityThread.java:116)
E/AndroidRuntime( 1784): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
E/AndroidRuntime( 1784): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1784): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1784): at android.app.ActivityThread.main(ActivityThread.java:4203)
E/AndroidRuntime( 1784): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1784): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1784): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799)
E/AndroidRuntime( 1784): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
E/AndroidRuntime( 1784): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1784): Caused by: java.lang.ArrayIndexOutOfBoundsException
E/AndroidRuntime( 1784): at android.preference.ListPreference.setValueIndex(ListPreference.java:136)
E/AndroidRuntime( 1784): at com.androidapps.spare_parts.SpareParts.readWifiSleepPolicyPreference(SpareParts.java:344)
E/AndroidRuntime( 1784): at com.androidapps.spare_parts.SpareParts.onResume(SpareParts.java:453)
E/AndroidRuntime( 1784): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1225)
E/AndroidRuntime( 1784): at android.app.Activity.performResume(Activity.java:3560)
E/AndroidRuntime( 1784): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2838)
E/AndroidRuntime( 1784): ... 12 more
E/http ( 1784): Cannot get NetworkInfo, act as Wifi.
Click to expand...
Click to collapse
Punnisher_42 said:
logcat comes up with the following when i click on spare parts:
Click to expand...
Click to collapse
Hmm, clearly looks like the application craps out when initializing its settings. Usually an uninstall/reinstall should clear out any corrupted settings and let the app start again with defaults, but clearly this is not the case.
By the way, try this:
Uninstall spare parts and use Any Cut or something similar to create a short cut to the activity called Battery History (Settings - BatteryHistory), launch it and you will find that it gives you access to the same Battery History information as you would have got from Spare Parts (Spare Parts probably uses the same thing). After that reinstall Spare Parts and see if it can start.
I'm also trying to figure out some kind of manual way of clearing out application data on the internal storage. Maybe some of the devs can help and give some hints?
/j4mm3r
No joy j4mm3r. But at least I now can access the battery history which was basically the only reason I needed spate parts.
-------------------------------------
Sent via the XDA Tapatalk App

[Q] Ultra Keyboard crashing

I've been using Ultra Keyboard for a long time (used it on my Hero and have been using it on my Nexus S 4G since I bought it back in July), but starting with CM7 build 115 or 116, it started crashing. From the stacktrace, it appears to be related to the user dictionary, but I don't know much about Java, so I'm not sure.
I have tried asking on the CM forum, but haven't had any luck there, so I'm hoping maybe someone here can help me.
Here's the stack trace:
Code:
java.lang.UnsatisfieidLinkError: openNative
at com.android.inputmethod.latin.UserDictionary.OpenNative(Native Method)
at com.android.inputmethod.latin.NativeDictionary.open(NativeDictionary.java:50)
at com.android.inputmethod.latin.UserDictionary.<init>(UserDictionary.java:99)
at com.android.inputmethod.latin.latinIME.onCreate(LatinIME.java:369)
at com.binarybulge.android.apps.keyboard.KeyboardInputMethodService.onCreate(KeyboardInputMethodService.java:157)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2066)
at android.app.ActivityThread.access$2500(ActivityThread.java:123)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:993)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.activityThread.main(ActivityThread.java:3835)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
at dalvik.system.NativeStart.main(Native Method)
I've switched to using Swype for the time being, but I prefer Ultra Keyboard for several reasons and would like to go back to using it if possible. Any suggestions?
No suggestions? Guess I'll move on to the developer and hope they can help.

[Q] Web crashing upon touch...see logcat.

Ok, myself and another member are working on porting a ROM over. This is the error the logcat is showing every time I touch the screen while in either browser of Facebook.
E/AndroidRuntime(15475): FATAL EXCEPTION: WebViewCoreThread
E/AndroidRuntime(15475): java.lang.UnsatisfiedLinkError: nativeGetTextureGeneratorThreadID
E/AndroidRuntime(15475): at android.webkit.WebViewCore.nativeGetTextureGeneratorThreadID(Native Method)
E/AndroidRuntime(15475): at android.webkit.WebViewCore.access$800(WebViewCore.java:60)
E/AndroidRuntime(15475): at android.webkit.WebViewCore$WebCoreThread$1.handleMessage(WebViewCore.java:709)
E/AndroidRuntime(15475): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(15475): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(15475): at android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:789)
E/AndroidRuntime(15475): at java.lang.Thread.run(Thread.java:856)
W/ActivityManager( 197): Force finishing activity com.facebook.katana/.activity.FbFragmentChromeActivity
D/dalvikvm( 197): GC_FOR_ALLOC freed 3219K, 35% free 16647K/25347K, paused 94ms
Anyone seeing anything I'm not? We're assuming it has something to do with the Framework but idk...any help would be appreciated. Thanks

I need help to solve this game bug

Hi everyone,
I need help to solve a bug with the old gameloft games on android ICS and higher
the problem appear when i making a multitouch action while I run the game, then the game gives me force close. I noticed in the logcat and this is the error:
HTML:
01-03 16:48:15.726 E/AndroidRuntime( 4860): FATAL EXCEPTION: main
01-03 16:48:15.726 E/AndroidRuntime( 4860): java.lang.IllegalArgumentException: pointerIndex out of range
01-03 16:48:15.726 E/AndroidRuntime( 4860): at android.view.MotionEvent.nativeGetAxisValue(Native Method)
01-03 16:48:15.726 E/AndroidRuntime( 4860): at android.view.MotionEvent.getX(MotionEvent.java:197 4)
01-03 16:48:15.726 E/AndroidRuntime( 4860): at com.gameloft.android.TBFV.GloftGMHP.ML.GameGLSurfa ceView.onTouchEvent(GameGLSurfaceView.java:285)
01-03 16:48:15.726 E/AndroidRuntime( 4860): at android.view.View.dispatchTouchEvent(View.java:554 1).
it is clear that this bug does not happen to me when I run the game in android 2.3 or lower
I would like to know if someone knows the way to fix this either modifying the app or modifying the android system.
thanks for your attention and I hope answers

Categories

Resources