gerradical.blogg.se

Android studio download sources failed
Android studio download sources failed









android studio download sources failed

The benefit of this mapping is that we no longer use `minus` configurations, which we might wantįacing the same problem with Android Studio 3.3.1

android studio download sources failed

`TEST`= `testCompileClasspath + testRuntimeClasspath` The default mapping for the Java plugin is simplified to: those scopes are not postprocessed in any way the IdeaPlugin uses the same API for adding dependencies that the user would use users can put dependencies into the 4 IDEA scopes (`COMPILE`,`PROVIDED`,`RUNTIME`, `TEST`)

android studio download sources failed

no hardcoded mapping rules for the Java plugin The new implementation accepts IDEA's dependency model and does the simples possible mapping to it: In auto completion, it is hard to follow, as IDEA itself simply does not differentiate between While this slightly reduces the number of false positives Remove `testRuntime` dependencies from the `TEST` scope if they were already in the `RUNTIME` Mapping in an attempt to minimize the number of dependency declarations in IDEA, e.g. The old scope mapping code was hardcoded, hard to understand and exploded in complexityĮach time we added a new configuration to the Java plugin.

  • you can not found sources.jar in local cache dir(such as ~/.gradle/caches/modules-2/files-2.1/groupId/artId/version)Īndroid gradle plugin (:gradle) 2.3.1.
  • add a dependencies that has sources.jar in repository.
  • Create a project by Android Studio(2.3.2).
  • Current BehaviorĪndroid Studio can't auto download and attach the source code. Expected BehaviorĪndroid Studio can auto download and attach the source code. I try to find out why sources.jar can't be downloaded by debugging gradle.Īnd I found the plusConfigurations is empty when method getExternalDependencies in class. is executed, so the sources.jar will not be downloaded. Then the sources.jar have not been download,So I can't see java source for other library in Android Studio. When I update my gradle version from 3.3 to 3.5.











    Android studio download sources failed