Skip to content

崩溃报告(项目中点击关闭其他文件时触发) #4

Description

@MoiySQ

Issue Checklist

  • I confirm that this issue is not a duplicate and hasn't been reported before.
  • I agree to follow the project's code of conduct.
  • I have checked and verified that I am using the latest version of AndroidIDE from GitHub or F-Droid.

Additional terms

  • I understand that providing incomplete or inaccurate information may result in the issue being closed.
  • I agree to provide all requested details promptly for a comprehensive bug report.

Issue explanation

AndroidIDE Crash Report
Version : vv20250701 (2025070102)
CI Build : false
Branch : ZeroStudio-main
Commit : 771d455
Variant : arm64-v8a (release)
Build type : UNOFFICIAL
F-Droid Build : false
F-Droid Version : null
F-Droid Version code : -1
SDK Version : 33
Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi]
Manufacturer : Xiaomi
Device : RedmiK20

Stacktrace:
android.system.ErrnoException: fstat failed: ENOENT (No such file or directory)
at libcore.io.Linux.fstat(Native Method)
at libcore.io.ForwardingOs.fstat(ForwardingOs.java:261)
at libcore.io.BlockGuardOs.fstat(BlockGuardOs.java:195)
at libcore.io.ForwardingOs.fstat(ForwardingOs.java:261)
at libcore.io.IoBridge.open(IoBridge.java:563)
Caused by: java.io.FileNotFoundException: /storage/emulated/0/AndroidIDEProjects/网络验证/.androidide/editor/openedFiles.json: fstat failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:574)
at java.io.FileOutputStream.(FileOutputStream.java:236)
at java.io.FileOutputStream.(FileOutputStream.java:186)
at kotlinx.coroutines.AwaitKt.writeText$default(Unknown Source:23)
at com.itsaky.androidide.viewmodel.EditorViewModel$writeOpenedFiles$1.invokeSuspend(Unknown Source:46)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:120)
at androidx.work.Worker$2.run(Unknown Source:39)
at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(Unknown Source:91)

Expected behavior

关闭项目其他文件

Version name

阿巴阿巴

Download source

GitHub

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions