vendetta-mod / Vendetta

A mod for Discord's mobile apps.
BSD 3-Clause "New" or "Revised" License
1.46k stars 91 forks source link

Failed installing apks #215

Closed capjoan74 closed 8 months ago

capjoan74 commented 8 months ago

I was trying to install vendetta through vendetta manager and it failed installing on the "Installing APKs" part.

EDIT: I'm dumb. I forgot to update discord. It's fixed now

Logs:

Vendetta Manager v1.0.99 Built from commit b97692b on main (Changes Present)

Running Android 10, API level 29 Supported ABIs: arm64-v8a, armeabi-v7a, armeabi

Checking if base-209014.apk is cached base-209014.apk is not cached, downloading now Move base-209014.apk to working directory Checking if config.arm64_v8a-209014.apk is cached config.arm64_v8a-209014.apk is not cached, downloading now Move config.arm64_v8a-209014.apk to working directory Checking if config.en-209014.apk is cached config.en-209014.apk is not cached, downloading now Move config.en-209014.apk to working directory Checking if config.xxhdpi-209014.apk is cached config.xxhdpi-209014.apk is not cached, downloading now Move config.xxhdpi-209014.apk to working directory Checking if vendetta.apk is cached vendetta.apk is not cached, downloading now Move vendetta.apk to working directory Replacing mipmap-xhdpi-v4 with ic_logo_foreground.png Replacing mipmap-xxhdpi-v4 with ic_logo_foreground.png Replacing mipmap-xxxhdpi-v4 with ic_logo_foreground.png Replacing mipmap-xhdpi-v4 with ic_logo_square.png Replacing mipmap-xxhdpi-v4 with ic_logo_square.png Replacing mipmap-xxxhdpi-v4 with ic_logo_square.png Replacing mipmap-xhdpi-v4 with ic_logo_foreground.png Replacing mipmap-xxhdpi-v4 with ic_logo_foreground.png Replacing mipmap-xxxhdpi-v4 with ic_logo_foreground.png Reading AndroidManifest.xml from base-209014.apk Changing package and app name in base-209014.apk Deleting old AndroidManifest.xml in base-209014.apk Adding patched AndroidManifest.xml in base-209014.apk Reading AndroidManifest.xml from config.arm64_v8a-209014.apk Changing package and app name in config.arm64_v8a-209014.apk Changing package name in config.arm64_v8a-209014.apk Deleting old AndroidManifest.xml in config.arm64_v8a-209014.apk Adding patched AndroidManifest.xml in config.arm64_v8a-209014.apk Reading AndroidManifest.xml from config.en-209014.apk Changing package and app name in config.en-209014.apk Changing package name in config.en-209014.apk Deleting old AndroidManifest.xml in config.en-209014.apk Adding patched AndroidManifest.xml in config.en-209014.apk Reading AndroidManifest.xml from config.xxhdpi-209014.apk Changing package and app name in config.xxhdpi-209014.apk Changing package name in config.xxhdpi-209014.apk Deleting old AndroidManifest.xml in config.xxhdpi-209014.apk Adding patched AndroidManifest.xml in config.xxhdpi-209014.apk Creating dir for signed apks Signing base-209014.apk Signing config.arm64_v8a-209014.apk Signing config.en-209014.apk Signing config.xxhdpi-209014.apk Processing /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/209014/signed/config.xxhdpi-209014.apk -> /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/209014/patched/lspatched/config.xxhdpi-209014-375-lspatched.apk apk path: /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/209014/signed/config.xxhdpi-209014.apk Parsing original apk... Register apk signer with custom keystore... original appComponentFactory class: null original minSdkVersion: 0 Patching apk... Adding config... Adding metaloader dex... Adding loader dex... Adding native lib... added assets/lspatch/so/x86_64/liblspatch.so added assets/lspatch/so/x86/liblspatch.so added assets/lspatch/so/armeabi-v7a/liblspatch.so added assets/lspatch/so/arm64-v8a/liblspatch.so Embedding modules...

Failed on step INSTALL_APK

java.io.IOException: Failed to allocate 50952854 because only 0 allocatable at java.lang.reflect.Constructor.newInstance0(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:343) at android.os.ParcelableException.readFromParcel(ParcelableException.java:56) at android.os.ParcelableException$1.createFromParcel(ParcelableException.java:82) at android.os.ParcelableException$1.createFromParcel(ParcelableException.java:79) at android.os.Parcel.readParcelable(Parcel.java:2974) at android.os.Parcel.createException(Parcel.java:2067) at android.os.Parcel.readException(Parcel.java:2040) at android.os.Parcel.readException(Parcel.java:1988) at android.content.pm.IPackageInstallerSession$Stub$Proxy.openWrite(IPackageInstallerSession.java:485) at android.content.pm.PackageInstaller$Session.openWrite(PackageInstaller.java:940) at dev.beefers.vendetta.manager.installer.util.PackageInstallerKt.installApks(PackageInstaller.kt:29) at dev.beefers.vendetta.manager.ui.viewmodel.installer.InstallerViewModel.install(InstallerViewModel.kt:412) at dev.beefers.vendetta.manager.ui.viewmodel.installer.InstallerViewModel.access$install(InstallerViewModel.kt:42) at dev.beefers.vendetta.manager.ui.viewmodel.installer.InstallerViewModel$job$1$1.invokeSuspend(InstallerViewModel.kt:123) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) Caused by: android.os.RemoteException: Remote stack trace: at android.util.ExceptionUtils.wrap(ExceptionUtils.java:34) at com.android.server.pm.PackageInstallerSession.openWrite(PackageInstallerSession.java:707) at android.content.pm.IPackageInstallerSession$Stub.onTransact(IPackageInstallerSession.java:239) at android.os.Binder.execTransactInternal(Binder.java:1021) at android.os.Binder.execTransact(Binder.java:994)