Crash when decompiling and rebuilding with apktool - Android Q&A, Help & Troubleshooting

I'm trying to decompile the instagram apk with apktool. Right now for leaning I'm literally just decompiling, recompiling and resigning without any other changes just to test to see if it works:
apktool d -f -r ~/Downloads/Instagram_v230.0.0.20.108_apkpure.com.apk
apktool b ~/Downloads/Instagram_v230.0.0.20.108_apkpure.com -o ~/modified.apk
java -jar ./uber-apk-signer.jar --apks ~/modified.apk
Click to expand...
Click to collapse
but when I install this onto my device I always get this cash:
04-15 10:38:58.394 25598 25598 E AndroidRuntime: FATAL EXCEPTION: main
04-15 10:38:58.394 25598 25598 E AndroidRuntime: Process: com.instagram.android, PID: 25598
04-15 10:38:58.394 25598 25598 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate application com.instagram.app.InstagramAppShell package com.instagram.android: java.lang.RuntimeException: Failed to parse XML configuration from fb_network_security_config
04-15 10:38:58.394 25598 25598 E AndroidRuntime: at android.app.LoadedApk.makeApplication(LoadedApk.java:1464)
04-15 10:38:58.394 25598 25598 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7441)
04-15 10:38:58.394 25598 25598 E AndroidRuntime: at android.app.ActivityThread.access$1700(ActivityThread.java:310)
04-15 10:38:58.394 25598 25598 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2281)
04-15 10:38:58.394 25598 25598 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
04-15 10:38:58.394 25598 25598 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:226)
04-15 10:38:58.394 25598 25598 E AndroidRuntime: at android.os.Looper.loop(Looper.java:313)
04-15 10:38:58.394 25598 25598 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8646)
04-15 10:38:58.394 25598 25598 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
04-15 10:38:58.394 25598 25598 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:567)
04-15 10:38:58.394 25598 25598 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
04-15 10:38:58.394 25598 25598 E AndroidRuntime: Caused by: java.lang.RuntimeException: Failed to parse XML configuration from fb_network_security_config
04-15 10:38:58.394 25598 25598 E AndroidRuntime: at android.security.net.config.XmlConfigSource.ensureInitialized(XmlConfigSource.java:89)
04-15 10:38:58.394 25598 25598 E AndroidRuntime: at android.security.net.config.XmlConfigSource.getPerDomainConfigs(XmlConfigSource.java:55)
04-15 10:38:58.394 25598 25598 E AndroidRuntime: at android.security.net.config.ManifestConfigSource.getPerDomainConfigs(ManifestConfigSource.java:45)
04-15 10:38:58.394 25598 25598 E AndroidRuntime: at android.security.net.config.ApplicationConfig.ensureInitialized(ApplicationConfig.java:175)
04-15 10:38:58.394 25598 25598 E AndroidRuntime: at android.security.net.config.ApplicationConfig.isCleartextTrafficPermitted(ApplicationConfig.java:130)
04-15 10:38:58.394 25598 25598 E AndroidRuntime: at android.security.net.config.NetworkSecurityConfigProvider.handleNewApplication(NetworkSecurityConfigProvider.java:60)
04-15 10:38:58.394 25598 25598 E AndroidRuntime: at android.app.LoadedApk.makeApplication(LoadedApk.java:1455)
04-15 10:38:58.394 25598 25598 E AndroidRuntime: ... 10 more
04-15 10:38:58.394 25598 25598 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: File r/chp.xml from xml type xml resource ID #0x7f150001
04-15 10:38:58.394 25598 25598 E AndroidRuntime: at android.content.res.ResourcesImpl.loadXmlResourceParser(ResourcesImpl.java:1381)
04-15 10:38:58.394 25598 25598 E AndroidRuntime: at android.content.res.Resources.loadXmlResourceParser(Resources.java:2555)
04-15 10:38:58.394 25598 25598 E AndroidRuntime: at android.content.res.Resources.loadXmlResourceParser(Resources.java:2531)
04-15 10:38:58.394 25598 25598 E AndroidRuntime: at android.content.res.Resources.getXml(Resources.java:1386)
04-15 10:38:58.394 25598 25598 E AndroidRuntime: at android.security.net.config.XmlConfigSource.ensureInitialized(XmlConfigSource.java:82)
04-15 10:38:58.394 25598 25598 E AndroidRuntime: ... 16 more
Click to expand...
Click to collapse
I'm not modifying the apk at all and yet I get this crash when I try to run it -- does anyone have any ideas why?

Related

com.lge.clock crashing "unfortunately clock has stopped"

I have an Lg G5 (H850), unrooted and fully up to date.
A few months ago I began to have trouble with the Clock app. It crashes several times during use.
I've been able to deduce that this problem occurs when Android Wear is installed, and it makes no difference if my Lg G Watch R is connected to my phone or not.
Another event that seems to trigger Clock crashing is when my phone toggles between service and WiFi, but I cannot be sure if that's the cause.
Here are the failed solutions I've tried:
- Install previous version of Android Wear dating back to before the issue started
- Cleared Data/Cache from Clock app
- Tried to disable Clock, but button is grayed out
- Installed Google Clock. Made no difference
- Disconnected watch, but problem persists
- Reset the watch to manufacturer's
I should add (although I am not sure it's a bug) that every time I clear data/cash from Clock, a new alarm appears set (though tuned off) at 7:00 am January 1st. I've never set this alarm, and whether I leave it there, delete it or switch it on and off (so it changes to current date) doesn't make a difference.
I am including a copy of LogCat that shows the crash. Unfortunately I do not know what to do with the information it provides.
Thanks for any help anyone can provide.
--------- beginning of crash
07-31 10:26:09.541 10690 10690 E AndroidRuntime: FATAL EXCEPTION: main
07-31 10:26:09.541 10690 10690 E AndroidRuntime: Process: com.lge.clock, PID: 10690
07-31 10:26:09.541 10690 10690 E AndroidRuntime: java.lang.IllegalArgumentException: Receiver not registered: [email protected]
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:1047)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1332)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:608)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.common.api.c.gM(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.common.api.c.gJ(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.common.api.c.d(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.common.api.c$2.onConnected(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.internal.jm.f(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.internal.jm.dU(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.internal.jl$h.b(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.internal.jl$h.g(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.internal.jl$b.hy(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.internal.jl$a.handleMessage(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6247)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:872)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)
Unexpected solution
After months of fiddling with this problem, I accidentally came across information that lead me to solve another problem and through it; fixing this issue I described.
Kinda silly to answer my own post, but it might help people out there.
While live monitoring Logcat, I decided to toggle WiFi on and off to see what the phone did. My Lg G5 has always been pretty slow to connect.
I noticed that, upon turning WiFi on, my phone went through the whole list of "saved" networks before even attempting to connect to the available ones.
I had a LOAD of saved networks. Most of them from countries I visited.
I cleaned up the list, removing most networks I had saved et voila! Not only did my phone started connecting to WiFi instantly, but my clock app stopped crashing.
I hope this helps someone out there.

Settings Crash When Checking Data Useage

I have this issue:
01-09 11:58:07.691 22967 22967 E AndroidRuntime: java.util.concurrent.RejectedExecutionException: Task [email protected] rejected from [email protected][Running, pool size = 17, active threads = 17, queued tasks = 128, completed tasks = 52]
I'm on Nougat 7.1.1, the problem fix after reset and then after two days it's on again.
I'm searching on the internet and some one says is related to background data disabled for some apps, and other says due to AsyncTask queue pool is over 128, it reject every new task to execute.
The devices affected are Google Pixel 7.1.2 7.1.1 samsungs, motorolas and others devices and versions. Some known tracked issues can be found on post similar to this: https://productforums.google.com/fo...ZFBIyW2KE;context-place=forum/phone-by-google
Some one posted the bad code causing issue and the solution to fix it but on AOSP (If I can retrieve the link I will attach to this post for furter analysis)
Trying to speak with Sony support the only thing they can do, is to send the device for repair (thankyou )
So, I wish to know if there's a solution trough ADB or some wise app that can flush Pool queue and free it to permit execution of usage data, or something else
I'll post the entire log for further info
01-09 11:37:22.687 14737 14737 E AndroidRuntime: FATAL EXCEPTION: main
01-09 11:37:22.687 14737 14737 E AndroidRuntime: Process: com.android.settings,PID: 14737
01-09 11:37:22.687 14737 14737 E AndroidRuntime: java.util.concurrent.RejectedExecutionException: Task [email protected] rejected from [email protected][Running, pool size = 17, active threads = 17, queued tasks = 128, completed tasks = 74]
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2049)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:814)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1360)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:623)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at com.android.settings.datausage.AppDataUsagePreference$UidDetailTask.bindView(AppDataUsagePreference.j
ava:93)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at com.android.settings.datausage.AppDataUsagePreference.<init>(AppDataUsagePreference.java:49)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at com.android.settings.datausage.DataUsageList.bindStats(DataUsageList.java:483)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at com.android.settings.datausage.DataUsageList$3.onLoadFinished(DataUsageList.java:656)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at com.android.settings.datausage.DataUsageList$3.onLoadFinished(DataUsageList.java:653)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.app.LoaderManagerImpl$LoaderInfo.callOnLoadFinished(LoaderManager.java:489)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.app.LoaderManagerImpl$LoaderInfo.onLoadComplete(LoaderManager.java:457)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.content.Loader.deliverResult(Loader.java:144)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.content.AsyncTaskLoader.dispatchOnLoadComplete(AsyncTaskLoader.java:265)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.content.AsyncTaskLoader$LoadTask.onPostExecute(AsyncTaskLoader.java:92)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.os.AsyncTask.finish(AsyncTask.java:667)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.os.AsyncTask.-wrap1(AsyncTask.java)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:684)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.os.Looper.loop(Looper.java:241)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6274)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)

No voice typing on Zentwatch 2

I had reset my watch about 5 times or so, maybe less, but I am facing two issues.
Quick reply for Discord messages gives me this error
"Can't finish action. Reconnect to your phone."
But other actions work besides the other one I will mention now
In any text input field with a Mic icon for voice typing, tapping on the icon either shows the screen where it will tell you to speak and back out or just go back to the three options which are Mic, Emoji or Keyboard
Below is the logcat from my watch for the error which took me a bit to find.
Code:
04-13 20:08:58.864 1987 2108 E AndroidRuntime: FATAL EXCEPTION: EventBus0
04-13 20:08:58.864 1987 2108 E AndroidRuntime: Process: com.google.android.googlequicksearchbox:search, PID: 1987
04-13 20:08:58.864 1987 2108 E AndroidRuntime: java.lang.RuntimeException: Unchecked exception happened while running task: q[ServiceTransaction[SessionController#handleGenericClientEvent]]
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.util.c.a.ca.run(SourceFile:2)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.util.c.a.ak.a(SourceFile:1)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.util.c.a.aj.run(Unknown Source)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.util.c.a.f.run(Unknown Source)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:272)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at java.lang.Thread.run(Thread.java:761)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.util.c.a.h.run(SourceFile:4)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: Caused by: java.lang.RuntimeException: Query received by transcription is not committed!
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.util.a.g.g(SourceFile:2)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.staticplugins.ad.a.a.p.a(SourceFile:50)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.search.core.service.b.d(SourceFile:15)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.search.core.service.q.a(SourceFile:5)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.search.core.service.ax.run(SourceFile:2)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.libraries.gsa.h.a.b.run(Unknown Source)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.logger.f.a.a.a.a(SourceFile:30)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.logger.f.a.a.c.run(Unknown Source)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.util.c.a.bz.a(SourceFile)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.util.c.a.ca.run(SourceFile:1)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: ... 10 more

Calender app does not work after de-bloating Xiaomi Mi 9

Hello everyone,
I hope thats the correct forum to post this question. I tried to find something through google search but it seems that there are only some stackoverflow development questions on that topic, which do not help a lot.
I have a MI9 (MIUI Global 10.2.30 stable) without root. Now I wanted to remove some default system apps and found this tool here: github.com/Saki-EU/XiaomiADBFastbootTools/releases/tag/6.6.2
I followed this list (and tailored it to my own needs): gist.github.com/Biswa96/81fe477079fa5279f7cfd7b98d5519c7
After finishing my de-bloating I realized that Google Calender (and also system calender) does not start any more. All I get is the error message "Failed to find provider com.android.calendar for user 0; expected to find a valid ContentProvider for this authority"
I tried to reinstall Google Calendar (and also all the removed bloat apps) but it doesn't help. Here is also the log file from adb logcat:
Code:
09-24 17:07:29.395 1441 2654 I ActivityManager: Start proc 29460:com.google.android.calendar/u0a99 for service com.google.android.calendar/com.google.android.syncadapters.calendar.CalendarSyncAdapterService caller=android
09-24 17:07:29.396 4352 4472 D PowerKeeper.Event: notifyAMProcStart processName: 10099 reason: com.google.android.calendar, pid:0
09-24 17:07:29.397 28323 28323 D Cal:D:AllInOne: onStart()
09-24 17:07:29.397 28323 28323 D Cal:D:AllInOne: onResume()
09-24 17:07:29.398 28323 29459 I Cal:D:Utils: setGoogleAccountsSyncable(): NOT syncable before, set it syncable
09-24 17:07:29.400 28323 28323 D AndroidRuntime: Shutting down VM
09-24 17:07:29.400 28323 29465 I FA : Tag Manager is not found and thus will not be used
09-24 17:07:29.400 28323 28323 E AndroidRuntime: FATAL EXCEPTION: main
09-24 17:07:29.400 28323 28323 E AndroidRuntime: Process: com.android.calendar, PID: 28323
09-24 17:07:29.400 28323 28323 E AndroidRuntime: java.lang.RuntimeException: Unable to resume activity {com.android.calendar/com.android.calendar.homepage.AllInOneActivity}: java.lang.SecurityException: Failed to find provider com.android.calendar for user 0; expected to find a valid ContentProvider for this authority
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3828)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3860)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:51)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1831)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.os.Looper.loop(Looper.java:201)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6815)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: Caused by: java.lang.SecurityException: Failed to find provider com.android.calendar for user 0; expected to find a valid ContentProvider for this authority
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.os.Parcel.createException(Parcel.java:1950)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1918)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1868)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.content.IContentService$Stub$Proxy.registerContentObserver(IContentService.java:779)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.content.ContentResolver.registerContentObserver(ContentResolver.java:1988)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.content.ContentResolver.registerContentObserver(ContentResolver.java:1977)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at com.android.calendar.homepage.AllInOneActivity.onResume(AllInOneActivity.java:571)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1413)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.app.Activity.performResume(Activity.java:7400)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3820)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: ... 11 more
09-24 17:07:29.400 28323 28323 E AndroidRuntime: Caused by: android.os.RemoteException: Remote stack trace:
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at com.android.server.content.ContentService.registerContentObserver(ContentService.java:340)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.content.IContentService$Stub.onTransact(IContentService.java:76)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at com.android.server.content.ContentService.onTransact(ContentService.java:262)
09-24 17:07:29.400 28323 28323 E AndroidRuntime: at android.os.Binder.execTransact(Binder.java:733)
09-24 17:07:29.400 28323 28323 E AndroidRuntime:
09-24 17:07:29.401 28323 29459 I Cal:D:Utils: setGoogleAccountsSyncable(): NOT syncable before, set it syncable
09-24 17:07:29.402 589 589 E SELinux : avc: denied { find } for service=miui.mqsas.MQSService pid=28323 uid=10024 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:mqs_service:s0 tclass=service_manager permissive=0
09-24 17:07:29.402 28323 28323 E MQSEventManagerDelegate: failed to get MQSService.
09-24 17:07:29.403 4352 4472 D PowerKeeper.Event: notifyAMCrash packageName: 0, pid:28323
09-24 17:07:29.403 29460 29460 E ndroid.calenda: Not starting debugger since process cannot load the jdwp agent.
09-24 17:07:29.404 1441 3632 W ActivityManager: Force finishing activity com.android.calendar/.homepage.AllInOneActivity
09-24 17:07:29.405 1441 3632 D ActivityTrigger: ActivityTrigger activityPauseTrigger
09-24 17:07:29.407 28323 28323 I Process : Sending signal. PID: 28323 SIG: 9
09-24 17:07:29.407 1441 3527 D ActivityManager: report kill process: killerPid is:28323, killedPid is:28323
Does anyone has an idea how to fix it?
I had the same issue... I managed to solve it.
Code:
pm install-existing com.android.providers.calendar

What's causing this app to crash?

Hey all, my device is rooted, with Android 11 and XPrivacyLua installed. I have an app here that keeps crashing. I know it's related to XPrivacyLua restrictions, because if I allow it all the permissions then it runs fine. but with XPL enabled and blocking permissions, it crashes. Below is the output of adb logcat --buffer=crash when I try and open it. How can I tell what is specifically causing it? and is there a workaround so I can keep blocking it with XPL and get it to run somehow? Perhaps with a custom spoofing of values with XPL? Thanks
Code:
08-26 16:33:22.745 16472 16472 E AndroidRuntime: FATAL EXCEPTION: main
08-26 16:33:22.745 16472 16472 E AndroidRuntime: Process: com.nextdoor, PID: 16472
08-26 16:33:22.745 16472 16472 E AndroidRuntime: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at java.util.ArrayList.get(ArrayList.java:437)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at java.util.Collections.swap(Collections.java:544)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.pushNotification.appbadger.ShortcutBadger.validateInfoList(ShortcutBadger.kt:165)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.pushNotification.appbadger.ShortcutBadger.initBadger(ShortcutBadger.kt:116)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.pushNotification.appbadger.ShortcutBadger.applyCountOrThrow(ShortcutBadger.kt:75)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.pushNotification.appbadger.ShortcutBadger.applyCount(ShortcutBadger.kt:46)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.pushNotification.NotificationChannelManager.updateBadgeCount(NotificationChannelManager.kt:111)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.pushNotification.NotificationChannelManager.clearPrivateMessageNotificationsFromSystemTray(NotificationChannelManager.kt:84)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.pushNotification.NotificationChannelManager.clearPrivateMessageNotificationsFromSystemTray$default(NotificationChannelManager.kt:69)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.view.newsfeed.MessagesPresenter.setBadgeCount(ToolbarActionPresenter.kt:80)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.view.newsfeed.MessagesPresenter.populate(ToolbarActionPresenter.kt:68)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.activity.TopLevelActivityActionBarUtil.createMessagesPresenter(TopLevelActivityActionBarUtil.kt:204)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.activity.TopLevelActivityActionBarUtil.createPresenters(TopLevelActivityActionBarUtil.kt:74)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.newsfeed.fragments.MainFeedFragment.updateBadgeCount(MainFeedFragment.kt:370)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.newsfeed.fragments.MainFeedFragment.access$updateBadgeCount(MainFeedFragment.kt:150)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.newsfeed.fragments.MainFeedFragment$subscribeFeedRendered$1.invoke(MainFeedFragment.kt:362)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.newsfeed.fragments.MainFeedFragment$subscribeFeedRendered$1.invoke(MainFeedFragment.kt:358)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.newsfeed.viewmodels.FeedsViewModelV2$subscribeFeedRendered$2.invoke(FeedsViewModelV2.kt:542)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.newsfeed.viewmodels.FeedsViewModelV2$subscribeFeedRendered$2.invoke(FeedsViewModelV2.kt:540)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.airbnb.mvrx.BaseMvRxViewModel$selectSubscribe$1.invokeSuspend(BaseMvRxViewModel.kt:185)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.airbnb.mvrx.BaseMvRxViewModel$selectSubscribe$1.invoke(Unknown Source:8)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.airbnb.mvrx.BaseMvRxViewModel$selectSubscribe$1.invoke(Unknown Source:2)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.airbnb.mvrx.MavericksViewModelExtensionsKt$_internal1$2.invokeSuspend(MavericksViewModelExtensions.kt:27)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.airbnb.mvrx.MavericksViewModelExtensionsKt$_internal1$2.invoke(Unknown Source:8)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.airbnb.mvrx.MavericksViewModelExtensionsKt$_internal1$2.invoke(Unknown Source:4)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.FlowKt__MergeKt$mapLatest$1.invokeSuspend(Merge.kt:214)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.FlowKt__MergeKt$mapLatest$1.invoke(Unknown Source:13)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.FlowKt__MergeKt$mapLatest$1.invoke(Unknown Source:4)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1$2.invokeSuspend(Merge.kt:34)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1$2.invoke(Unknown Source:8)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1$2.invoke(Unknown Source:4)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:55)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.BuildersKt.launch(Unknown Source:1)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:47)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source:1)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1.emit(Merge.kt:33)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.DistinctFlowImpl$collect$2.emit(Distinct.kt:81)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.airbnb.mvrx.MavericksViewModelExtensionsKt$_internal1$$inlined$map$1$2.emit(Collect.kt:24)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.SharedFlowImpl.collect$suspendImpl(SharedFlow.kt:383)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.SharedFlowImpl$collect$1.invokeSuspend(Unknown Source:12)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at android.os.Looper.loop(Looper.java:223)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7664)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException:[StandaloneCoroutine{Cancelling}@ed6f277, Dispatchers.Main.immediate]

Categories

Resources