Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Use Markdown for this comment
Set severity, which reflects how much the issue affects the use of the product
Change issue status back to 'Assigned'
Pending code changes (auto-populated)
[ID: 84651]
Select items in the list
[ID: 558956]
[ID: 874707]
Set the version(s) of the product affected by this issue (comma-separated list)
Set the version(s) of the product in which the issue should be fixed (comma-separated list)
Set the version(s) of the product in which the issue fix was verified (comma-separated list)
Set if this issue occurs in production
[ID: 85206]
Set Reporter
Set Type
Set priority, which reflects how soon the issue should be fixed
Set Status
Set Assignee
Set Verifier
Remove item
View or edit staffing
View issue level access limits(Press Alt + Right arrow for more information)
Description
Sample project:
Steps to reprdoduce:
1) Set up everything for android.builder.sdkDownload
2) Make sure the android m2repository isn't installed
3) create a project where a module depends on one of the support libs
4) run ./gradlew assemble (or any other task that goes through the configuration step)
Observed result:
The Android support repository is downloaded but the dependency resolution directly after that fails. Running the gradle task again works. If your project just is a single module and the dependency is declared in the root build.gradle file it works immediately (delete the myapplication module in the sample and everything works fine).
Expected result:
Dependency resolution shouldn't fail.
Logs:
Preparing "Install Android SDK Build-Tools 24".
"Install Android SDK Build-Tools 24" ready.
Finishing "Install Android SDK Build-Tools 24"
Installing Android SDK Build-Tools 24 in /home/travis/android-sdk/build-tools/24.0.0
"Install Android SDK Build-Tools 24" complete.
Preparing "Install Android SDK Platform 24".
"Install Android SDK Platform 24" ready.
Finishing "Install Android SDK Platform 24"
Installing Android SDK Platform 24 in /home/travis/android-sdk/platforms/android-24
"Install Android SDK Platform 24" complete.
Preparing "Install Android Support Repository".
"Install Android Support Repository" ready.
Finishing "Install Android Support Repository"
Installing Android Support Repository in /home/travis/android-sdk/extras/android/m2repository
"Install Android Support Repository" complete.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':myapplication'.
> Could not resolve all dependencies for configuration ':myapplication:_debugApkCopy'.
> Could not find com.android.support:support-annotations:24.0.0.
Required by:
auto-value-playground:myapplication:unspecified