androidide_discussions | Unsorted

Telegram-канал androidide_discussions - AndroidIDE Discussions

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/

Subscribe to a channel

AndroidIDE Discussions

Wow, it's interesting https://play.google.com/store/apps/details?id=com.m4coding.ide

Читать полностью…

AndroidIDE Discussions

But how can we receive updates on Play store

Читать полностью…

AndroidIDE Discussions

If you don't mind, can I ask you a question: are you one of the developers on the team?

Читать полностью…

AndroidIDE Discussions

Reported austin [958409882] to admins.

Читать полностью…

AndroidIDE Discussions

Your product's version may not update yet?

Читать полностью…

AndroidIDE Discussions

one crash left 🐢
exists on CodeOnTheGo, Android Code Studio, Official AndroidIDE
https://github.com/Wadamzmail/AndroidIDE/issues/17

Читать полностью…

AndroidIDE Discussions

fixed and pushed to maven with

 implementation("io.github.wadamzmail.treesitter:android-tree-sitter:4.3.3")

Читать полностью…

AndroidIDE Discussions

@mutwakil0119

Читать полностью…

AndroidIDE Discussions

This app appeared after I installed androidIDE

Читать полностью…

AndroidIDE Discussions

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.

Читать полностью…

AndroidIDE Discussions

There is still an error in the app; I can't generate the project APK.

Читать полностью…

AndroidIDE Discussions

I'll upload release after upload my signing key

Читать полностью…

AndroidIDE Discussions

test kotlin code actions in AndroidIDE

Читать полностью…

AndroidIDE Discussions

https://youtu.be/doD0QIWO6-M?is=CagVAwmKXBgsO3Mu

Читать полностью…

AndroidIDE Discussions

⭐ @YunJavaPro starred AndroidIDEOfficial/android-tree-sitter!

Читать полностью…

AndroidIDE Discussions

androidIDE is not in play store

Читать полностью…

AndroidIDE Discussions

Officially androidIDE is archived

Читать полностью…

AndroidIDE Discussions

Hello to the amazing team behind the Android IDE app! I wanted to reach out and say a huge thank you for creating such a wonderful application. You’ve made it possible for us to build our own apps right from our phones, without even needing a laptop. That is honestly so incredible! This app has been a game-changer for me—I've been able to replace so many apps and now build my projects completely on my own. I can't thank you enough. Please keep up the great work, especially when it comes to improving accessibility. Thanks again for everything, and warm wishes to the whole team!

Читать полностью…

AndroidIDE Discussions

what's wrong?
I can't understand

Читать полностью…

AndroidIDE Discussions

Reduce the target SDK to solve the problem

Читать полностью…

AndroidIDE Discussions

the fixed version ❤️‍🩹
https://github.com/Wadamzmail/AndroidIDE/actions/runs/35222839538

Читать полностью…

AndroidIDE Discussions

Ooops, I mistakenly built the fixed Tree-sitter native library with 4 KB page-size alignment. 😅

Читать полностью…

AndroidIDE Discussions

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)

Читать полностью…

AndroidIDE Discussions

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. 🐢

Читать полностью…

AndroidIDE Discussions

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

Читать полностью…

AndroidIDE Discussions

https://www.github.com/Wadamzmail/AndroidIDE

Читать полностью…

AndroidIDE Discussions

the Kotlin lsp also working in Android 10 and less devices

Читать полностью…

AndroidIDE Discussions

⭐ @AbelSegawa starred AndroidIDEOfficial/android-tree-sitter!

Читать полностью…

AndroidIDE Discussions

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.

Читать полностью…

AndroidIDE Discussions

⭐ @theaeomanation starred AndroidIDEOfficial/androidide-tools!

Читать полностью…
Subscribe to a channel