Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

直接运行demo程序 安装apk报错 #335

Open
hy20160705 opened this issue Jun 19, 2021 · 0 comments
Open

直接运行demo程序 安装apk报错 #335

hy20160705 opened this issue Jun 19, 2021 · 0 comments

Comments

@hy20160705
Copy link

 Process: zlc.season.rxdownload.kotlin_demo, PID: 11870
    java.lang.IllegalArgumentException: Failed to find configured root that contains /data/data/zlc.season.rxdownload.kotlin_demo/files/weixin706android1460.apk
        at androidx.core.content.FileProvider$SimplePathStrategy.getUriForFile(FileProvider.java:744)
        at androidx.core.content.FileProvider.getUriForFile(FileProvider.java:418)
        at zlc.season.rxdownload.demo.utils.UtilKt.installApk(Util.kt:27)
        at zlc.season.rxdownload.demo.basic.DemoActivity.install(DemoActivity.kt:101)
        at zlc.season.rxdownload.demo.basic.DemoActivity.onClick(DemoActivity.kt:64)
        at zlc.season.rxdownload.demo.basic.DemoActivity.access$onClick(DemoActivity.kt:20)
        at zlc.season.rxdownload.demo.basic.DemoActivity$onCreate$2.invoke(DemoActivity.kt:51)
        at zlc.season.rxdownload.demo.basic.DemoActivity$onCreate$2.invoke(DemoActivity.kt:20)
        at zlc.season.rxdownload.demo.utils.UtilKt$click$1.onClick(Util.kt:39)
        at android.view.View.performClick(View.java:6897)
        at android.widget.TextView.performClick(TextView.java:12693)
        at android.view.View$PerformClick.run(View.java:26100)
        at android.os.Handler.handleCallback(Handler.java:789)
        at android.os.Handler.dispatchMessage(Handler.java:98)
        at android.os.Looper.loop(Looper.java:164)
        at android.app.ActivityThread.main(ActivityThread.java:6942)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
2021-06-19 14:34:15.285 1494-1512/? E/PhoneWindow_APM :: isCalledPackage return true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant