Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

[Bug]: Crash on installing apk on miui #882

@ghost

Description

What happened?

When the build finish the app crashed

What's the expected behavior?

Not to crash

What version of AndroidIDE you're using?

v2.4.0

Relevant log output

AndroidIDE crash report
Manufacturer: Xiaomi
Device: M2010J19SG
ABI: arm64-v8a
SDK version: 31
App version: v2.4.1-beta (241)

 Stacktrace: 
java.lang.IllegalArgumentException: Failed to find configured root that contains /data/data/com.itsaky.androidide/files/home/Create Block/app/build/outputs/apk/debug/app-debug.apk
	at androidx.core.content.FileProvider$SimplePathStrategy.getUriForFile(FileProvider.java:175)
	at com.itsaky.androidide.utils.ApkInstaller.installApk(ApkInstaller.kt:146)
	at com.itsaky.androidide.actions.build.QuickRunAction$$ExternalSyntheticLambda0.run(R8$$SyntheticClass:77)
	at android.os.Handler.handleCallback(Handler.java:938)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loopOnce(Looper.java:211)
	at android.os.Looper.loop(Looper.java:300)
	at android.app.ActivityThread.main(ActivityThread.java:8322)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:556)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1038)

Duplicate issues

  • This issue has not been reported yet.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcannot reproduceThis author did not provide a way to reproduce this bug or this bug is not reproducible.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions