* What went wrong:
Execution failed for task ':app:DownloadSources'.
> Could not resolve all files for configuration ':app:downloadSources_927fef28-7488-4483-9527-5596851d39e8'.
> Could not find com.google.android.exoplayer:exoplayer-core:2.16.1#aar.
Required by:
project :app
I am unable to download sources for any of the library, once I click on download sources, I get the above error.
(Note : None of the existing answers worked for me, either they are obsolete (or) had some other error.)
Related
I am trying to build sample app (apk) for alexa-auto-sdk. I am facing issues when building. the error i'm getting is.
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':alexa-auto-app:dataBindingMergeDependencyArtifactsLocalRelease'.
> Could not resolve all task dependencies for configuration ':alexa-auto-app:localReleaseRuntimeClasspath'.
> Could not find :autovoicechrome:.
Searched in the following locations:
- file:/home/chetan/Projects/Amazon_Alexa/alexa-auto-sdk/aacs/android/sample-app/alexa-auto-app/libs/autovoicechrome.aar
- file:/home/chetan/Projects/Amazon_Alexa/alexa-auto-sdk/aacs/android/app-components/alexa-auto-voice-ui/libs/autovoicechrome.aar
- file:/home/chetan/Projects/Amazon_Alexa/alexa-auto-sdk/aacs/android/app-components/alexa-auto-voice-interaction/libs/autovoicechrome.aar
Required by:
project :alexa-auto-app > project :alexa-auto-voice-ui
I cloned in version 4.0 as I was facing issues when building with 4.1.
This is the README.md for sample app
https://github.com/alexa/alexa-auto-sdk/blob/4.0/aacs/android/sample-app/README.md
Please help with any information that you might have related to this.
You should request this aar from Amazone support.
I have followed this guide to implement the GooglePAD plugin in UE 4.27, but I'm met with the following error when I try to package the project for the second time (first time generates the asset packs):
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:assetPackDebugPreBundleTask'.
> Could not resolve all task dependencies for configuration ':app:assetPackFiles'.
> Could not resolve project :assetpacks:on-demand:OnDemandPack.
Required by:
project :app
> Project :app declares a dependency from configuration 'assetPackFiles' to configuration 'packElements' which is not declared in the descriptor for project :assetpacks:on-demand:OnDemandPack.
I see that there is a similar question here, but their solution doesn't seem to apply to me since I'm certain my folders are properly named. This happens with all 3 of my on-demand packs. The build.gradle file inside the asset pack folders is exactly the same as the one included in the guide, though I have tried just writing the pack names as shown here to no avail.
What should I do to build successfully with this plugin?
I'm trying to create project to .apk file but got this error when I type - ./gradlew bundleRelease:
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:preReleaseBuild'.
> Could not resolve all task dependencies for configuration ':app:releaseRuntimeClasspath'.
> Could not resolve project :react-native-gesture-handler.
Required by:
project :app
> Unable to find a matching configuration of project :react-native-gesture-handler: None of the consumable configurations have attributes.
I know there are some questions like mine but none is exact the same. I'm sorry if there is already existing solution, but I didn't found.
You may not link the library react-native-gesture-handler
I've followed the setup guide for react-native android on Mac OS X. I have the emulator running. When I run react-native run-android I get the following:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugCompile'.
> Could not find any matches for com.android.support:appcompat-v7:23.0.+ as no versions of com.android.support:appcompat-v7 are available.
Searched in the following locations:
file:/Users/hugo/.m2/repository/com/android/support/appcompat-v7/maven-metadata.xml
file:/Users/hugo/.m2/repository/com/android/support/appcompat-v7/
https://jcenter.bintray.com/com/android/support/appcompat-v7/maven-metadata.xml
https://jcenter.bintray.com/com/android/support/appcompat-v7/
Required by:
fuckoff:app:unspecified
> Could not find com.android.support:appcompat-v7:22.2.0.
Searched in the following locations:
file:/Users/hugo/.m2/repository/com/android/support/appcompat-v7/22.2.0/appcompat-v7-22.2.0.pom
file:/Users/hugo/.m2/repository/com/android/support/appcompat-v7/22.2.0/appcompat-v7-22.2.0.jar
https://jcenter.bintray.com/com/android/support/appcompat-v7/22.2.0/appcompat-v7-22.2.0.pom
https://jcenter.bintray.com/com/android/support/appcompat-v7/22.2.0/appcompat-v7-22.2.0.jar
Required by:
fuckoff:app:unspecified > com.facebook.react:react-native:0.11.0
> Could not find com.android.support:support-v4:21.0.3.
Searched in the following locations:
file:/Users/hugo/.m2/repository/com/android/support/support-v4/21.0.3/support-v4-21.0.3.pom
file:/Users/hugo/.m2/repository/com/android/support/support-v4/21.0.3/support-v4-21.0.3.jar
https://jcenter.bintray.com/com/android/support/support-v4/21.0.3/support-v4-21.0.3.pom
https://jcenter.bintray.com/com/android/support/support-v4/21.0.3/support-v4-21.0.3.jar
Required by:
fuckoff:app:unspecified > com.facebook.react:react-native:0.11.0 > com.facebook.fresco:fresco:0.6.1 > com.facebook.fresco:drawee:0.6.1
fuckoff:app:unspecified > com.facebook.react:react-native:0.11.0 > com.facebook.fresco:fresco:0.6.1 > com.facebook.fresco:imagepipeline:0.6.1
I have all the necessary Android SDK packages installed including the build tools and the support repository. I'm noticing that it's looking for a directory in my home called .m2, which doesn't exist. I've never needed Maven to do android development. Do I need to install it to use react-native?
Just to be absolutely safe, I tried updating the android packages using android update sdk --no-ui.
Apparently the software I installed using android weren't the most up to date. Running the update fixed the issue.
I have the build script from this project here:
https://github.com/melix/gr8confagenda/blob/master/gr8confagenda/build.gradle
But when I try to run the project, I get this error:
* What went wrong:
A problem occurred configuring project ':gr8confagenda'.
> Could not resolve all dependencies for configuration ':gr8confagenda:_debugCompile'.
> Could not find com.android.support:support-v4:19.1.0.
Required by:
gr8confagenda:gr8confagenda:unspecified
Where I'm making the mistake?