[BUG] Found in cLock - LineageOS Questions & Answers

cLock keeps crashing
Found reason in logcat:
01-29 12:45:24.697 E/AndroidRuntime(14828): Caused by: java.lang.ClassNotFoundException: Didn't find class "org.cyanogenmod.internal.util.PackageManagerUtils" on path: DexPathList[[zip file "/system/app/LockClock/LockClock.apk"],nativeLibraryDirectories=[/system/app/LockClock/lib/arm, /system/lib, /vendor/lib, /system/lib, /vendor/lib]]
Hope devs fix this
Using Wingtech Redmi 2

Go to settings/apps find clock or cklock, stop app, remove data, uninstal to stock version and run again and work foe me
Odoslané z VNS-L21 pomocou Tapatalku

Use Simple Clock
Simple Clock is available in google play store and its quite good and no ads

Related

[MOD][WIP][ICS] changing the t9 dialer in CM9 contacts app (added apks)

hi,
i'm trying to mod the t9 dialer in CM9 build 13 to have hebrew support but i'm having some trouble,
here is what i have done so far -
using apk-manager i decompiled the apk,
then opened values/strings.xml and found the tags which map
the keys to chars, they are called "t9_map_row_2" where row_x refers to key no. x in the dialpad.
i've changed the original values and replaced with hebrew ones like so:
Code:
<string name="t9_map_row_2">2דהו</string>
<string name="t9_map_row_3">3אבג</string>
<string name="t9_map_row_4">4מםנן</string>
<string name="t9_map_row_5">5יכךל</string>
<string name="t9_map_row_6">6זחט</string>
<string name="t9_map_row_7">7רשת</string>
<string name="t9_map_row_8">8צץק</string>
<string name="t9_map_row_9">9סעפף</string>
compiled the app using apk-manger, used the original signature files (meta-inf folder)
then after pushing the file to /system/app and trying to run the apk but it forced close with the following errors on logcat
Code:
E/AndroidRuntime( 3227): FATAL EXCEPTION: Thread-222
E/AndroidRuntime( 3227): java.lang.NullPointerException
E/AndroidRuntime( 3227): at com.android.contacts.dialpad.T9Search.initT9Map(T9Search.java:223)
E/AndroidRuntime( 3227): at com.android.contacts.dialpad.T9Search.getAll(T9Search.java:79)
E/AndroidRuntime( 3227): at com.android.contacts.dialpad.T9Search.<init>(T9Search.java:74)
E/AndroidRuntime( 3227): at com.android.contacts.dialpad.DialpadFragment$2.run(DialpadFragment.java:512)
E/AndroidRuntime( 3227): at java.lang.Thread.run(Thread.java:856)
W/ActivityManager( 184): Force finishing activity com.android.contacts/.activities.DialtactsActivity
perhaps someone with more experience can help me with my mod ?
i've been having the exact same issue today. in my case, i'm trying to mod Contacts.apk from a Galaxy Nexus ICS ROM called AOKP. i can drop in pngs, no problem, but as soon as I try to change a resource (in my case, i changed a few colors in values/colors.xml), recompile, drop in the original META-INF and AndroidManifest.xml, and push back to /system/app/, I get the same errors in logcat that you pasted above. Seems like maybe some kind of incompatibility between apktool and Contacts.apk in ICS.
The only solution I have found so far is to recompile from source and it worked for me
yup aand thaat is the only way to mod for now as logn as apktool will not get a proper fixes
i created a ticket for it in the apktool google code issues list. feel free to star this issue:
http://code.google.com/p/android-apktool/issues/detail?id=290
moseschrist said:
The only solution I have found so far is to recompile from source and it worked for me
Click to expand...
Click to collapse
hi i'm kinda new at this.
i've been trying to do the same for DHD and ran into the same error.
could you explain me how did you recompile the app pls?
any solutions?
hi ,moseschrist ...can you please explain step by step what you mean by "recompile from source"...im getting the same t9 dialer errors after recompiling contacts.apk with apktool.
So does this apk work with hebrew?
Can I try it with CM9.1?

[ROM][AOSP][LolliRock][v.2.1]

Content removed.
Content removed.
Content removed.
zulu99 said:
Full version of Android 5 Lollipop on Nexus Player.
What's inside ?
Kernel:
✔ NTFS, NFS/CIFS/F2FS Filesystem support
✔ USB Webcam support & USB Audio
Firmware:
✔ Full AOSP firmware with standard Android Launchers.
✔ Compatibility with many more apps from Google Play ( Also Google Plus work )
✔ MTP + ADB (transfer file from NP to PC via usb cable like your tablet/phone)
✔ Unlocked fixed Volume (now you can use any remote to UP/DOWN volume)
✔ UVC Webcam for now can work with apps like USB Camera Trial infinitegra.trial.usbcamera
What not working and i'm working on ?
✔ HAL for usb webcam (for apps like Hangout, Google Camera)
✔ External usb and bluetooth microphones. If you connect a bluetooth mic, you can lose the audio but a reboot solve.
Installation:
Download the firmware from this link: http://goo.gl/1pDBAJ
Put the device in bootloader mode:
1) fastboot flash boot boot.img
2) fastboot flash system system.img
3) fastboot -w
To root download this file http://download.chainfire.eu/631/CF-R and extract the file root.img
4) fastboot boot root.img
To restore the original firmware you can use the Factory Images "fugu" for Nexus Player https://developers.google.com/android/nexus/images
Note:
This video is just a visual example, the firmware is much faster, because i'm recording in real time with SCR app at high resolution, while using many apps.
The little hardware remote work, but for this firmware is preferable to use a mouse and keyboard.
Personally i use DroidMote because i can have mouse, keyboard, multi touch actions, soft gamepad and voice dictation all in one.
I love Android in TV and i use it from 3 years. I made this firmware for my personal use, because i like Android in my Tv with standard Android apps, that are more accessible and fast and with customizable launcher.
I have the Nexus Player just from 7 days, many more things will come in the near future.
I need your help especially to add HAL for usb uvc webcam and in the modification of the audio HAL to accept usb mic from usb webcam.
All works will be public and i'm open to share all that i have modified for now in the fugu device tree.
Sorry for my BAD English
Click to expand...
Click to collapse
Great work, I can't wait to see USB webcams work with hangouts and other apps, if we can get that working it will be badass, congrats on being the first ROM for the nexus player and excellent work! Happy holidays!
Dude this is amazing. Thank you i am scared to install just because its a xmas gift and i want to see someone give the ok and i will dive in. I just want to know the best way to sideload apps/ have more apps on market maybe with a build fingerprint and some internal build.prop changes. Any help on that would be lovely
Hero_is_Over said:
Dude this is amazing. Thank you i am scared to install just because its a xmas gift and i want to see someone give the ok and i will dive in. I just want to know the best way to sideload apps/ have more apps on market maybe with a build fingerprint and some internal build.prop changes. Any help on that would be lovely
Click to expand...
Click to collapse
Chainfire has a side loading app you can use. I installed es file explorer and then opened it with the sideload app then from my phone I transfer apk's to the nexus player over WiFi.
Sent from my Nexus 6 using XDA Free mobile app
Is HDMI audio output one of the things not working yet or is it just my system?
Edit: Just my system apparently. Sound only works with the HDMI is plugged directly into my TV. It doesn't work when plugged into the HDMI on my audio receiver.
Great work! I think it is strange that there is not that much activity on this ROM. I am looking forward to installing it either tonight, or tomorrow, but one quick question.
Is there anything inside the stock lollipop that isn't working? Like apps not working, or something like that? Casting I am not that concerned about, for now.
I will test soon enough and post my findings as well, but a heads up would be nice.
I second this! Would love to keep the cast feature. And is the Included remote useful and does the mic still work good?
I found the included remote barely functional because most apps are configured for touch and you can't navigate.
amberkalvin said:
Great work! I think it is strange that there is not that much activity on this ROM. I am looking forward to installing it either tonight, or tomorrow, but one quick question.
Is there anything inside the stock lollipop that isn't working? Like apps not working, or something like that? Casting I am not that concerned about, for now.
I will test soon enough and post my findings as well, but a heads up would be nice.
Click to expand...
Click to collapse
So far the only ones I've found that don't work at all are Netflix and Hulu. Both crash immediately upon opening.
KalenXI said:
So far the only ones I've found that don't work at all are Netflix and Hulu. Both crash immediately upon opening.
Click to expand...
Click to collapse
Thanks! I'm definitely looking forward to checking it out. I'll post back anything I find as well.
FYI: make sure you have a USB mouse and\or keyboard to set up. The remote is useless since you can't get to the Bluetooth function to pair it and first boot. Will try later when my otg cable comes in. Looks awesome on my 55' though!
http://imgur.com/lfL0APZ
Has anyone figured out how to get the leanback launcher working? I installed a version but it didn't display anything.
Next step done. Audio from usb webcam. I'll do some more tests and then i'll add the work in the next firmware.
Voice calls in Hangout
Voice search
Sound recording
are working.
Tested with Logitech C525 webcam
It was very hard modify the audio HAL.
In the aosp code of nexus player and in the original android tv firmware, the audio hal have many restrictions and point also on some closed parts for the little remote control audio functionality. In the original version of the HAL you can't up/down the internal volume of the nexus player but you can modify only the master volume of TV with the standard remote of the TV, in addition, you can use as external audio input for voice dictation only the little remote, and you can't use programs like hangout or record sound with external microphones. The audio HAL, in other words, is very limited and block voluntary many things. I modified this part to have volume modifiable with any hardware and software remote, unlocked the volume keys and i added the ability to accept others external microphones for voice dictation and the ability to also record sound and use, in app like hangout, the external mic of others sound devices.
KalenXI said:
So far the only ones I've found that don't work at all are Netflix and Hulu. Both crash immediately upon opening.
Click to expand...
Click to collapse
I not have Netflix account to test, have you tested the x86 version or the arm ?
I'm working on other things, but all that works on the original firmware, will also work on LolliRock. You can try also with the original build.prop
the only thing that you must add to the original build.prop are the fields:
ro.sf.lcd_density=220
qemu.hw.mainkeys=0
zulu99 said:
I not have Netflix account to test, have you tested the x86 version or the arm ?
I'm working on other things, but all that works on the original firmware, will also work on LolliRock. You can try also with the original build.prop
the only thing that you must add to the original build.prop are the fields:
ro.sf.lcd_density=220
qemu.hw.mainkeys=0
Click to expand...
Click to collapse
At first I was trying the version installed directly from the play store. Both of which were apparently the ARM versions.
This is the crash log:
Code:
--------- beginning of crash
E/AndroidRuntime(29137): FATAL EXCEPTION: main
E/AndroidRuntime(29137): Process: com.netflix.mediaclient, PID: 29137
E/AndroidRuntime(29137): java.lang.RuntimeException: Unable to create application com.netflix.mediaclient.NetflixApplication: java.lang.IllegalStateException: Native libraries are missing!
E/AndroidRuntime(29137): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4521)
E/AndroidRuntime(29137): at android.app.ActivityThread.access$1500(ActivityThread.java:144)
E/AndroidRuntime(29137): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1339)
E/AndroidRuntime(29137): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(29137): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(29137): at android.app.ActivityThread.main(ActivityThread.java:5221)
E/AndroidRuntime(29137): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(29137): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(29137): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
E/AndroidRuntime(29137): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
E/AndroidRuntime(29137): Caused by: java.lang.IllegalStateException: Native libraries are missing!
E/AndroidRuntime(29137): at com.netflix.mediaclient.NetflixApplication.loadAndVerifyNativeLibraries(NetflixApplication.java:193)
E/AndroidRuntime(29137): at com.netflix.mediaclient.NetflixApplication.onCreate(NetflixApplication.java:172)
E/AndroidRuntime(29137): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1011)
E/AndroidRuntime(29137): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4518)
E/AndroidRuntime(29137): ... 9 more
Then I tried installing the Player-specific APKs from this thread: http://forum.xda-developers.com/nexus-player/general/ref-collection-nexus-player-apks-t2976537
The Hulu from that thread works perfectly, but the Netflix apk, in addition to only appearing on the Leanback Launcher, still crashes upon launching with this error:
Code:
E/art ( 896): dlopen("/data/app/com.netflix.ninja-1/lib/arm/libnetflix.so", RTLD_LAZY) failed: dlopen failed: "/data/app/com.netflix.ninja-1/lib/arm/libnetflix.so" has unexpected e_machine: 40
E/art ( 896): No implementation found for void com.netflix.ninja.NetflixService.nativeGibbonPrepare() (tried Java_com_netflix_ninja_NetflixService_nativeGibbonPrepare and Java_com_netflix_ninja_NetflixService_nativeGibbonPrepare__)
D/AndroidRuntime( 896): Shutting down VM
E/AndroidRuntime( 896): FATAL EXCEPTION: main
E/AndroidRuntime( 896): Process: com.netflix.ninja, PID: 896
E/AndroidRuntime( 896): java.lang.UnsatisfiedLinkError: No implementation found for void com.netflix.ninja.NetflixService.nativeGibbonPrepare() (tried Java_com_netflix_ninja_NetflixService_nativeGibbonPrepare and Java_com_netflix_ninja_NetflixService_nativeGibbonPrepare__)
E/AndroidRuntime( 896): at com.netflix.ninja.NetflixService.nativeGibbonPrepare(Native Method)
E/AndroidRuntime( 896): at com.netflix.ninja.NetflixService.initNrdLib(NetflixService.java:200)
E/AndroidRuntime( 896): at com.netflix.ninja.NetflixService.onCreate(NetflixService.java:182)
E/AndroidRuntime( 896): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2731)
E/AndroidRuntime( 896): at android.app.ActivityThread.access$1800(ActivityThread.java:144)
E/AndroidRuntime( 896): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1361)
E/AndroidRuntime( 896): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 896): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 896): at android.app.ActivityThread.main(ActivityThread.java:5221)
E/AndroidRuntime( 896): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 896): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 896): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
E/AndroidRuntime( 896): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
W/ActivityManager( 475): Force finishing activity com.netflix.ninja/.MainActivity
I'm still trying to find a copy of the original build.prop for the Nexus Player so I can try that.
KalenXI said:
At first I was trying the version installed directly from the play store. Both of which were apparently the ARM versions.
This is the crash log:
Code:
--------- beginning of crash
E/AndroidRuntime(29137): FATAL EXCEPTION: main
E/AndroidRuntime(29137): Process: com.netflix.mediaclient, PID: 29137
E/AndroidRuntime(29137): java.lang.RuntimeException: Unable to create application com.netflix.mediaclient.NetflixApplication: java.lang.IllegalStateException: Native libraries are missing!
E/AndroidRuntime(29137): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4521)
E/AndroidRuntime(29137): at android.app.ActivityThread.access$1500(ActivityThread.java:144)
E/AndroidRuntime(29137): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1339)
E/AndroidRuntime(29137): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(29137): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(29137): at android.app.ActivityThread.main(ActivityThread.java:5221)
E/AndroidRuntime(29137): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(29137): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(29137): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
E/AndroidRuntime(29137): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
E/AndroidRuntime(29137): Caused by: java.lang.IllegalStateException: Native libraries are missing!
E/AndroidRuntime(29137): at com.netflix.mediaclient.NetflixApplication.loadAndVerifyNativeLibraries(NetflixApplication.java:193)
E/AndroidRuntime(29137): at com.netflix.mediaclient.NetflixApplication.onCreate(NetflixApplication.java:172)
E/AndroidRuntime(29137): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1011)
E/AndroidRuntime(29137): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4518)
E/AndroidRuntime(29137): ... 9 more
Then I tried installing the Player-specific APKs from this thread: http://forum.xda-developers.com/nexus-player/general/ref-collection-nexus-player-apks-t2976537
The Hulu from that thread works perfectly, but the Netflix apk, in addition to only appearing on the Leanback Launcher, still crashes upon launching with this error:
Code:
E/art ( 896): dlopen("/data/app/com.netflix.ninja-1/lib/arm/libnetflix.so", RTLD_LAZY) failed: dlopen failed: "/data/app/com.netflix.ninja-1/lib/arm/libnetflix.so" has unexpected e_machine: 40
E/art ( 896): No implementation found for void com.netflix.ninja.NetflixService.nativeGibbonPrepare() (tried Java_com_netflix_ninja_NetflixService_nativeGibbonPrepare and Java_com_netflix_ninja_NetflixService_nativeGibbonPrepare__)
D/AndroidRuntime( 896): Shutting down VM
E/AndroidRuntime( 896): FATAL EXCEPTION: main
E/AndroidRuntime( 896): Process: com.netflix.ninja, PID: 896
E/AndroidRuntime( 896): java.lang.UnsatisfiedLinkError: No implementation found for void com.netflix.ninja.NetflixService.nativeGibbonPrepare() (tried Java_com_netflix_ninja_NetflixService_nativeGibbonPrepare and Java_com_netflix_ninja_NetflixService_nativeGibbonPrepare__)
E/AndroidRuntime( 896): at com.netflix.ninja.NetflixService.nativeGibbonPrepare(Native Method)
E/AndroidRuntime( 896): at com.netflix.ninja.NetflixService.initNrdLib(NetflixService.java:200)
E/AndroidRuntime( 896): at com.netflix.ninja.NetflixService.onCreate(NetflixService.java:182)
E/AndroidRuntime( 896): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2731)
E/AndroidRuntime( 896): at android.app.ActivityThread.access$1800(ActivityThread.java:144)
E/AndroidRuntime( 896): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1361)
E/AndroidRuntime( 896): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 896): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 896): at android.app.ActivityThread.main(ActivityThread.java:5221)
E/AndroidRuntime( 896): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 896): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 896): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
E/AndroidRuntime( 896): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
W/ActivityManager( 475): Force finishing activity com.netflix.ninja/.MainActivity
I'm still trying to find a copy of the original build.prop for the Nexus Player so I can try that.
Click to expand...
Click to collapse
You can get the original build.prop and all that you want from the original firmware.
Downlod the stock firmware, extract the system.img , convert it to standard ext4 img with the linux tool simg2img. When you have the ext4 system img, you can mount it where you want, also in windows, and in this way you can help to test many things.
Instead, when you need updated exlusive apk for the original firmware, you can reinstall the stock firmware, extract all apk that you need and share with friends. The apk name is base.apk and is inside the /data/app/your-app folder. For the leanback launcher apk in the third post, I did it this way.
I think that for netflix, you need the x86 version, you can get it from your android tv firmware. From your log, i see that you installed the arm version because the log point to an arm folder. should be x86. Maybe you have installed the ADT-1 version.
I not understand why netflix is so restrictive and monopilstic with users who have regular subscriptions. This behavior only leads to failure even if ..... http://arstechnica.com/information-...ing-fast-lanes-at-the-expense-of-competitors/
Update:
The new boot.img solve arm traslations problems. You can find the new boot.img in the first post.
Really like this rom, smooth, stable and easy to install. Just wish netflix worked, i can't really use it without that.
keep up the great work, thank you!!!
Turbo4V said:
Really like this rom, smooth, stable and easy to install. Just wish netflix worked, i can't really use it without that.
keep up the great work, thank you!!!
Click to expand...
Click to collapse
For now, for restrictive services like Netflix, on all Android TV box, you can install Splashtop 2 Remote Desktop, connect to your PC in lan and do what you want.
If you use the Splashtop 2 Remote Desktop on the Nexus Player, i suggest to go in settings of the app and check compatibility mode.
Update:
solved with the new boot.img

[Q] Replacing an XML resource of a package

Hi guys.
I'm trying to do something really simple - replace the file res/xml/rowkeys_qwerty1.xml of the Google Keyboard app (com.android.inputmethod.latin) with an altered one using an xposed module.
I did this:
1. I altered the XML file and put it under res/xml of my module project.
2. I created a class that implements IXposedHookZygoteInit, IXposedHookInitPackageResources with the following code:
Code:
resparam.res.setReplacement("com.google.android.inputmethod.latin", "xml", "rowkeys_qwerty1", modRes.fwd(R.xml.rowkeys_qwerty1));
The problem is - "R.xml" doesn't know what rowkeys_qwerty1 is.
Furthermore, the content of the altered XML file is:
Code:
<?xml version="1.0" encoding="utf-8"?>
<merge
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin">
<Key latin:keySpec="A" />
</merge>
And when I try to build the project I get the message:
Code:
error: No resource identifier found for attribute 'keySpec' in package 'com.android.inputmethod.latin'
I guess I'm doing something wrong. Can anyone point me in the right direction to fix this?
Again, all I really want to do is make sure the Google Keyboard apps loads my altered XML (that I'm including in my module resources) instead of the one that's built into the app's apk.
Thanks!
Anyone?...
Add a superlint for keySpec: app will be compiled without error
Wysłane z mojego ALE-L21 przy użyciu Tapatalka

Problem with install Xposed on MANTA MSP5004

* It's my first post.
I install xposed and reboot. In App I saw Text "xposed is not installed", but I have in top of App in tab "Framework" the number of packets meaning the farmework is installed. But why it isn't functional? In device I have KitKat 4.4.2.
Logs:
-----------------
26 kwi 2016 06:35:58 UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'WG5013A_MANTA_V1_150317' with fingerprint 'SP7731GEA_C20_JINGHONGQUAN_32+4_RC_MANTA_150317'
Errors during Xposed initialization
java.lang.ClassCastException: class android.content.res.XResources doesn't extend class android.content.res.SPRDResources
at de.robv.android.xposed.XposedBridge.cloneToSubclass(XposedBridge.java:787)
at de.robv.android.xposed.XposedBridge.hookResources(XposedBridge.java:365)
at de.robv.android.xposed.XposedBridge.initXbridgeZygote(XposedBridge.java:267)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
at dalvik.system.NativeStart.main(Native Method)
-----------------
26 kwi 2016 06:38:48 UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'WG5013A_MANTA_V1_150317' with fingerprint 'SP7731GEA_C20_JINGHONGQUAN_32+4_RC_MANTA_150317'
Errors during Xposed initialization
java.lang.ClassCastException: class android.content.res.XResources doesn't extend class android.content.res.SPRDResources
at de.robv.android.xposed.XposedBridge.cloneToSubclass(XposedBridge.java:787)
at de.robv.android.xposed.XposedBridge.hookResources(XposedBridge.java:365)
at de.robv.android.xposed.XposedBridge.initXbridgeZygote(XposedBridge.java:267)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
at dalvik.system.NativeStart.main(Native Method)
P.S. My English isn't perfect, sorry.
Wysłane z mojego MSP5004 przy użyciu Tapatalka

[FIXED] Google Calendar crashes when you click on an event

For two years, I have scratched my head at why my Google calendar app would crash when I clicked on an event. Reinstalling, clearing data and clearing cache didn't help and I wasn't able find anything on the Internet.
After looking at a log using the OS Monitor app, I spotted the following message that I will paste for anyone Google-ing:
2018-08-28 11:18:18,ERROR,ComplexColorCompat,Unknown,Failed to inflate ComplexColor.
android.content.res.Resources$NotFoundException: Resource ID #0x0
at android.content.res.Resources.getValue(Resources.java:1401)
at android.content.res.Resources.loadXmlResourceParser(Resources.java:2882)
at android.content.res.Resources.getXml(Resources.java:1264)
at android.content.res.XResources.getXml(XResources.java:1117)
at android.support.v4.content.res.ComplexColorCompat.inflate(ComplexColorCompat.java:140)
at android.support.v4.content.res.TypedArrayUtils.getNamedComplexColor(TypedArrayUtils.java:149)
at android.support.graphics.drawable.VectorDrawableCompat.inflate(VectorDrawableCompat.java:1908)
at android.support.v7.widget.AppCompatDrawableManager$VdcInflateDelegate.createFromXmlInner(AppCompatDrawableManager.java:674)
at android.support.v7.widget.AppCompatDrawableManager.loadDrawableFromDelegates(AppCompatDrawableManager.java:366)
at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:198)
at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:191)
at android.support.v7.content.res.AppCompatResources.getDrawable(AppCompatResources.java:102)
at android.support.design.resources.MaterialResources.getDrawable(MaterialResources.java:67)
at android.support.design.chip.Chip.<init>(Chip.java:407)
at android.support.design.chip.Chip.<init>(Chip.java:179)
at java.lang.reflect.Constructor.newInstance(Native Method)
at android.view.LayoutInflater.createView(LayoutInflater.java:619)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:764)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:835)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:838)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:360)
at android.view.LayoutInflater.inflate(<Xposed>)
at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:360)
at android.view.LayoutInflater.inflate(<Xposed>)
at com.google.android.calendar.newapi.commandbar.SmartRsvpBottomBarController.inflateCommandBar(SmartRsvpBottomBarController.java:57)
at com.google.android.calendar.newapi.screen.EventViewScreenController.notifyLoadingFinished(EventViewScreenController.java:24)
at com.google.android.calendar.newapi.screen.ViewScreenController.onLoadingSuccess(ViewScreenController.java:665)
at com.google.android.calendar.newapi.common.CompositeLoader.onLoadingSuccess(CompositeLoader.java:90)
at com.google.android.calendar.newapi.common.AsyncTaskLoader.onCompleted(AsyncTaskLoader.java:27)
at com.google.android.calendar.newapi.common.SnappyAsyncTask$1.run(SnappyAsyncTask.java:34)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5525)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:107)
Click to expand...
Click to collapse
The problem was that I had adjusted the DPI on my device. To stop the crashes, return your DPI to the default value. You can also set a custom value just for the calender app with the 'App Settings' Xposed module. So for the LG G4, I set the DPI value back to 640 just for this app.
(sent from my phone late at night - apologies for poor formatting and grammar)

Categories

Resources