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.

The ide exited after project build finished #1895

Open
@joytou

Description

@joytou

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

It turn error after the project builded.

Expected behavior

  1. Open the ide.
  2. Open existing project.
  3. Confirm open the project on phone.
  4. Wait for the ide build auto.
  5. After build finish, it turn to the "Get started".

Version name

Version : v2.7.1-beta (27102)
CI Build : true
Branch : main
Commit : 55bb46b
Variant : arm64-v8a (release)
Build type : OFFICIAL
F-Droid Build : false
F-Droid Version : null
F-Droid Version code : -1
SDK Version : 29
Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi]
Manufacturer : HUAWEI
Device : PCT-AL10

Download source

GitHub

Relevant log output

java.lang.StackOverflowError: stack size 1039KB
	at com.google.gson.internal.LinkedTreeMap$KeySet$1.<init>(SourceFile:2)
	at com.google.gson.internal.LinkedTreeMap$KeySet.iterator(Unknown Source:14)
	at com.itsaky.androidide.projects.api.AndroidModule.getCompileModuleProjects(Unknown Source:42)
	at com.itsaky.androidide.projects.api.AndroidModule.getCompileModuleProjects(Unknown Source:106)
	at com.itsaky.androidide.projects.api.AndroidModule.getCompileSourceDirectories(Unknown Source:12)
	at com.itsaky.androidide.projects.api.ModuleProject.indexSources(Unknown Source:19)
	at com.itsaky.androidide.projects.ProjectManagerImpl$setupProject$4$jobs$1$1.invokeSuspend(Unknown Source:41)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
	at kotlinx.coroutines.DispatchedTask.run(Unknown Source:120)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(Unknown Source:91)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions