crackededed / Xtra

Xtra is a Twitch player and browser for Android.
GNU Affero General Public License v3.0
1.25k stars 48 forks source link

Issue Won't Install Android 14 #384

Closed squee666 closed 1 year ago

squee666 commented 1 year ago

My pixel 6 pro won't install this, had older version installed. Update kept failing. So uninstalled and tried manually installing APK Nothing happens I hit install on any APK and that's it screen disappears then nothing happens.

crackededed commented 1 year ago

would need a log from adb to know what's wrong

squee666 commented 1 year ago

file.txt hopefully this helps successfully install the app via sideloading in adb also noticing it was causing package installer to crash

crackededed commented 1 year ago

i think it's fixed now

squee666 commented 1 year ago

hmmm tried to update and same result hit update/install and it closes and then trying again crashes package installer

crackededed commented 1 year ago

can you send another log? one of the errors should be fixed at least

squee666 commented 1 year ago

Probably a other day or 2 till I can. Just got my phone back sent it for a warranty battery replacement since it was free.

Can confirm when it came back on Android 13 instead of 14 the app installed just fine. Will see if persists later on 14 if not I will log

squee666 commented 1 year ago

file.txt this one should be better

crackededed commented 1 year ago

still shows this in the log

FATAL EXCEPTION: main
Process: com.google.android.packageinstaller, PID: 20328
java.lang.RuntimeException: Could not copy bitmap to parcel blob.
    at android.graphics.Bitmap.nativeWriteToParcel(Native Method)
    at android.graphics.Bitmap.writeToParcel(Bitmap.java:2271)
    at android.os.Parcel.writeParcelable(Parcel.java:2584)
    at com.android.packageinstaller.PackageUtil$AppSnippet.writeToParcel(PackageUtil.java:151)
    at android.os.Parcel.writeParcelable(Parcel.java:2584)
    at android.os.Parcel.writeValue(Parcel.java:2485)
    at android.os.Parcel.writeValue(Parcel.java:2362)
    at android.os.Parcel.writeArrayMapInternal(Parcel.java:1298)
    at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1843)
    at android.os.Bundle.writeToParcel(Bundle.java:1389)
    at android.os.Parcel.writeBundle(Parcel.java:1367)
    at android.content.Intent.writeToParcel(Intent.java:11807)
    at android.os.Parcel.writeTypedObject(Parcel.java:2203)
    at android.app.IActivityTaskManager$Stub$Proxy.startActivity(IActivityTaskManager.java:2077)
    at android.app.Instrumentation.execStartActivity(Instrumentation.java:1873)
    at android.app.Activity.startActivityForResult(Activity.java:5615)
    at android.app.Activity.startActivityForResult(Activity.java:5573)
    at android.app.Activity.startActivity(Activity.java:6071)
    at android.app.Activity.startActivity(Activity.java:6038)
    at com.android.packageinstaller.PackageInstallerActivity.startInstall(PackageInstallerActivity.java:701)
    at com.android.packageinstaller.PackageInstallerActivity.lambda$bindUi$0(PackageInstallerActivity.java:479)
    at com.android.packageinstaller.PackageInstallerActivity.$r8$lambda$RCIm8wl1VPqdfQgkgmrBIDbuvOQ(PackageInstallerActivity.java:0)
    at com.android.packageinstaller.PackageInstallerActivity$$ExternalSyntheticLambda0.onClick(R8$$SyntheticClass:0)
    at com.android.packageinstaller.AlertController$ButtonHandler.handleMessage(AlertController.java:144)
    at android.os.Handler.dispatchMessage(Handler.java:106)
    at android.os.Looper.loopOnce(Looper.java:205)
    at android.os.Looper.loop(Looper.java:294)
    at android.app.ActivityThread.main(ActivityThread.java:8194)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
crackededed commented 1 year ago

try this apk: app-release.zip

squee666 commented 1 year ago

--------- beginning of crash 11-01 18:25:17.849 25876 25876 E AndroidRuntime: FATAL EXCEPTION: main 11-01 18:25:17.849 25876 25876 E AndroidRuntime: Process: com.google.android.packageinstaller, PID: 25876 11-01 18:25:17.849 25876 25876 E AndroidRuntime: java.lang.RuntimeException: Could not copy bitmap to parcel blob. 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at android.graphics.Bitmap.nativeWriteToParcel(Native Method) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at android.graphics.Bitmap.writeToParcel(Bitmap.java:2271) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at android.os.Parcel.writeParcelable(Parcel.java:2584) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at com.android.packageinstaller.PackageUtil$AppSnippet.writeToParcel(PackageUtil.java:151) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at android.os.Parcel.writeParcelable(Parcel.java:2584) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at android.os.Parcel.writeValue(Parcel.java:2485) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at android.os.Parcel.writeValue(Parcel.java:2362) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at android.os.Parcel.writeArrayMapInternal(Parcel.java:1298) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1843) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at android.os.Bundle.writeToParcel(Bundle.java:1389) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at android.os.Parcel.writeBundle(Parcel.java:1367) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at android.content.Intent.writeToParcel(Intent.java:11807) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at android.os.Parcel.writeTypedObject(Parcel.java:2203) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at android.app.IActivityTaskManager$Stub$Proxy.startActivity(IActivityTaskManager.java:2077) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at android.app.Instrumentation.execStartActivity(Instrumentation.java:1873) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at android.app.Activity.startActivityForResult(Activity.java:5615) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at android.app.Activity.startActivityForResult(Activity.java:5573) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at android.app.Activity.startActivity(Activity.java:6071) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at android.app.Activity.startActivity(Activity.java:6038) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at com.android.packageinstaller.PackageInstallerActivity.startInstall(PackageInstallerActivity.java:701) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at com.android.packageinstaller.PackageInstallerActivity.lambda$bindUi$0(PackageInstallerActivity.java:479) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at com.android.packageinstaller.PackageInstallerActivity.$r8$lambda$RCIm8wl1VPqdfQgkgmrBIDbuvOQ(PackageInstallerActivity.java:0) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at com.android.packageinstaller.PackageInstallerActivity$$ExternalSyntheticLambda0.onClick(R8$$SyntheticClass:0) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at com.android.packageinstaller.AlertController$ButtonHandler.handleMessage(AlertController.java:144) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:205) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at android.os.Looper.loop(Looper.java:294) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8194) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552) 11-01 18:25:17.849 25876 25876 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: FATAL EXCEPTION: main 11-01 18:25:22.603 25937 25937 E AndroidRuntime: Process: com.google.android.packageinstaller, PID: 25937 11-01 18:25:22.603 25937 25937 E AndroidRuntime: java.lang.RuntimeException: Could not copy bitmap to parcel blob. 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at android.graphics.Bitmap.nativeWriteToParcel(Native Method) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at android.graphics.Bitmap.writeToParcel(Bitmap.java:2271) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at android.os.Parcel.writeParcelable(Parcel.java:2584) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at com.android.packageinstaller.PackageUtil$AppSnippet.writeToParcel(PackageUtil.java:151) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at android.os.Parcel.writeParcelable(Parcel.java:2584) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at android.os.Parcel.writeValue(Parcel.java:2485) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at android.os.Parcel.writeValue(Parcel.java:2362) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at android.os.Parcel.writeArrayMapInternal(Parcel.java:1298) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1843) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at android.os.Bundle.writeToParcel(Bundle.java:1389) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at android.os.Parcel.writeBundle(Parcel.java:1367) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at android.content.Intent.writeToParcel(Intent.java:11807) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at android.os.Parcel.writeTypedObject(Parcel.java:2203) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at android.app.IActivityTaskManager$Stub$Proxy.startActivity(IActivityTaskManager.java:2077) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at android.app.Instrumentation.execStartActivity(Instrumentation.java:1873) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at android.app.Activity.startActivityForResult(Activity.java:5615) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at android.app.Activity.startActivityForResult(Activity.java:5573) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at android.app.Activity.startActivity(Activity.java:6071) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at android.app.Activity.startActivity(Activity.java:6038) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at com.android.packageinstaller.PackageInstallerActivity.startInstall(PackageInstallerActivity.java:701) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at com.android.packageinstaller.PackageInstallerActivity.lambda$bindUi$0(PackageInstallerActivity.java:479) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at com.android.packageinstaller.PackageInstallerActivity.$r8$lambda$RCIm8wl1VPqdfQgkgmrBIDbuvOQ(PackageInstallerActivity.java:0) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at com.android.packageinstaller.PackageInstallerActivity$$ExternalSyntheticLambda0.onClick(R8$$SyntheticClass:0) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at com.android.packageinstaller.AlertController$ButtonHandler.handleMessage(AlertController.java:144) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:205) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at android.os.Looper.loop(Looper.java:294) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8194) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552) 11-01 18:25:22.603 25937 25937 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)

thinkpad4 commented 1 year ago

I don't have Android 14 yet but it's coming to my S23 soon. I'm wondering if it's cause the app is made for Android 5 and up, in 14 they said they are going to block side loaded apps below Android 6.

squee666 commented 1 year ago

I don't have Android 14 yet but it's coming to my S23 soon. I'm wondering if it's cause the app is made for Android 5 and up, in 14 they said they are going to block side loaded apps below Android 6. well it lets me sideload it fine just package installer has issues

thinkpad4 commented 1 year ago

Any word on a fix for installing this on Android 14? My s23 is gonna get it very soon.

crackededed commented 1 year ago

i don't know how to fix this but i'm guessing it will work on other devices

squee666 commented 1 year ago

• Fixed an issue that caused the package manager to crash when installing some apps.

Android 14 qpr2 beta 1 update fixed this issue