Error "A property without annotation isn't considered during up-to-date checking." with Gradle 7 and App Distribution Gradle Plugin
See original GitHub issue[REQUIRED] Step 2: Describe your environment
- Android Studio version: Artic Fox Canary 14
- Firebase Component: App Distribution Gradle Plugin
- Component version: 2.1.0
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
I am using Android Gradle Plugin version 7.0.0-alpha14
and Gradle version 7.0
and when I try to upload the app to app distribution through the Gradle plugin version 2.1.0
it fails on a task app:appDistributionUploadDebug
with an error
> Task :app:appDistributionUploadDebug FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Some problems were found with the configuration of task ':app:appDistributionUploadDebug' (type 'UploadDistributionTask').
- Type 'UploadDistributionTask' property 'COMMAND_LINE_PREFIX' is missing an input or output annotation.
Reason: A property without annotation isn't considered during up-to-date checking.
Possible solutions:
1. Add an input or output annotation.
2. Mark it as @Internal.
Please refer to https://docs.gradle.org/7.0/userguide/validation_problems.html#missing_annotation for more details about this problem.
- Type 'UploadDistributionTask' property 'appDistributionProperties' is missing an input or output annotation.
Reason: A property without annotation isn't considered during up-to-date checking.
Possible solutions:
1. Add an input or output annotation.
2. Mark it as @Internal.
Please refer to https://docs.gradle.org/7.0/userguide/validation_problems.html#missing_annotation for more details about this problem.
```
Issue Analytics
- State:
- Created 2 years ago
- Reactions:9
- Comments:13 (1 by maintainers)
Top Results From Across the Web
AppDistribution Gradle plugin with Gradle 7 - Stack Overflow
Reason: A property without annotation isn't considered during up-to-date checking. Possible solutions: 1. Add an input or output annotation. 2.
Read more >Missing input output annotations gradle 7.3 issue with java 17
Reason: A property without annotation isn't considered during up-to-date checking. Possible solutions: Add an input or output annotation.
Read more >A problem was found with the configuration of the Gradle 7 task
Reason: A property without annotation isn't considered during up-to-date checking. Possible solutions: 1. Add an input or output annotation.
Read more >Known issues with Android Studio and Android Gradle Plugin
To fix this issue, upgrade your Android 11 emulator to version 9 or higher by navigating to Tools > SDK Manager. In the...
Read more >Release Notes | Firebase - Google
The Firebase Android SDKs for Firebase ML have been updated. The App Distribution Gradle plugin has also been updated. For more details, check...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can confirm: we are getting this error with AGP 4.1.3 and Gradle 7.0:
2.1.1 fixed the issue for me