Hello all,
In my noobishness I tried to install the HtcMusic.apk from the Hero ROM onto a G1 running the Google Ion ROM. Well it gave me a MISSING_SHARED_LIBRARY error so in my ignorance I thought that I would be able to find whatever libraries were missing and transfer them to the Ion build and reflash the update.zip. The update flashed but the apk still cannot be installed. Do I have the concept of libraries wrong here and should just realize that it's not possible without doing other things or am I still missing libraries that should be transferred?
Thanks =)
thelamacmdr said:
Hello all,
In my noobishness I tried to install the HtcMusic.apk from the Hero ROM onto a G1 running the Google Ion ROM. Well it gave me a MISSING_SHARED_LIBRARY error so in my ignorance I thought that I would be able to find whatever libraries were missing and transfer them to the Ion build and reflash the update.zip. The update flashed but the apk still cannot be installed. Do I have the concept of libraries wrong here and should just realize that it's not possible without doing other things or am I still missing libraries that should be transferred?
Thanks =)
Click to expand...
Click to collapse
just adp push the libHtcMusic_jni.so from /system/lib and the HtcMusic.apk to /system/apps and you'll be set.
so i was missing a lib because the update.zip i downloaded doesn't have that...the search begins
Can't find this .so too.
Lib
this one is from a 6.0
And you think this would work for it?
Bcause this lib isn't requiered in the hero build.. *irritated*
Ok I did
Code:
adb remount
adb push libhtcmusic_jni.apk system/lib
adb install HtcMusic.apk
I still get the shared library error, maybe I have to push it to somewhere else or update.zip with the library included?
First Post:,
I've actually been working on this too. I've managed to get it to install. I followed another thread, pushing some stuff from /system/etc/permission and Platform.xml for the HTC stuff. I used the same lib a1t linked (although pulled mine right from the rom).
Although when running it on the phone I get this fun little log message:
Code:
E/dalvikvm( 347): Could not find method android.provider.DrmStore.getDrmConstra
int, referenced from method com.htc.music.MusicUtils.getDrmStatus
W/dalvikvm( 347): VFY: unable to resolve static method 403: Landroid/provider/D
rmStore;.getDrmConstraint (Landroid/content/ContentResolver;Landroid/net/Uri;I)L
android/provider/DrmStore$DrmConstraint;
W/dalvikvm( 347): VFY: rejecting opcode 0x71 at 0x00aa
W/dalvikvm( 347): VFY: rejected Lcom/htc/music/MusicUtils;.getDrmStatus (Landr
oid/content/Context;Landroid/net/Uri;)I
W/dalvikvm( 347): Verifier rejected class Lcom/htc/music/MusicUtils;
D/AndroidRuntime( 347): Shutting down VM
W/dalvikvm( 347): threadid=3: thread exiting with uncaught exception (group=0x4
000fe70)
E/AndroidRuntime( 347): Uncaught handler: thread main exiting due to uncaught e
xception
E/AndroidRuntime( 347): java.lang.VerifyError: com.htc.music.MusicUtils
E/AndroidRuntime( 347): at com.htc.music.HtcMusic.onStart(HtcMusic.java:
338)
E/AndroidRuntime( 347): at android.app.Instrumentation.callActivityOnSta
rt(Instrumentation.java:1205)
E/AndroidRuntime( 347): at android.app.Activity.performStart(Activity.ja
va:3490)
E/AndroidRuntime( 347): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2240)
E/AndroidRuntime( 347): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2284)
E/AndroidRuntime( 347): at android.app.ActivityThread.access$1800(Activi
tyThread.java:112)
E/AndroidRuntime( 347): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1692)
E/AndroidRuntime( 347): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 347): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 347): at android.app.ActivityThread.main(ActivityThrea
d.java:3948)
E/AndroidRuntime( 347): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 347): at java.lang.reflect.Method.invoke(Method.java:5
21)
E/AndroidRuntime( 347): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:782)
E/AndroidRuntime( 347): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:540)
E/AndroidRuntime( 347): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 60): Sending signal. PID: 347 SIG: 3
I/dalvikvm( 347): threadid=7: reacting to signal 3
I/dalvikvm( 347): Wrote stack trace to '/data/anr/traces.txt'
W/ActivityManager( 60): Launch timeout has expired, giving up wake lock!
Not in the loop as far as the HTC builds go, but there'ls definitely something I'm missing. android.provider is in the sdk, but the DRM stuff isn't (or doesn't seem to be). I tried pushing a few more things to the phone, hoping for a solution, but I ran out of room, I don't have the new SPL.
I can't really tell the problem from looking at this ( I'm kind of inexperienced in the way of Java/Android Application Dev.). Did you push the whole entire library from the HTC Hero ROM or rather the libs that aren't in the Haykuro/JF 1.51
sherlok said:
First Post:,
I've actually been working on this too. I've managed to get it to install. I followed another thread, pushing some stuff from /system/etc/permission and Platform.xml for the HTC stuff. I used the same lib a1t linked (although pulled mine right from the rom).
Although when running it on the phone I get this fun little log message:
Code:
E/dalvikvm( 347): Could not find method android.provider.DrmStore.getDrmConstra
int, referenced from method com.htc.music.MusicUtils.getDrmStatus
W/dalvikvm( 347): VFY: unable to resolve static method 403: Landroid/provider/D
rmStore;.getDrmConstraint (Landroid/content/ContentResolver;Landroid/net/Uri;I)L
android/provider/DrmStore$DrmConstraint;
W/dalvikvm( 347): VFY: rejecting opcode 0x71 at 0x00aa
W/dalvikvm( 347): VFY: rejected Lcom/htc/music/MusicUtils;.getDrmStatus (Landr
oid/content/Context;Landroid/net/Uri;)I
W/dalvikvm( 347): Verifier rejected class Lcom/htc/music/MusicUtils;
D/AndroidRuntime( 347): Shutting down VM
W/dalvikvm( 347): threadid=3: thread exiting with uncaught exception (group=0x4
000fe70)
E/AndroidRuntime( 347): Uncaught handler: thread main exiting due to uncaught e
xception
E/AndroidRuntime( 347): java.lang.VerifyError: com.htc.music.MusicUtils
E/AndroidRuntime( 347): at com.htc.music.HtcMusic.onStart(HtcMusic.java:
338)
E/AndroidRuntime( 347): at android.app.Instrumentation.callActivityOnSta
rt(Instrumentation.java:1205)
E/AndroidRuntime( 347): at android.app.Activity.performStart(Activity.ja
va:3490)
E/AndroidRuntime( 347): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2240)
E/AndroidRuntime( 347): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2284)
E/AndroidRuntime( 347): at android.app.ActivityThread.access$1800(Activi
tyThread.java:112)
E/AndroidRuntime( 347): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1692)
E/AndroidRuntime( 347): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 347): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 347): at android.app.ActivityThread.main(ActivityThrea
d.java:3948)
E/AndroidRuntime( 347): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 347): at java.lang.reflect.Method.invoke(Method.java:5
21)
E/AndroidRuntime( 347): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:782)
E/AndroidRuntime( 347): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:540)
E/AndroidRuntime( 347): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 60): Sending signal. PID: 347 SIG: 3
I/dalvikvm( 347): threadid=7: reacting to signal 3
I/dalvikvm( 347): Wrote stack trace to '/data/anr/traces.txt'
W/ActivityManager( 60): Launch timeout has expired, giving up wake lock!
Not in the loop as far as the HTC builds go, but there'ls definitely something I'm missing. android.provider is in the sdk, but the DRM stuff isn't (or doesn't seem to be). I tried pushing a few more things to the phone, hoping for a solution, but I ran out of room, I don't have the new SPL.
Click to expand...
Click to collapse
looks like you're missing the DRM stuff.
libdrmdec_jni.so
libdrmdec.so
libdrm1_jni.so
libdrm1.so
and probably the DrmProvider.apk
If you get this working, def let us know. the music player from that rom is sexy.
I've actually been working on this too. I've managed to get it to install. I followed another thread, pushing some stuff from /system/etc/permission and Platform.xml for the HTC stuff. I used the same lib a1t linked (although pulled mine right from the rom).
Click to expand...
Click to collapse
Hmm what files from system/etc/permissions did you push all of them or just Platform.xml and com.Htc.framework.xml? Cause as far as i know that's the only difference I have from whatt you've been doing except I pushed all of the libraries.
Any of you guys have luck porting the white clock over to Ion? From Hero build or JF? I can get the white notifications, but the clock refuses to budge. Unfortunately my normal goto guy is a bit under the weather.
blackeyedbrian said:
looks like you're missing the DRM stuff.
libdrmdec_jni.so
libdrmdec.so
libdrm1_jni.so
libdrm1.so
and probably the DrmProvider.apk
If you get this working, def let us know. the music player from that rom is sexy.
Click to expand...
Click to collapse
Ok i decided to play with this a little bit.
the method "getDrmConstraint" that is missing, is part of /system/framework/framework.jar on the hero rom. how to get that working on the other builds? i have no idea =D
Anyone got it working now?
Still workin on it, I'm trying to figure out what needs to be transferred. I'm thinking about just transfering all the files that have different file sizes (might check the sums too). I'll get back once I find out.
Edit: Just saw the framework.jar; the files have a difference of 2 mill in file size....
Edit2: Restarted phone after push, it's installed now
thelamacmdr said:
Still workin on it, I'm trying to figure out what needs to be transferred. I'm thinking about just transfering all the files that have different file sizes (might check the sums too). I'll get back once I find out.
Edit: Just saw the framework.jar; the files have a difference of 2 mill in file size....
Edit2: Restarted phone after push, it's installed now
Click to expand...
Click to collapse
so u pushed the lib, apk, n what else? would you mind just clarifying how u got it to work?
I didn't get it to work yet but I did manage to install it, I'm trying to find the location of class com.htc.widget. If anyone can please point it out it would be much appreciated. Once I figure out what I did and then do it again I'll post how to do it.
So far I transferred all of the HTC made libs, platform.xml, com.htc.framework.xml, and libhtcmusic_jni.so
For obvious reasons I won't post the Hero Rom (to get the libs from) and I'm not sure if I'm going too far just trying to use the Music app.
sorry for double post
check the diffs between the two images, this file will show the differences and files that only appear in one image but not the other.
update --> ion
updatehero --> hero
*i removed ringtones and notifications ogg mp3 just to focus on the rest
How did you manage to get this text file? I've been doing it manually....comparing the two zip files.
EDIT: Ok logcat shows
Code:
Could not find class 'com.htc.widget.AboutDialog$Builder', referenced from method com.htc.music.BaseHtcMusic.onCreateDialog
this is followed by a series of verify errors. These classes are located in a lib somewhere I'm assuming?
EDIT2: No longer have class errors, pushed files from system/framework
now receive error
Code:
E/dalvikvm( 330): Could not find method android.provider.DrmStore.getDrmConstra
int, referenced from method com.htc.music.MusicUtils.getDrmStatus
mazen912 said:
hello
i ported aosp 2.3.7 but can't boot after 2 weeks of trying
please dev's check it
thanks
Click to expand...
Click to collapse
MOD EDIT: Removed link since it destroys recovery...
ATTENTION! THIS SEEMS TO DESTROY THE RECOVERY!!!
I tried to reboot into feamod but this does not work. Using Odin right now to get back to a booting state.
Be careful!
Quoting from the Cyanogenmod Porting thread so I do not need to spam it.
As he wrote, it does not boot.
That's what my logcat spits out:
Code:
W/dalvikvm( 460): threadid=1: thread exiting with uncaught exception (group=0x4
0015560)
E/AndroidRuntime( 460): *** FATAL EXCEPTION IN SYSTEM PROCESS: main
E/AndroidRuntime( 460): java.lang.UnsatisfiedLinkError: Cannot load library: li
nk_image[1962]: 458 could not load needed library 'libsystem_server.so' for 'l
ibandroid_servers.so' (link_image[1962]: 458 could not load needed library 'li
bcameraservice.so' for 'libsystem_server.so' (link_image[1962]: 458 could not
load needed library 'libseccameraadaptor.so' for 'libcameraservice.so' (link_ima
ge[1962]: 458 could not load needed library 'libcamera.so' for 'libseccameraad
aptor.so' (reloc_library[1311]: 458 cannot locate '_ZN7android7Overlay5setFdEi
'...
E/AndroidRuntime( 460): ))))
E/AndroidRuntime( 460): at java.lang.Runtime.loadLibrary(Runtime.java:45
5)
E/AndroidRuntime( 460): at java.lang.System.loadLibrary(System.java:554)
E/AndroidRuntime( 460): at com.android.server.SystemServer.main(SystemSe
rver.java:624)
E/AndroidRuntime( 460): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 460): at java.lang.reflect.Method.invoke(Method.java:5
07)
E/AndroidRuntime( 460): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime( 460): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:597)
E/AndroidRuntime( 460): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 460): Sending signal. PID: 460 SIG: 9
I/Zygote ( 458): Exit zygote because system server (460) has terminated
E/AndroidRuntime( 460): Error reporting crash
E/AndroidRuntime( 460): java.lang.NullPointerException
E/AndroidRuntime( 460): at com.android.internal.os.RuntimeInit$UncaughtH
andler.uncaughtException(RuntimeInit.java:76)
E/AndroidRuntime( 460): at java.lang.ThreadGroup.uncaughtException(Threa
dGroup.java:854)
E/AndroidRuntime( 460): at java.lang.ThreadGroup.uncaughtException(Threa
dGroup.java:851)
E/AndroidRuntime( 460): at dalvik.system.NativeStart.main(Native Method)
There seem to be some missing / not found files.
Hmm interesting development but I guess if he uses boot.img and recovery.img from Cyanogenmod port it could work?
broodplank1337 said:
Hmm interesting development but I guess if he uses boot.img and recovery.img from Cyanogenmod port it could work?
Click to expand...
Click to collapse
well we will never discover it if nobody will test it...
maybe I will do it, if I find the time for it.
stay tuned =)
ok guy's
it is just trying i'm not a dev guy
about recovery problem it is easy no need to use odin
when your phone not able to boot go to adb and push feamod recovery to sdcard
then
adb shell
su
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p13
adb reboot recovery
---------- Post added at 06:19 PM ---------- Previous post was at 06:14 PM ----------
i hope some one explain from wintel_mac logcat
what i should to do to fix it?
i'll test it right now
unfortunally it doesn´t work ;(
i tried it with skywalkers kernel, cm dev boot img and it wouldn´t boot...
mazen912 would you kindly ask if skywalker will help you out?
the hope dies at last....
what kernel did you use??
nail16 said:
what kernel did you use??
Click to expand...
Click to collapse
the one which mazen put in and skyhigh v1.3
i use https://github.com/abbradar
to porting but i will change the kernel
mazen912 said:
ok guy's
it is just trying i'm not a dev guy
about recovery problem it is easy no need to use odin
when your phone not able to boot go to adb and push feamod recovery to sdcard
then
adb shell
su
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p13
adb reboot recovery
Click to expand...
Click to collapse
I came up with that also, but as sdcard was not mounted (since vold is not executed at this early boot stage) I was not able to do that. However I did not check if /data was already there, I think it must have been there. And it should be RW.
So push it do /data if you experience the same problem and dd it with if=/data/recovery.img and it should work.
But of course Odin worked, too.
pffff... I can't download it! Every time download stops to 1% (because of very low speed (3-6kbs per second))
Please, someone pm me another download link if it is not big trouble. Thank's
geo_xar said:
pffff... I can't download it! Every time download stops to 1% (because of very low speed (3-6kbs per second))
Please, someone pm me another download link if it is not big trouble. Thank's
Click to expand...
Click to collapse
it is useless don't bother yourself
logcat attatched i hope some one can help me
So I'm at a point where this rom is perfect for my phone. It works just fine and has no crashes at all. The only problem is that when running a low enough DPI for tablet mode to work, SystemUI crashes out of nowhere.
I ran a logcat but I unfortunately can't read this very well, so I'm hoping someone else could chime in.
Code:
loading: class com.android.systemui.statusbar.tablet.TabletStatusBar
running: [email protected]
Resizing status bar plugged=false height=64 old=0
Shutting down VM
threadid=1: thread exiting with uncaught exception (group=0x40c0f1f8)
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: android.view.InflateException: Binary XMI file line #19: Error inflating class com.android.systemui.statusbar.tablet.TabletStatusBarView
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2275)
at android.app.ActivityThread.access$1600(ActivityThread.java:127)
at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4507)
at java.lang.reflect.Method.invokeNative(Native Method)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1213)
at android.os.Handler.dispatchMessage(Handler.java:99)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XMI file line #19: Error inflating class com.android.systemui.statusbar.tablet.TabletStatusBarView
at android.view.LayoutInflater.createView(LayoutInflater.java:606) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:680)
at android.view.LayoutInflater.inflate(LayoutInflater.java:466)
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
at android.view.View.inflate(View.java:13742)
at com.android.systemui.statusbar.tablet.TabletStatusBar.makeStatusBarView(TabletStatusBar.java:773)
at com.android.systemui.statusbar.StatusBar.start(StatusBar.java:92) at com.android.systemui.statusbar.tablet.TabletStatusBar.start(TabletStatusBar.java:658)
at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:93)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2265)
... 10 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
at android.view.LayoutInflater.createView(LayoutInflater.java:586)
... 20 more
Caused by: android.content.res.Resources;NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x12/d=0x0 a=3 r=0x7f020173)
at android.content.res.Resources.loadDrawable(Resources.java:1899)
at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
at android.view.View.<init>(View.java:2839)
at android.view.ViewOroup.<init>(ViewOroup.java:385)
at android.widget.FrameLayout.<init>(FrameLayout.java:99)
at android.widget.FrameLayout.<init>(FrameLayout.java:95)
at com.android.systemui.statusbar.tablet.TabletStatusBarView.<init>(TabletStatusBarView.java:40)
... 23 more
id=37 Removed android/com.android.internal.app.ResolverActivity idx=0 Map Size=2
id=37 Removed android/com.android.internal.app.ResolverActivity idx=-2 Map Size=2
[email protected] > dumpstate -k -t -n -z -d -o /data/log/dumpstate_app_error Process com.andrcid.systemui has crashed ;co many times: killing!
This is the only exception that I see through logcat every time I run it and stop it after it freezes. I have tried fix permissions, dalvik wipe, and I don't want to wipe my phone. I don't have a recent nandroid, but in case I have to, are there any ideas on how I can backup my applications and the data without titanium backup? Should I just zip up the contents of /data and etc? I see that is apparently part of the android runtime. Any chance that this is malware?
[ 06-09 20:43:32.586 3581: 3581 E/AndroidRuntime ]
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start receiver com.babelsdk.main.resources.BabelBootReceiver: java.lang.NullPointerException
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2287)
at android.app.ActivityThread.access$1600(ActivityThread.java:143)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4950)
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:1004)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:771)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at com.babelsdk.main.resources.BabelResources.scheduleSync(BabelResources.java:195)
at com.babelsdk.main.resources.BabelBootReceiver.onReceive(BabelBootReceiver.java:19)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2280)
... 10 more
Thanks.
Nevermind solved it.
It was Valet's app being stupid. Turns out this BabelBootReceiver was part of Valet.
Hi all
Thanks for an awesome community. I'm a long time reader, but only just joined
As the topic says I've accidentally uninstalled my native Chrome app using SD Maid (root). Skype immediately started failing and throwing errors...
android.util.AndroidRuntimeException: android.webkit.WebViewFactory$MissingWebViewPackageException: Failed to find donor package: com.android.chrome
at android.webkit.WebViewFactory.getProviderClass(WebViewFactory.java:423)
at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:194)
at android.webkit.CookieManager.getInstance(CookieManager.java:39)
at com.facebook.react.modules.network.b.c(SourceFile:158)
at com.facebook.react.modules.network.b.a(SourceFile:3096)
at com.psykar.cookiemanager.CookieManagerModule.clearAll(SourceFile:76)
at java.lang.reflect.Method.invoke(Native Method)
at com.facebook.react.bridge.q.a(SourceFile:366)
at com.facebook.react.bridge.JavaModuleWrapper$b.invoke(SourceFile:283)
at com.facebook.react.bridge.JavaModuleWrapper.invoke(SourceFile:176)
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:794)
at android.os.Handler.dispatchMessage(Handler.java:99)
at com.facebook.react.bridge.queue.a.dispatchMessage(SourceFile:31)
at android.os.Looper.loop(Looper.java:176)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(SourceFile:194)
at java.lang.Thread.run(Thread.java:764)
Caused by: android.webkit.WebViewFactory$MissingWebViewPackageException: Failed to find donor package: com.android.chrome
at android.webkit.WebViewFactory.fixupStubApplicationInfo(WebViewFactory.java:288)
at android.webkit.WebViewFactory.getWebViewContextAndSetProvider(WebViewFactory.java:356)
at android.webkit.WebViewFactory.getProviderClass(WebViewFactory.java:383)
... 16 more
I tried reinstalling chrome, but the issue persists... Attempted to install Skype Lite (just to confirm issue) and that has the same issue, although the error is different.
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.skype.m2/com.skype.m2.views.SignInOAuth}: android.view.InflateException: Binary XML file line #0: Binary XML file line #0: Error inflating class android.webkit.WebView
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2814)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1613)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:176)
at android.app.ActivityThread.main(ActivityThread.java:6635)
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:823)
Caused by: android.view.InflateException: Binary XML file line #0: Binary XML file line #0: Error inflating class android.webkit.WebView
Caused by: android.view.InflateException: Binary XML file line #0: Error inflating class android.webkit.WebView
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:334)
at android.view.LayoutInflater.createView(LayoutInflater.java:651)
at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:724)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:792)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:734)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:867)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:828)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:870)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:828)
at android.view.LayoutInflater.inflate(LayoutInflater.java:519)
at android.view.LayoutInflater.inflate(LayoutInflater.java:427)
at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
at android.support.v7.app.i.b(SourceFile:287)
at android.support.v7.app.b.setContentView(SourceFile:139)
at android.a.e.a(SourceFile:276)
at android.a.e.a(SourceFile:261)
at com.skype.m2.views.SignInOAuth.onCreate(SourceFile:120)
at android.app.Activity.performCreate(Activity.java:7084)
at android.app.Activity.performCreate(Activity.java:7075)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1215)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2767)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1613)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:176)
at android.app.ActivityThread.main(ActivityThread.java:6635)
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:823)
Caused by: android.util.AndroidRuntimeException: android.webkit.WebViewFactory$MissingWebViewPackageException: Failed to find donor package: com.android.chrome
at android.webkit.WebViewFactory.getProviderClass(WebViewFactory.java:423)
at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:194)
at android.webkit.WebView.getFactory(WebView.java:2536)
at android.webkit.WebView.ensureProviderCreated(WebView.java:2531)
at android.webkit.WebView.setOverScrollMode(WebView.java:2596)
at android.view.View.<init>(View.java:4580)
at android.view.View.<init>(View.java:4714)
at android.view.ViewGroup.<init>(ViewGroup.java:597)
at android.widget.AbsoluteLayout.<init>(AbsoluteLayout.java:55)
at android.webkit.WebView.<init>(WebView.java:643)
at android.webkit.WebView.<init>(WebView.java:588)
at android.webkit.WebView.<init>(WebView.java:571)
at android.webkit.WebView.<init>(WebView.java:558)
... 32 more
Caused by: android.webkit.WebViewFactory$MissingWebViewPackageException: Failed to find donor package: com.android.chrome
at android.webkit.WebViewFactory.fixupStubApplicationInfo(WebViewFactory.java:288)
at android.webkit.WebViewFactory.getWebViewContextAndSetProvider(WebViewFactory.java:356)
at android.webkit.WebViewFactory.getProviderClass(WebViewFactory.java:383)
... 44 more
Can I do anything to rectify the issue, short of reflashing my Rom or restoring from miui?
Thanks for any suggestions
Talix said:
Hi all
Thanks for an awesome community. I'm a long time reader, but only just joined
As the topic says I've accidentally uninstalled my native Chrome app using SD Maid (root). Skype immediately started failing and throwing errors...
android.util.AndroidRuntimeException: android.webkit.WebViewFactory$MissingWebViewPackageException: Failed to find donor package: com.android.chrome
at android.webkit.WebViewFactory.getProviderClass(WebViewFactory.java:423)
at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:194)
at android.webkit.CookieManager.getInstance(CookieManager.java:39)
at com.facebook.react.modules.network.b.c(SourceFile:158)
at com.facebook.react.modules.network.b.a(SourceFile:3096)
at com.psykar.cookiemanager.CookieManagerModule.clearAll(SourceFile:76)
at java.lang.reflect.Method.invoke(Native Method)
at com.facebook.react.bridge.q.a(SourceFile:366)
at com.facebook.react.bridge.JavaModuleWrapper$b.invoke(SourceFile:283)
at com.facebook.react.bridge.JavaModuleWrapper.invoke(SourceFile:176)
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:794)
at android.os.Handler.dispatchMessage(Handler.java:99)
at com.facebook.react.bridge.queue.a.dispatchMessage(SourceFile:31)
at android.os.Looper.loop(Looper.java:176)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(SourceFile:194)
at java.lang.Thread.run(Thread.java:764)
Caused by: android.webkit.WebViewFactory$MissingWebViewPackageException: Failed to find donor package: com.android.chrome
at android.webkit.WebViewFactory.fixupStubApplicationInfo(WebViewFactory.java:288)
at android.webkit.WebViewFactory.getWebViewContextAndSetProvider(WebViewFactory.java:356)
at android.webkit.WebViewFactory.getProviderClass(WebViewFactory.java:383)
... 16 more
I tried reinstalling chrome, but the issue persists... Attempted to install Skype Lite (just to confirm issue) and that has the same issue, although the error is different.
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.skype.m2/com.skype.m2.views.SignInOAuth}: android.view.InflateException: Binary XML file line #0: Binary XML file line #0: Error inflating class android.webkit.WebView
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2814)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1613)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:176)
at android.app.ActivityThread.main(ActivityThread.java:6635)
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:823)
Caused by: android.view.InflateException: Binary XML file line #0: Binary XML file line #0: Error inflating class android.webkit.WebView
Caused by: android.view.InflateException: Binary XML file line #0: Error inflating class android.webkit.WebView
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:334)
at android.view.LayoutInflater.createView(LayoutInflater.java:651)
at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:724)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:792)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:734)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:867)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:828)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:870)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:828)
at android.view.LayoutInflater.inflate(LayoutInflater.java:519)
at android.view.LayoutInflater.inflate(LayoutInflater.java:427)
at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
at android.support.v7.app.i.b(SourceFile:287)
at android.support.v7.app.b.setContentView(SourceFile:139)
at android.a.e.a(SourceFile:276)
at android.a.e.a(SourceFile:261)
at com.skype.m2.views.SignInOAuth.onCreate(SourceFile:120)
at android.app.Activity.performCreate(Activity.java:7084)
at android.app.Activity.performCreate(Activity.java:7075)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1215)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2767)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1613)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:176)
at android.app.ActivityThread.main(ActivityThread.java:6635)
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:823)
Caused by: android.util.AndroidRuntimeException: android.webkit.WebViewFactory$MissingWebViewPackageException: Failed to find donor package: com.android.chrome
at android.webkit.WebViewFactory.getProviderClass(WebViewFactory.java:423)
at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:194)
at android.webkit.WebView.getFactory(WebView.java:2536)
at android.webkit.WebView.ensureProviderCreated(WebView.java:2531)
at android.webkit.WebView.setOverScrollMode(WebView.java:2596)
at android.view.View.<init>(View.java:4580)
at android.view.View.<init>(View.java:4714)
at android.view.ViewGroup.<init>(ViewGroup.java:597)
at android.widget.AbsoluteLayout.<init>(AbsoluteLayout.java:55)
at android.webkit.WebView.<init>(WebView.java:643)
at android.webkit.WebView.<init>(WebView.java:588)
at android.webkit.WebView.<init>(WebView.java:571)
at android.webkit.WebView.<init>(WebView.java:558)
... 32 more
Caused by: android.webkit.WebViewFactory$MissingWebViewPackageException: Failed to find donor package: com.android.chrome
at android.webkit.WebViewFactory.fixupStubApplicationInfo(WebViewFactory.java:288)
at android.webkit.WebViewFactory.getWebViewContextAndSetProvider(WebViewFactory.java:356)
at android.webkit.WebViewFactory.getProviderClass(WebViewFactory.java:383)
... 44 more
Can I do anything to rectify the issue, short of reflashing my Rom or restoring from miui?
Thanks for any suggestions
Click to expand...
Click to collapse
-Did you try deleting the app data of Skype (which you would have aldready did I assume)
-Clearing system cache
-Clear cache and davlik cache using a custom recovery such as twrp
-Lastly if nothing helps then you have to flash the rom
Hope my information was helpful
Regards,
milkyway3