[X] I confirm that this issue is not a duplicate and hasn't been reported before.
[X] I agree to follow the project's code of conduct.
[X] I have checked and verified that I am using the latest version of AndroidIDE from GitHub or F-Droid.
Additional terms
[X] I understand that providing incomplete or inaccurate information may result in the issue being closed.
[X] I agree to provide all requested details promptly for a comprehensive bug report.
Issue explanation
When we have a circular dependency between 2 projects or more, Instead of the IDE simply showing the project initialization error, it goes into an abnormal state where the progress bar keeps loading indefinitely and when opening files their name becomes 'null' and it is not possible to perform some actions in the editor,
It is also not possible to identify in the IDE that the reason for the failure is a circular dependency, as it does not show this to us.
Also the IDE show that initializization was successful
%PARSER_ERROR[date] %PARSER_ERROR[level] [%PARSER_ERROR[thread]] %PARSER_ERROR[logger]:java.lang.RuntimeException: Failure from system
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1677)
at android.app.ContextImpl.startActivity(ContextImpl.java:944)
at android.app.ContextImpl.startActivity(ContextImpl.java:915)
at android.content.ContextWrapper.startActivity(ContextWrapper.java:379)
at com.itsaky.androidide.app.IDEApplication$$ExternalSyntheticLambda0.uncaughtException(Unknown Source:179)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1068)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1063)
at org.apache.commons.io.file.Counters.handleUncaughtCoroutineException(Unknown Source:67)
at _COROUTINE._BOUNDARY.handleCoroutineException(Unknown Source:16)
at kotlinx.coroutines.StandaloneCoroutine.handleJobException(Unknown Source:2)
at kotlinx.coroutines.JobSupport.finalizeFinishingState(Unknown Source:159)
at kotlinx.coroutines.JobSupport.tryMakeCompleting(Unknown Source:220)
at kotlinx.coroutines.JobSupport.makeCompletingOnce$kotlinx_coroutines_core(Unknown Source:4)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(Unknown Source:13)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:36)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:110)
at androidx.work.Worker$2.run(Unknown Source:38)
at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(Unknown Source:95)
Caused by: android.os.TransactionTooLargeException: data parcel size 2583480 bytes
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:1157)
at android.app.IActivityManager$Stub$Proxy.startActivity(IActivityManager.java:3633)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1671)
... 18 common frames omitted
Unable to show crash handler activity
%PARSER_ERROR[date] %PARSER_ERROR[level] [%PARSER_ERROR[thread]] %PARSER_ERROR[logger]: Failed to compile /data/data/com.itsaky.androidide/files/home/android-sdk/platforms/android-34/data/res/values/config_telephony.xml
Issue Checklist
Additional terms
Issue explanation
When we have a circular dependency between 2 projects or more, Instead of the IDE simply showing the project initialization error, it goes into an abnormal state where the progress bar keeps loading indefinitely and when opening files their name becomes 'null' and it is not possible to perform some actions in the editor, It is also not possible to identify in the IDE that the reason for the failure is a circular dependency, as it does not show this to us. Also the IDE show that initializization was successful
Expected behavior
Expected: Show something like this
Version name
Version : v2.7.1-beta (27101) CI Build : true Branch : dev Commit : b7e8464d5 Variant : armeabi-v7a (release) Build type : OFFICIAL F-Droid Build : false F-Droid Version : null F-Droid Version code : -1 SDK Version : 28 Supported ABIs : [armeabi-v7a, armeabi] Manufacturer : LGE Device : LM-X420
Video:
https://github.com/AndroidIDEOfficial/AndroidIDE/assets/93414086/c6b47b51-8f61-4eb4-8c33-877736a8ad2b
Download source
GitHub
Relevant log output