Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not create task ':afilechooser2:generateDebugRFile'. #3

Open
pggood opened this issue Jan 10, 2025 · 1 comment
Open

Could not create task ':afilechooser2:generateDebugRFile'. #3

pggood opened this issue Jan 10, 2025 · 1 comment

Comments

@pggood
Copy link

pggood commented Jan 10, 2025

Under
Android Studio Ladybug Feature Drop | 2024.2.2
Build #AI-242.23726.103.2422.12816248, built on December 18, 2024
Runtime version: 21.0.4+-12508038-b607.1 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
get a compile error
GPBI: {"kind":"warning","text":"We recommend using a newer Android Gradle plugin to use compileSdk = 34\n\nThis Android Gradle plugin (7.0.2) was tested up to compileSdk = 31\n\nThis warning can be suppressed by adding\n android.suppressUnsupportedCompileSdk=34\nto this project's gradle.properties\n\nThe build will continue, but you are strongly encouraged to update your project to\nuse a newer Android Gradle Plugin that has been tested with compileSdk = 34","sources":[{}]}

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not create task ':afilechooser2:generateDebugRFile'.
    Cannot use @TaskAction annotation on method IncrementalTask.taskAction$gradle_core() because interface org.gradle.api.tasks.incremental.IncrementalTaskInputs is not a valid parameter to an action method.

  • Try:

Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

  • Exception is:
    com.intellij.openapi.externalSystem.model.ExternalSystemException: Could not create task ':afilechooser2:generateDebugRFile'.
    Cannot use @TaskAction annotation on method IncrementalTask.taskAction$gradle_core() because interface org.gradle.api.tasks.incremental.IncrementalTaskInputs is not a valid parameter to an action method.
@bdbcat
Copy link
Owner

bdbcat commented Jan 10, 2025

Did it build for you on any previous version of AStudio?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants