androidide_discussions | Unsorted

Telegram-канал androidide_discussions - AndroidIDE Discussions

2996

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

Set the daemon heap size to 10GB, By editing your gradle.properties file.

org.gradle.jvmargs=-Xmx10240m

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

AndroidIDE Discussions

Follow the instructions here to setup NDK in AndroidIDE :

https://github.com/MrIkso/AndroidIDE-NDK

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

AndroidIDE Discussions

🔨 1 new commit to android-tree-sitter:renovate

4244d38: chore(deps): update plugin com.mooltiverse.oss.nyx to v2.3.3-hotfix205.2 by renovate[bot]

Pushed by : renovate[bot]

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

AndroidIDE Discussions

settings > Build & Run > clear gradle caches

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

AndroidIDE Discussions

if you mean storage, then probably you have to clean gradle cache regularly

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

AndroidIDE Discussions

Set the daemon heap size to 1GB, By editing your gradle.properties file.

org.gradle.jvmargs=-Xmx1024m

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

AndroidIDE Discussions

It has been solved, thank you

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

AndroidIDE Discussions

Why do I have to select a folder every time I open a project?

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

AndroidIDE Discussions

My man with a hacker pfp, I think you are talking about kotlin language server

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

AndroidIDE Discussions

Seee ide logs, i think your configuration wrong

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

AndroidIDE Discussions

Learn how to use a button in Android

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

AndroidIDE Discussions

Also, *not dynamic* colors are no longer red but rather something orange-like

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

AndroidIDE Discussions

The path to the executable is

.gradle/wrapper/dists/gradle-7.4.2-bin/<some hash or something>/gradle-7.4.2/bin/gradle

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

AndroidIDE Discussions

this is pretty comfortable, can you send the theme?

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

AndroidIDE Discussions

Awhile back I'd asked if the new live material colors could be disabled. A switch was added allowing you disable Material You. But, I've noticed the colors are the same, whether or not the switch is on or off. For example, the clear and share buttons are still an ugly purple-ish brown color on my log screens instead of the original red. Is there away I can get them back to their old color?

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

AndroidIDE Discussions

Edit the Gradle distribution reference in the gradle/wrapper/gradle-wrapper.properties file to 8.0.1 or higher. Like this:

distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.1-bin.zip

And, make sure to update the AGP too. Goto your top-level build.gradle file and change the plugin versions to 8.1.

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

AndroidIDE Discussions

Set the daemon heap size to 4GB, By editing your gradle.properties file.

org.gradle.jvmargs=-Xmx4096m

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

AndroidIDE Discussions

AndroidIDE crash report
Manufacturer: Xiaomi
Device: M2101K7AI
ABI: arm64-v8a
SDK version: 31
App version: v2.4.1-beta (241)

Stacktrace:
java.lang.NullPointerException
at com.itsaky.androidide.actions.etc.PreviewLayoutAction.execAction(PreviewLayoutAction.kt:39)
at com.itsaky.androidide.actions.internal.DefaultActionsRegistry$$ExternalSyntheticLambda1.run(R8$$SyntheticClass:22)
at com.blankj.utilcode.util.ThreadUtils.runOnUiThread(ThreadUtils.java:11)
at com.itsaky.androidide.actions.internal.DefaultActionsRegistry.executeAction(DefaultActionsRegistry.kt:12)
at com.itsaky.androidide.actions.internal.DefaultActionsRegistry$$ExternalSyntheticLambda0.onMenuItemClick(R8$$SyntheticClass:27)
at androidx.appcompat.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:6)
at androidx.appcompat.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:14)
at androidx.appcompat.widget.ActionMenuView.invokeItem(ActionMenuView.java:5)
at androidx.appcompat.view.menu.ActionMenuItemView.onClick(ActionMenuItemView.java:7)
at android.view.View.performClick(View.java:7753)
at android.view.View.performClickInternal(View.java:7730)
at android.view.View.access$3700(View.java:858)
at android.view.View$PerformClick.run(View.java:29126)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:210)
at android.os.Looper.loop(Looper.java:299)
at android.app.ActivityThread.main(ActivityThread.java:8302)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:556)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1037)

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

AndroidIDE Discussions

In 4gb ram mobile Android ide is not performing well because of storage issue

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

AndroidIDE Discussions

After setting this what should we do next

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

AndroidIDE Discussions

How to set Android ide to take less memory??

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

AndroidIDE Discussions

because your project is in a folder?

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

AndroidIDE Discussions

The app still lacks that feature

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

AndroidIDE Discussions

hey its me who suggested you use androidide instead of aide, on Facebook 😅

you need get id reference,

Button btn = findViewById(R.id.my_btn);

btn.setOnClickListener(v -> {
//action when the button is clicked
});

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

AndroidIDE Discussions

Assign the btn variable. You can use findViewById()

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

AndroidIDE Discussions

🔨 1 new commit to AndroidIDE:crowdin-contributors

a98e5b8: chore: update crowdin contributors table by itsaky

Pushed by : github-actions[bot]

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

AndroidIDE Discussions

For me disabling Material You only works in dark mode (using not the latest build tho).

Right now IDE is being tweaked to work with dynamic colors and user defined themes. So this thing is not as complete for now.

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

AndroidIDE Discussions

AndroidIDE uses a different package repository than Termux. It is maid so to prevent versioning conflicts i think. Since you installed Gradle with idesetup you can use it anyway. I just don't remember the directory, but it's somewhere in AndroidIDE's Terminal's home directory

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

AndroidIDE Discussions

Please add gradle as a package that can be installed by pkg install gradle (i can do that in termux but not in android-ide)

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

AndroidIDE Discussions

🐛️ New Issue - AndroidIDEOfficial/AndroidIDE#815 - [Bug]: app crash by @sb-codz

### What happened?

AndroidIDE crash report
Manufacturer: Xiaomi
Device: Redmi6Pro
ABI: arm64-v8a
SDK version: 28
App version: v2.3.0-beta (230)

Stacktrace:
java.lang.IllegalStateException: GradleBuildService instance has been released
at com.itsaky.androidide.services.builder.GradleBuildServiceConnnection.onServiceConnected(GradleBuildServiceConnnection.kt:40)
at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1738)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1770)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6806)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)


### What's the expected behavior?

AndroidIDE crash report
Manufacturer: Xiaomi
Device: Redmi6Pro
ABI: arm64-v8a
SDK version: 28
App version: v2.3.0-beta (230)

Stacktrace:
java.lang.IllegalStateException: GradleBuildService instance has been released
at com.itsaky.androidide.services.builder.GradleBuildServiceConnnection.onServiceConnected(GradleBuildServiceConnnection.kt:40)
at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1738)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1770)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6806)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)


### What version of AndroidIDE you're using?

v2.2.0

### Relevant log output

_No response_

### Duplicate issues

- [X] This issue has not been reported yet.

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

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