Aefyr / SAI

Android split APKs installer
GNU General Public License v3.0
2.48k stars 251 forks source link

Cant install in situations when sai start is triggered by another application activity #209

Closed rb3108 closed 3 years ago

rb3108 commented 3 years ago

Ошибка Rooted-установщика:

Устройство: nubia NX563J | Not MIUI | Android 7.1.1 | Using ZipApkSource ApkSource implementation | SAI 4.5

java.lang.SecurityException: Permission Denial: opening provider com.qooapp.qoohelper.component.MyFileProvider from ProcessRecord{7ceeb1e 7038:com.aefyr.sai/u0a8} (pid=7038, uid=10008) that is not exported from uid 10353 at android.os.Parcel.readException(Parcel.java:1684) at android.os.Parcel.readException(Parcel.java:1637) at android.app.ActivityManagerProxy.getContentProvider(ActivityManagerNative.java:4289) at android.app.ActivityThread.acquireProvider(ActivityThread.java:5987) at android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider(ContextImpl.java:2328) at android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:1598) at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1151) at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1004) at android.content.ContentResolver.openInputStream(ContentResolver.java:724) at com.aefyr.sai.model.filedescriptor.ContentUriFileDescriptor.open(ContentUriFileDescriptor.java:47) at com.aefyr.sai.model.apksource.ZipApkSource.nextApk(ZipApkSource.java:38) at com.aefyr.sai.installer2.impl.shell.ShellSaiPackageInstaller.install(ShellSaiPackageInstaller.java:112) at com.aefyr.sai.installer2.impl.shell.ShellSaiPackageInstaller.lambda$enqueueSession$0$ShellSaiPackageInstaller(ShellSaiPackageInstaller.java:93) at com.aefyr.sai.installer2.impl.shell.-$$Lambda$ShellSaiPackageInstaller$VdI3y9AkULdYCG2o9afJnUCfQnA.run(lambda) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:761)

github-actions[bot] commented 3 years ago

This issue hasn't had any activity for the last 60 days and will be automatically closed in 7 days from now