Nativescript: Execution failed for task ':app:lintVitalRelease'. Could not resolve all artifacts for configuration ':app:debugAndroidTestRuntimeClasspath'. Could not find com.android.support:multidex-instrumentation:27.1.1. during android release build

Created on 4 Oct 2018  路  8Comments  路  Source: NativeScript/NativeScript

Task :app:bundleReleaseJsAndAssets

Scanning folders for symlinks in /Users/jayantitripathi/Documents/trickster_frontend/node_modules (21ms)
Scanning folders for symlinks in /Users/jayantitripathi/Documents/trickster_frontend/node_modules (19ms)
warning: the transform cache was reset.
Loading dependency graph, done.
bundle: Writing bundle output to: /Users/jayantitripathi/Documents/trickster_frontend/android/app/build/intermediates/assets/release/index.android.bundle
bundle: Done writing bundle output
bundle: Copying 4 asset files
bundle: Done copying assets

FAILURE: Build failed with an exception.

needs more info

All 8 comments

@SwapnilRathore please provide more details on what the error actually means and how it is happening. Please follow the requirements when posting a new issue including providing the needed information so that the issue can be investigated

Did you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo?

Tell us about the problem

Please, ensure your title is less than 63 characters long and starts with a capital
letter.

Which platform(s) does your issue occur on?

iOS/Android/Both

Please provide the following version numbers that your issue occurs with:

  • CLI: (run tns --version to fetch it)
  • Cross-platform modules: (check the 'version' attribute in the
    node_modules/tns-core-modules/package.json file in your project)
  • Runtime(s): (look for the "tns-android" and "tns-ios" properties in the
    package.json file of your project)
  • Plugin(s): (look for the version number in the package.json file of your
    project)

Please tell us how to recreate the issue in as much detail as possible.

The best approach would be to get your code running in the NativeScript Playground and share the link with us, along with any additional details or steps to reproduce needed for examining the issue there.

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

@NickIliev kindly have a look at the issue here please

https://github.com/SwapnilRathore/trickster_frontend/issues/1

@SwapnilRathore looking at your package.json content it seems that the issue is that you are using react-native instead of nativescript ...

Are you sure you got the right repository to log the issue?

yes i have the issue on this repo SwapnilRathore/trickster_frontend#1 and i am using react native .. i want to know the cause of the issue

My android repository is up to date .

If you can help me please on how i can fix it , any idea

try removing this line in app/build.gradle"

configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == 'com.android.support' && requested.name != 'multidex') {
details.useVersion "${rootProject.ext.supportLibVersion}"
}
}
}"

You are using react native navigation

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vtisnado picture vtisnado  路  3Comments

Leo-lay picture Leo-lay  路  3Comments

dhanalakshmitawwa picture dhanalakshmitawwa  路  3Comments

rLoka picture rLoka  路  3Comments

kn9ts picture kn9ts  路  3Comments