3363
Official Telegram group of AndroidIDE to discuss issues, requests and suggestions. We use GitHub to manage requests, features and suggestions. GitHub: https://github.com/AndroidIDEOfficial/AndroidIDE Website: https://androidide.com/
This app appeared after I installed androidIDE
Читать полностью…
There seems to be a lifecycle/thread-safety issue between "android-tree-sitter" and Sora's "TsAnalyzeWorker" that was causing frequent native crashes.
The crashes were mainly happening around Tree-sitter parser/tree lifetime and concurrent operations. In some cases, the parser could still be parsing while its native resources were being closed. We also hit a case where a closed "UTF16String" resulted in a null native pointer being passed to JNI, which then caused ART to abort because a Java exception was left pending while native code continued executing.
I made several changes to stabilize the lifecycle:
- Added parser-side synchronization around parsing and parser closing.
- Added explicit parsing/cancellation state to "TSParser".
- Added cancellation handling so an active native parse can be requested to stop.
- Made parser closing wait for an active native parse before deleting the native parser.
- Added native-side protection against a null source string before calling Tree-sitter.
- Fixed "TSParserInternal" cancellation/close handling so the cancellation flag is not freed while a parse is still using it.
- Changed "TsAnalyzeWorker" shutdown so it requests parser cancellation, wakes the worker, and lets the worker finish its own cleanup instead of immediately closing the document from "stop()".
- Moved "TsTextDocument.close()" to the worker's coroutine "finally" block, so the parser/tree/text are released after the worker has stopped using them.
The last change was based on the lifecycle used by Sora Editor 0.24.6: the old Tree-sitter worker is stopped, and the worker itself releases its parser/tree/text resources when its execution ends.
I'm currently stress-testing it with project sync, builds, opening/closing IDE Logs, multiple CodeEditors, and random editing. So far, after more than 6 minutes of this workload, there has been no native crash.
It's not considered fully confirmed yet because the original crash was nondeterministic, but the behavior so far looks significantly more stable.
There is still an error in the app; I can't generate the project APK.
Читать полностью…
I'll upload release after upload my signing key
Читать полностью…
https://youtu.be/doD0QIWO6-M?is=CagVAwmKXBgsO3Mu
Читать полностью…
⭐ @YunJavaPro starred AndroidIDEOfficial/android-tree-sitter!
Читать полностью…
⭐ @theaeomanation starred AndroidIDEOfficial/AndroidIDE!
Читать полностью…
⭐ @Lasereyes5 starred AndroidIDEOfficial/AndroidIDE!
Читать полностью…
I like to know why android ide not working on my Android 13 phone
Читать полностью…
it fast but is not intellij like the official Kotlin Analysis API
Читать полностью…
AndroidIDE Crash Report
Version : v2.11.0-beta (211002)
CI Build : true
Branch : main
Commit : c8374ee67
Variant : arm64-v8a (release)
Build type : UNOFFICIAL
F-Droid Build : false
F-Droid Version : null
F-Droid Version code : -1
SDK Version : 36
Supported ABIs : [arm64-v8a]
Manufacturer : vivo
Device : V2520A
Stacktrace:
java.lang.IllegalStateException: Activity has been destroyed
at dev.mutwakil.androidide.activities.PreferencesActivity.getBinding(r8-map-id-516a252826a2a87cbc49f1fa317faf8877eb65c56b1113c3a828dc355a884c3f:10)
at dev.mutwakil.androidide.activities.PreferencesActivity.onApplySystemBarInsets(r8-map-id-516a252826a2a87cbc49f1fa317faf8877eb65c56b1113c3a828dc355a884c3f:6)
at dev.mutwakil.androidide.app.EdgeToEdgeIDEActivity.applyEdgeToEdge(r8-map-id-516a252826a2a87cbc49f1fa317faf8877eb65c56b1113c3a828dc355a884c3f:65)
at dev.mutwakil.androidide.app.EdgeToEdgeIDEActivity.onCreate(r8-map-id-516a252826a2a87cbc49f1fa317faf8877eb65c56b1113c3a828dc355a884c3f:1)
at dev.mutwakil.androidide.activities.PreferencesActivity.onCreate(r8-map-id-516a252826a2a87cbc49f1fa317faf8877eb65c56b1113c3a828dc355a884c3f:1)
at android.app.Activity.performCreate(Activity.java:9692)
at android.app.Activity.performCreate(Activity.java:9627)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1535)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4978)
Caused by: java.lang.RuntimeException: Unable to start activity ComponentInfo{dev.mutwakil.androidide/dev.mutwakil.androidide.activities.PreferencesActivity}: java.lang.IllegalStateException: Activity has been destroyed
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:5002)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:5210)
at android.app.ActivityThread.handleRelaunchActivityInner(ActivityThread.java:7522)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:7387)
at android.app.servertransaction.ActivityRelaunchItem.execute(ActivityRelaunchItem.java:106)
at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:63)
at android.app.servertransaction.TransactionExecutor.executeNonLifecycleItem(TransactionExecutor.java:133)
at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:103)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:80)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:3344)
at android.os.Handler.dispatchMessage(Handler.java:114)
at android.os.Looper.loopOnce(Looper.java:266)
at android.os.Looper.loop(Looper.java:361)
at android.app.ActivityThread.main(ActivityThread.java:10373)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:675)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1002)
Could you help me download and test this build?
https://github.com/Wadamzmail/AndroidIDE/actions/runs/35126908569
Please let me know if you encounter any unexpected crashes during testing. 🐢
The first version did not support libraries. ssh This causes the application to crash during compilation. I'll try this version now; maybe it will work. I think these versions also don't support applications. vpn
Читать полностью…
https://www.github.com/Wadamzmail/AndroidIDE
Читать полностью…
the Kotlin lsp also working in Android 10 and less devices
Читать полностью…
⭐ @AbelSegawa starred AndroidIDEOfficial/android-tree-sitter!
Читать полностью…
Hey there bum bum baw, welcome to AndroidIDE!
This group is for general discussions about features, improvements and common issues in AndroidIDE. Bugs must be reported at GitHub.
Make sure you follow /rules while sending messages in this group and ensure that all messages are directed to their designated topic.
⭐ @theaeomanation starred AndroidIDEOfficial/androidide-tools!
Читать полностью…
⭐ @xjioc starred AndroidIDEOfficial/AndroidIDE!
Читать полностью…
it's working fine on my Android 10 phone
I'll check it in Another phone if it will work
Yes, but those shortcomings have been addressed by AndroidPE
Читать полностью…
CodeAssist is no longer use build.gradle
and have issues in Keyboard and dependencies
and can't open external storage projects
good achievement, but I think the new Code Assist is still fast
Читать полностью…