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
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
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
add a comment |
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
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
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
add a comment |
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
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
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
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
android reactjs react-native
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
add a comment |
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
add a comment |
0
active
oldest
votes
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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