{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/20248","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/20248/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/20248/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/20248/events","html_url":"https://github.com/facebook/react-native/issues/20248","id":341850538,"node_id":"MDU6SXNzdWUzNDE4NTA1Mzg=","number":20248,"title":"Failed to execute aapt. when upgraded from RN 0.53.3 to 0.56.0 -- Android","user":{"login":"stanshivam","id":34969256,"node_id":"MDQ6VXNlcjM0OTY5MjU2","avatar_url":"https://avatars3.githubusercontent.com/u/34969256?v=4","gravatar_id":"","url":"https://api.github.com/users/stanshivam","html_url":"https://github.com/stanshivam","followers_url":"https://api.github.com/users/stanshivam/followers","following_url":"https://api.github.com/users/stanshivam/following{/other_user}","gists_url":"https://api.github.com/users/stanshivam/gists{/gist_id}","starred_url":"https://api.github.com/users/stanshivam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stanshivam/subscriptions","organizations_url":"https://api.github.com/users/stanshivam/orgs","repos_url":"https://api.github.com/users/stanshivam/repos","events_url":"https://api.github.com/users/stanshivam/events{/privacy}","received_events_url":"https://api.github.com/users/stanshivam/received_events","type":"User","site_admin":false},"labels":[{"id":870851515,"node_id":"MDU6TGFiZWw4NzA4NTE1MTU=","url":"https://api.github.com/repos/facebook/react-native/labels/:large_blue_diamond:Android","name":":large_blue_diamond:Android","color":"bfd4f2","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-17T10:02:08Z","updated_at":"2018-07-18T15:34:04Z","closed_at":"2018-07-18T15:34:04Z","author_association":"NONE","body":"[x ] I have reviewed the documentation\r\n[ x] I have searched existing issues\r\n[x ] I am using the latest React Native version\r\n## Environment\r\n  React Native Environment Info:\r\n    System:\r\n      OS: Windows 10\r\n      CPU: x64 Intel(R) Core(TM) i3 CPU         530  @ 2.93GHz\r\n      Memory: 2.04 GB / 7.87 GB\r\n    Binaries:\r\n      Yarn: 1.3.2 - C:\\Program Files (x86)\\Yarn\\bin\\yarn.CMD\r\n      npm: 5.6.0 - C:\\Program Files\\nodejs\\npm.CMD\r\n    IDEs:\r\n      Android Studio: Version  2.2.0.0 AI-145.3276617\r\n\r\n\r\n## Description\r\nEvery thing was working fine in react-native `0.53.3`. As soon as I updated RN to `0.56.0` and ran `npm install` and `gradlew clean`.\r\n\r\nNow when I execute react-native run-android I get the following error\r\n\r\n```\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':react-native-facebook-login:processReleaseResources'.\r\n> com.android.ide.common.process.ProcessException: Failed to execute aapt\r\n```\r\n\r\n## Expected behaviour\r\nBuild Successfull\r\n\r\n## Actual Behavior\r\n\r\n```\r\n:react-native-facebook-login:processReleaseResources FAILED\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':react-native-facebook-login:processReleaseResources'.\r\n> com.android.ide.common.process.ProcessException: Failed to execute aapt\r\n\r\n* Try:\r\nRun with --info or --debug option to get more log output.\r\n\r\n* Exception is:\r\norg.gradle.api.tasks.TaskExecutionException: Execution failed for task ':react-native-facebook-login:processReleaseResources'.\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)\r\n        at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)\r\n        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:66)\r\n        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)\r\n        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)\r\n        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)\r\n        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)\r\n        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)\r\n        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)\r\n        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)\r\n        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)\r\n        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)\r\n        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)\r\n        at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)\r\n        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)\r\n        at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)\r\n        at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)\r\n        at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)\r\n        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)\r\n        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)\r\n        at org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:153)\r\n        at org.gradle.internal.Factories$1.create(Factories.java:22)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:53)\r\n        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:150)\r\n        at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)\r\n        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:98)\r\n        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:92)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:63)\r\n        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:92)\r\n        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)\r\n        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:99)\r\n        at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)\r\n        at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)\r\n        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:48)\r\n        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)\r\n        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:81)\r\n        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:46)\r\n        at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:52)\r\n        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)\r\n        at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)\r\n        at org.gradle.util.Swapper.swap(Swapper.java:38)\r\n        at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.health.DaemonHealthTracker.execute(DaemonHealthTracker.java:40)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)\r\n        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)\r\n        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.health.HintGCAfterBuild.execute(HintGCAfterBuild.java:41)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)\r\n        at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:237)\r\n        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)\r\n        at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)\r\nCaused by: java.lang.RuntimeException: com.android.ide.common.process.ProcessException: Failed to execute aapt\r\n        at com.android.build.gradle.tasks.ProcessAndroidResources.doFullTaskAction(ProcessAndroidResources.java:185)\r\n        at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.java:82)\r\n        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)\r\n        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:245)\r\n        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:221)\r\n        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:232)\r\n        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:210)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)\r\n        ... 68 more\r\nCaused by: com.android.ide.common.process.ProcessException: Failed to execute aapt\r\n        at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:873)\r\n        at com.android.build.gradle.tasks.ProcessAndroidResources.doFullTaskAction(ProcessAndroidResources.java:178)\r\n        ... 76 more\r\nCaused by: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: Error while executing 'C:\\Users\\Stan\\AppData\\Local\\Android\\Sdk\\build-tools\\23.0.1\\aapt.exe' with arguments {package -f --no-crunch -I C:\\Users\\Stan\\AppData\\Local\\Android\\Sdk\\platforms\\android-23\\android.jar -M E:\\projects\\deets-mobile-sp\\node_modules\\react-native-facebook-login\\android\\build\\intermediates\\manifests\\aapt\\release\\AndroidManifest.xml -S E:\\projects\\deets-mobile-sp\\node_modules\\react-native-facebook-login\\android\\build\\intermediates\\res\\merged\\release -m -J E:\\projects\\deets-mobile-sp\\node_modules\\react-native-facebook-login\\android\\build\\generated\\source\\r\\release --custom-package com.magus.fblogin --non-constant-id -0 apk --output-text-symbols E:\\projects\\deets-mobile-sp\\node_modules\\react-native-facebook-login\\android\\build\\intermediates\\bundles\\release --no-version-vectors}\r\n        at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:299)\r\n        at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:286)\r\n        at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116)\r\n        at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:871)\r\n        ... 77 more\r\nCaused by: com.android.ide.common.process.ProcessException: Error while executing 'C:\\Users\\Stan\\AppData\\Local\\Android\\Sdk\\build-tools\\23.0.1\\aapt.exe' with arguments {package -f --no-crunch -I C:\\Users\\Stan\\AppData\\Local\\Android\\Sdk\\platforms\\android-23\\android.jar -M E:\\projects\\deets-mobile-sp\\node_modules\\react-native-facebook-login\\android\\build\\intermediates\\manifests\\aapt\\release\\AndroidManifest.xml -S E:\\projects\\deets-mobile-sp\\node_modules\\react-native-facebook-login\\android\\build\\intermediates\\res\\merged\\release -m -J E:\\projects\\deets-mobile-sp\\node_modules\\react-native-facebook-login\\android\\build\\generated\\source\\r\\release --custom-package com.magus.fblogin --non-constant-id -0 apk --output-text-symbols E:\\projects\\deets-mobile-sp\\node_modules\\react-native-facebook-login\\android\\build\\intermediates\\bundles\\release --no-version-vectors}\r\n        at com.android.build.gradle.internal.process.GradleProcessResult.buildProcessException(GradleProcessResult.java:75)\r\n        at com.android.build.gradle.internal.process.GradleProcessResult.assertNormalExitValue(GradleProcessResult.java:49)\r\n        at com.android.builder.internal.aapt.AbstractProcessExecutionAapt$1.onSuccess(AbstractProcessExecutionAapt.java:78)\r\n        at com.android.builder.internal.aapt.AbstractProcessExecutionAapt$1.onSuccess(AbstractProcessExecutionAapt.java:74)\r\n        at com.google.common.util.concurrent.Futures$6.run(Futures.java:1319)\r\n        at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)\r\n        at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)\r\n        at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:145)\r\n        at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:185)\r\n        at com.google.common.util.concurrent.SettableFuture.set(SettableFuture.java:53)\r\n        at com.android.build.gradle.internal.process.GradleProcessExecutor$1.run(GradleProcessExecutor.java:60)\r\nCaused by: org.gradle.process.internal.ExecException: Process 'command 'C:\\Users\\Stan\\AppData\\Local\\Android\\Sdk\\build-tools\\23.0.1\\aapt.exe'' finished with non-zero exit value 1\r\n        at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:367)\r\n        at com.android.build.gradle.internal.process.GradleProcessResult.assertNormalExitValue(GradleProcessResult.java:47)\r\n        ... 9 more\r\n\r\n\r\nBUILD FAILED\r\n\r\nTotal time: 25.365 secs\r\n```\r\n"}}
{"actor":{"display_login":"radko93"}}