korlibs / korlibs/korge

BundleDebugAar not found in project :android.

Open
#355 8 comments 0 reactions 0 assignees View on GitHub
check
Dominant language
Kotlin
Stars
3k
Forks
148
Avg merge
13h 44m
Merged PRs (30d)
1

Description

Running `gradlew bundleAndroid --info` fails with
```
Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.
Parsed shrinker version: 2.0.88

> Task :bundleAndroid FAILED
Caching disabled for task ':bundleAndroid' because:
Build cache is disabled
Task ':bundleAndroid' is not up-to-date because:
Task has not declared any outputs despite executing actions.
Analytics other plugin to proto: Unknown plugin type org.gradle.api.plugins.JvmEcosystemPlugin expected enum ORG_GRADLE_API_PLUGINS_JVMECOSYSTEMPLUGIN
Analytics other plugin to proto: Unknown plugin type org.gradle.api.plugins.JavaBasePlugin$Inject expected enum ORG_GRADLE_API_PLUGINS_JAVABASEPLUGIN$INJECT
Analytics other plugin to proto: Unknown plugin type org.jetbrains.kotlin.gradle.internal.AndroidSubplugin expected enum ORG_JETBRAINS_KOTLIN_GRADLE_INTERNAL_ANDROIDSUBPLUGIN
:bundleAndroid (Thread[Execution worker for ':',5,main]) completed. Took 0.271 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Task 'bundleDebugAar' not found in project ':android'. Some candidates are: 'bundleDebug'.

* Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 2s
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running `gradlew bundleAndroid --info` and inspect the Android project’s task configuration. Compare the requested `bundleDebugAar` task with the available `bundleDebug` task and determine the intended Android bundle task. Done means the documented command completes without the missing-task failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
build-system, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.