Set the daemon heap size to 10GB, By editing your gradle.properties file.org.gradle.jvmargs=-Xmx10240m
Follow the instructions here to setup NDK in AndroidIDE :
https://github.com/MrIkso/AndroidIDE-NDK
🔨 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]
Set the daemon heap size to 1GB, By editing your gradle.properties file.org.gradle.jvmargs=-Xmx1024m
The path to the executable is
.gradle/wrapper/dists/gradle-7.4.2-bin/<some hash or something>/gradle-7.4.2/bin/gradle
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?
Читать полностью…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
.
Set the daemon heap size to 4GB, By editing your gradle.properties file.org.gradle.jvmargs=-Xmx4096m
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)
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
});
🔨 1 new commit to AndroidIDE:crowdin-contributors
a98e5b8: chore: update crowdin contributors table by itsaky
Pushed by : github-actions[bot]
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 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
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)
Читать полностью…🐛️ 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