Execution failed for task ':app:transformClassesWithJarMergingForDebug' in react native The Next CEO of Stack OverflowReact Native Execution failed for task ':app:transformClassesWithJarMergingForDebug'Loop inside React JSXWhat is the difference between using constructor vs getInitialState in React / React Native?Programmatically navigate using react routerExclude abi from apkAndroid multi flavor library module used into application moduleWhat is the difference between React Native and React?React-Native + Android, only build for armeabi architectureFully shadowed APK on Play developer console because of overlapping abiserror occurs when upgrade gradle 2.x to 3.x(rn v0.56)React native splited APK files not installing

Do I need to write [sic] when including a quotation with a number less than 10 that isn't written out?

Early programmable calculators with RS-232

How exploitable/balanced is this homebrew spell: Spell Permanency?

Direct Implications Between USA and UK in Event of No-Deal Brexit

Oldie but Goldie

Why did the Drakh emissary look so blurred in S04:E11 "Lines of Communication"?

Could you use a laser beam as a modulated carrier wave for radio signal?

Small nick on power cord from an electric alarm clock, and copper wiring exposed but intact

How seriously should I take size and weight limits of hand luggage?

How can I prove that a state of equilibrium is unstable?

Is the 21st century's idea of "freedom of speech" based on precedent?

What happens if you break a law in another country outside of that country?

Can you teleport closer to a creature you are Frightened of?

Planeswalker Ability and Death Timing

How to show a landlord what we have in savings?

Does Germany produce more waste than the US?

Creating a script with console commands

Read/write a pipe-delimited file line by line with some simple text manipulation

Gauss' Posthumous Publications?

Why can't we say "I have been having a dog"?

Does the Idaho Potato Commission associate potato skins with healthy eating?

Incomplete cube

Find a path from s to t using as few red nodes as possible

Was the Stack Exchange "Happy April Fools" page fitting with the 90s code?



Execution failed for task ':app:transformClassesWithJarMergingForDebug' in react native



The Next CEO of Stack OverflowReact Native Execution failed for task ':app:transformClassesWithJarMergingForDebug'Loop inside React JSXWhat is the difference between using constructor vs getInitialState in React / React Native?Programmatically navigate using react routerExclude abi from apkAndroid multi flavor library module used into application moduleWhat is the difference between React Native and React?React-Native + Android, only build for armeabi architectureFully shadowed APK on Play developer console because of overlapping abiserror occurs when upgrade gradle 2.x to 3.x(rn v0.56)React native splited APK files not installing










-1















I have read the similar posts of people with the same issue, but I can not determine a fix in my case. I have cleaned my project many times. Here is the error I am getting and I'm not sure what else I should try? I'm getting a warning about an NKD platform, but I am not sure that currently.



What Should I do? plz give solution.



also tried this solution but not worked



This is error screen



Error screen



here is appbuild.gradle



def enableSeparateBuildPerCPUArchitecture = false
def enableProguardInReleaseBuilds = false

android
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion

defaultConfig
applicationId "com.shopcon"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 20
versionName "2.0.3"
multiDexEnabled true
ndk
abiFilters "armeabi-v7a", "x86"


splits
abi
.......


signingConfigs
release
........


buildTypes
release
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
signingConfig signingConfigs.release


// applicationVariants are e.g. debug, release
applicationVariants.all variant ->
variant.outputs.each output ->
// For each separate APK per architecture, set a unique version code as described here:
// http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
def versionCodes = ["armeabi-v7a":1, "x86":2]
def abi = output.getFilter(OutputFile.ABI)
if (abi != null) // null for the universal-debug, universal-release variants
output.versionCodeOverride =
versionCodes.get(abi) * 1048576 + defaultConfig.versionCode





dependencies
compile project(':react-native-image-resizer')
compile project(':react-native-share')
compile project(':react-native-onesignal')
compile project(':react-native-image-picker')
compile project(':react-native-vector-icons')
compile project(':react-native-fbsdk')
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:$rootProject.ext.supportLibVersion"
compile "com.facebook.react:react-native:+" // From node_modules
compile 'com.facebook.android:facebook-android-sdk:[4,5)'
compile 'com.facebook.fresco:fresco:1.3.0'




task copyDownloadableDepsToLibs(type: Copy)
........


// apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'









share|improve this question
























  • I guess it's happening coz you added fb-sdk-android and react-native-fbsdk. If you have done react native fbsdk linking properly then you don't need fb-android-sdk as it is already included in react native one.

    – Sanyam Jain
    Mar 8 at 20:14












  • @SanyamJain I tried it but it gives same error.

    – mayuresh patil
    Mar 9 at 4:32















-1















I have read the similar posts of people with the same issue, but I can not determine a fix in my case. I have cleaned my project many times. Here is the error I am getting and I'm not sure what else I should try? I'm getting a warning about an NKD platform, but I am not sure that currently.



What Should I do? plz give solution.



also tried this solution but not worked



This is error screen



Error screen



here is appbuild.gradle



def enableSeparateBuildPerCPUArchitecture = false
def enableProguardInReleaseBuilds = false

android
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion

defaultConfig
applicationId "com.shopcon"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 20
versionName "2.0.3"
multiDexEnabled true
ndk
abiFilters "armeabi-v7a", "x86"


splits
abi
.......


signingConfigs
release
........


buildTypes
release
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
signingConfig signingConfigs.release


// applicationVariants are e.g. debug, release
applicationVariants.all variant ->
variant.outputs.each output ->
// For each separate APK per architecture, set a unique version code as described here:
// http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
def versionCodes = ["armeabi-v7a":1, "x86":2]
def abi = output.getFilter(OutputFile.ABI)
if (abi != null) // null for the universal-debug, universal-release variants
output.versionCodeOverride =
versionCodes.get(abi) * 1048576 + defaultConfig.versionCode





dependencies
compile project(':react-native-image-resizer')
compile project(':react-native-share')
compile project(':react-native-onesignal')
compile project(':react-native-image-picker')
compile project(':react-native-vector-icons')
compile project(':react-native-fbsdk')
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:$rootProject.ext.supportLibVersion"
compile "com.facebook.react:react-native:+" // From node_modules
compile 'com.facebook.android:facebook-android-sdk:[4,5)'
compile 'com.facebook.fresco:fresco:1.3.0'




task copyDownloadableDepsToLibs(type: Copy)
........


// apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'









share|improve this question
























  • I guess it's happening coz you added fb-sdk-android and react-native-fbsdk. If you have done react native fbsdk linking properly then you don't need fb-android-sdk as it is already included in react native one.

    – Sanyam Jain
    Mar 8 at 20:14












  • @SanyamJain I tried it but it gives same error.

    – mayuresh patil
    Mar 9 at 4:32













-1












-1








-1


0






I have read the similar posts of people with the same issue, but I can not determine a fix in my case. I have cleaned my project many times. Here is the error I am getting and I'm not sure what else I should try? I'm getting a warning about an NKD platform, but I am not sure that currently.



What Should I do? plz give solution.



also tried this solution but not worked



This is error screen



Error screen



here is appbuild.gradle



def enableSeparateBuildPerCPUArchitecture = false
def enableProguardInReleaseBuilds = false

android
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion

defaultConfig
applicationId "com.shopcon"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 20
versionName "2.0.3"
multiDexEnabled true
ndk
abiFilters "armeabi-v7a", "x86"


splits
abi
.......


signingConfigs
release
........


buildTypes
release
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
signingConfig signingConfigs.release


// applicationVariants are e.g. debug, release
applicationVariants.all variant ->
variant.outputs.each output ->
// For each separate APK per architecture, set a unique version code as described here:
// http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
def versionCodes = ["armeabi-v7a":1, "x86":2]
def abi = output.getFilter(OutputFile.ABI)
if (abi != null) // null for the universal-debug, universal-release variants
output.versionCodeOverride =
versionCodes.get(abi) * 1048576 + defaultConfig.versionCode





dependencies
compile project(':react-native-image-resizer')
compile project(':react-native-share')
compile project(':react-native-onesignal')
compile project(':react-native-image-picker')
compile project(':react-native-vector-icons')
compile project(':react-native-fbsdk')
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:$rootProject.ext.supportLibVersion"
compile "com.facebook.react:react-native:+" // From node_modules
compile 'com.facebook.android:facebook-android-sdk:[4,5)'
compile 'com.facebook.fresco:fresco:1.3.0'




task copyDownloadableDepsToLibs(type: Copy)
........


// apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'









share|improve this question
















I have read the similar posts of people with the same issue, but I can not determine a fix in my case. I have cleaned my project many times. Here is the error I am getting and I'm not sure what else I should try? I'm getting a warning about an NKD platform, but I am not sure that currently.



What Should I do? plz give solution.



also tried this solution but not worked



This is error screen



Error screen



here is appbuild.gradle



def enableSeparateBuildPerCPUArchitecture = false
def enableProguardInReleaseBuilds = false

android
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion

defaultConfig
applicationId "com.shopcon"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 20
versionName "2.0.3"
multiDexEnabled true
ndk
abiFilters "armeabi-v7a", "x86"


splits
abi
.......


signingConfigs
release
........


buildTypes
release
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
signingConfig signingConfigs.release


// applicationVariants are e.g. debug, release
applicationVariants.all variant ->
variant.outputs.each output ->
// For each separate APK per architecture, set a unique version code as described here:
// http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
def versionCodes = ["armeabi-v7a":1, "x86":2]
def abi = output.getFilter(OutputFile.ABI)
if (abi != null) // null for the universal-debug, universal-release variants
output.versionCodeOverride =
versionCodes.get(abi) * 1048576 + defaultConfig.versionCode





dependencies
compile project(':react-native-image-resizer')
compile project(':react-native-share')
compile project(':react-native-onesignal')
compile project(':react-native-image-picker')
compile project(':react-native-vector-icons')
compile project(':react-native-fbsdk')
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:$rootProject.ext.supportLibVersion"
compile "com.facebook.react:react-native:+" // From node_modules
compile 'com.facebook.android:facebook-android-sdk:[4,5)'
compile 'com.facebook.fresco:fresco:1.3.0'




task copyDownloadableDepsToLibs(type: Copy)
........


// apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'






android reactjs react-native






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 9 at 17:45









Andrew

6,65741528




6,65741528










asked Mar 8 at 19:33









mayuresh patilmayuresh patil

4041323




4041323












  • I guess it's happening coz you added fb-sdk-android and react-native-fbsdk. If you have done react native fbsdk linking properly then you don't need fb-android-sdk as it is already included in react native one.

    – Sanyam Jain
    Mar 8 at 20:14












  • @SanyamJain I tried it but it gives same error.

    – mayuresh patil
    Mar 9 at 4:32

















  • I guess it's happening coz you added fb-sdk-android and react-native-fbsdk. If you have done react native fbsdk linking properly then you don't need fb-android-sdk as it is already included in react native one.

    – Sanyam Jain
    Mar 8 at 20:14












  • @SanyamJain I tried it but it gives same error.

    – mayuresh patil
    Mar 9 at 4:32
















I guess it's happening coz you added fb-sdk-android and react-native-fbsdk. If you have done react native fbsdk linking properly then you don't need fb-android-sdk as it is already included in react native one.

– Sanyam Jain
Mar 8 at 20:14






I guess it's happening coz you added fb-sdk-android and react-native-fbsdk. If you have done react native fbsdk linking properly then you don't need fb-android-sdk as it is already included in react native one.

– Sanyam Jain
Mar 8 at 20:14














@SanyamJain I tried it but it gives same error.

– mayuresh patil
Mar 9 at 4:32





@SanyamJain I tried it but it gives same error.

– mayuresh patil
Mar 9 at 4:32












0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55069848%2fexecution-failed-for-task-apptransformclasseswithjarmergingfordebug-in-react%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55069848%2fexecution-failed-for-task-apptransformclasseswithjarmergingfordebug-in-react%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived

Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme