Giter VIP home page Giter VIP logo

Comments (8)

HarishJangra avatar HarishJangra commented on May 30, 2024

Please provide complete stack trace / error details are missing

from react-native-easy-starter.

anhdo9797 avatar anhdo9797 commented on May 30, 2024

Please provide complete stack trace / error details are missing

Configure project :app
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported

WARNING: API 'variantOutput.getPackageApplication()' is obsolete and has been replaced with 'variant.getPackageApplicationProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variantOutput.getPackageApplication(), use -Pandroid.debug.obsoleteApi=true on the command line to display
more information.

Configure project :react-native-code-push
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported

Configure project :react-native-community_art
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported

Configure project :react-native-community_async-storage
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported

Configure project :react-native-community_datetimepicker
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported

Configure project :react-native-community_geolocation
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported

Configure project :react-native-community_masked-view
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported

Configure project :react-native-community_netinfo
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported

Configure project :react-native-firebase_app
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported

:react-native-firebase_app:firebase.bom using default value: 24.1.0
:react-native-firebase_app package.json found at E:\ReactNative\xe-ke\node_modules@react-native-firebase\app\package.json
:react-native-firebase_app:version set from package.json: 6.3.4 (6,3,4 - 6003004)
:react-native-firebase_app:android.compileSdk using custom value: 28
:react-native-firebase_app:android.targetSdk using custom value: 28
:react-native-firebase_app:android.minSdk using custom value: 16
:react-native-firebase_app:reactNativeAndroidDir E:\ReactNative\xe-ke\node_modules\react-native\android

Configure project :react-native-firebase_auth
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported

:react-native-firebase_auth:firebase.bom using default value: 24.1.0
:react-native-firebase_auth package.json found at E:\ReactNative\xe-ke\node_modules@react-native-firebase\auth\package.json
:react-native-firebase_auth:version set from package.json: 6.3.4 (6,3,4 - 6003004)
:react-native-firebase_auth:android.compileSdk using custom value: 28
:react-native-firebase_auth:android.targetSdk using custom value: 28
:react-native-firebase_auth:android.minSdk using custom value: 16
:react-native-firebase_auth:reactNativeAndroidDir E:\ReactNative\xe-ke\node_modules\react-native\android

Configure project :react-native-firebase_database
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported

:react-native-firebase_database:firebase.bom using default value: 24.1.0
:react-native-firebase_database package.json found at E:\ReactNative\xe-ke\node_modules@react-native-firebase\database\package.json
:react-native-firebase_database:version set from package.json: 6.3.4 (6,3,4 - 6003004)
:react-native-firebase_database:android.compileSdk using custom value: 28
:react-native-firebase_database:android.targetSdk using custom value: 28
:react-native-firebase_database:android.minSdk using custom value: 16
:react-native-firebase_database:reactNativeAndroidDir E:\ReactNative\xe-ke\node_modules\react-native\android

Configure project :react-native-firebase_firestore
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported

:react-native-firebase_firestore:firebase.bom using default value: 24.1.0
:react-native-firebase_firestore package.json found at E:\ReactNative\xe-ke\node_modules@react-native-firebase\firestore\package.json
:react-native-firebase_firestore:version set from package.json: 6.3.4 (6,3,4 - 6003004)
:react-native-firebase_firestore:android.compileSdk using custom value: 28
:react-native-firebase_firestore:android.targetSdk using custom value: 28
:react-native-firebase_firestore:android.minSdk using custom value: 16
:react-native-firebase_firestore:reactNativeAndroidDir E:\ReactNative\xe-ke\node_modules\react-native\android

Configure project :react-native-geolocation-service
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported

Configure project :react-native-gesture-handler
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported

Configure project :react-native-image-crop-picker
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported

Configure project :react-native-image-picker
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported

Configure project :react-native-keychain
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported

Configure project :react-native-maps
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported

Configure project :react-native-permissions
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported

Configure project :react-native-reanimated
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported

Configure project :react-native-safe-area-context
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported

Configure project :react-native-screens
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported

Configure project :react-native-vector-icons
WARNING: The following project options are deprecated and have been removed:
android.useDeprecatedNdk
NdkCompile is no longer supported

Task :react-native-community_async-storage:compileReleaseJavaWithJavac
Note: E:\ReactNative\xe-ke\node_modules@react-native-community\async-storage\android\src\main\java\com\reactnativecommunity\asyncstorage\AsyncStorageModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Task :react-native-community_art:compileReleaseJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Task :react-native-community_datetimepicker:compileReleaseJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Task :react-native-code-push:compileReleaseJavaWithJavac
Note: E:\ReactNative\xe-ke\node_modules\react-native-code-push\android\app\src\main\java\com\microsoft\codepush\react\CodePushNativeModule.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Task :react-native-geolocation-service:compileReleaseJavaWithJavac
Note: E:\ReactNative\xe-ke\node_modules\react-native-geolocation-service\android\src\main\java\com\agontuk\RNFusedLocation\LocationUtils.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Task :react-native-gesture-handler:compileReleaseJavaWithJavac
Note: E:\ReactNative\xe-ke\node_modules\react-native-gesture-handler\android\src\main\java\com\swmansion\gesturehandler\react\RNGestureHandlerButtonViewManager.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Task :react-native-firebase_database:compileReleaseJavaWithJavac
Note: E:\ReactNative\xe-ke\node_modules@react-native-firebase\database\android\src\reactnative\java\io\invertase\firebase\database\ReactNativeFirebaseDatabaseCommon.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Task :react-native-firebase_firestore:compileReleaseJavaWithJavac
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Task :react-native-image-crop-picker:compileReleaseJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Task :react-native-keychain:compileReleaseJavaWithJavac
Note: E:\ReactNative\xe-ke\node_modules\react-native-keychain\android\src\main\java\com\oblador\keychain\DeviceAvailability.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Task :react-native-maps:compileReleaseJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Task :react-native-reanimated:compileReleaseJavaWithJavac
Note: E:\ReactNative\xe-ke\node_modules\react-native-reanimated\android\src\main\java\com\swmansion\reanimated\NodesManager.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: E:\ReactNative\xe-ke\node_modules\react-native-reanimated\android\src\main\java\com\swmansion\reanimated\NodesManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Task :react-native-screens:compileReleaseJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Task :app:bundleReleaseJsAndAssets
warn Package npx react-native run-android --reset-cache has been ignored because it contains invalid configuration. Reason: Cannot find module 'npx react-native run-android --reset-cache\package.json'
warning: the transform cache was reset.
Welcome to React Native!
Learn once, write anywhere

09:49:32 E/DeviceMonitor: Adb connection Error:An existing connection was forcibly closed by the remote host
09:49:32 D/DeviceMonitor: Opening adb connection
09:49:33 E/DeviceMonitor: Unable to open connection to: localhost/127.0.0.1:5037, due to: java.net.ConnectException: Connection refused: connect
09:49:33 E/DeviceMonitor: Connection attempts: 1

FAILURE: Build failed with an exception.

  • What went wrong:
    Gradle build daemon has been stopped: stop command received

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org
    error Command failed with exit code 1.
    info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

please help

from react-native-easy-starter.

anhdo9797 avatar anhdo9797 commented on May 30, 2024

when i run CMD: ./gradlew assembleRelease --stacktrace then

Task :app:compileReleaseJavaWithJavac
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:10: error: package com.facebook.flipper.android does not exist
import com.facebook.flipper.android.AndroidFlipperClient;
^
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:11: error: package com.facebook.flipper.android.utils does not exist
import com.facebook.flipper.android.utils.FlipperUtils;
^
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:12: error: package com.facebook.flipper.core does not exist
import com.facebook.flipper.core.FlipperClient;
^
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:13: error: package com.facebook.flipper.plugins.crashreporter does not exist
import com.facebook.flipper.plugins.crashreporter.CrashReporterPlugin;
^
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:14: error: package com.facebook.flipper.plugins.databases does not exist
import com.facebook.flipper.plugins.databases.DatabasesFlipperPlugin;
^
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:15: error: package com.facebook.flipper.plugins.fresco does not exist
import com.facebook.flipper.plugins.fresco.FrescoFlipperPlugin;
^
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:16: error: package com.facebook.flipper.plugins.inspector does not exist
import com.facebook.flipper.plugins.inspector.DescriptorMapping;
^
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:17: error: package com.facebook.flipper.plugins.inspector does not exist
import com.facebook.flipper.plugins.inspector.InspectorFlipperPlugin;
^
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:18: error: package com.facebook.flipper.plugins.network
does not exist
import com.facebook.flipper.plugins.network.FlipperOkhttpInterceptor;
^
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:19: error: package com.facebook.flipper.plugins.network
does not exist
import com.facebook.flipper.plugins.network.NetworkFlipperPlugin;
^
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:20: error: package com.facebook.flipper.plugins.react does not exist
import com.facebook.flipper.plugins.react.ReactFlipperPlugin;
^
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:21: error: package com.facebook.flipper.plugins.sharedpreferences does not exist
import com.facebook.flipper.plugins.sharedpreferences.SharedPreferencesFlipperPlugin;
^
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:29: error: cannot find symbol
if (FlipperUtils.shouldEnableFlipper(context)) {
^
symbol: variable FlipperUtils
location: class ReactNativeFlipper
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:30: error: cannot find symbol
final FlipperClient client = AndroidFlipperClient.getInstance(context);
^
symbol: class FlipperClient
location: class ReactNativeFlipper
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:30: error: cannot find symbol
final FlipperClient client = AndroidFlipperClient.getInstance(context);
^
symbol: variable AndroidFlipperClient
location: class ReactNativeFlipper
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:32: error: cannot find symbol
client.addPlugin(new InspectorFlipperPlugin(context, DescriptorMapping.withDefaults()));
^
symbol: class InspectorFlipperPlugin
location: class ReactNativeFlipper
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:32: error: cannot find symbol
client.addPlugin(new InspectorFlipperPlugin(context, DescriptorMapping.withDefaults()));
^
symbol: variable DescriptorMapping
location: class ReactNativeFlipper
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:33: error: cannot find symbol
client.addPlugin(new ReactFlipperPlugin());
^
symbol: class ReactFlipperPlugin
location: class ReactNativeFlipper
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:34: error: cannot find symbol
client.addPlugin(new DatabasesFlipperPlugin(context));
^
symbol: class DatabasesFlipperPlugin
location: class ReactNativeFlipper
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:35: error: cannot find symbol
client.addPlugin(new SharedPreferencesFlipperPlugin(context));
^
symbol: class SharedPreferencesFlipperPlugin
location: class ReactNativeFlipper
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:36: error: cannot find symbol
client.addPlugin(CrashReporterPlugin.getInstance());
^
symbol: variable CrashReporterPlugin
location: class ReactNativeFlipper
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:38: error: cannot find symbol
NetworkFlipperPlugin networkFlipperPlugin = new NetworkFlipperPlugin();
^
symbol: class NetworkFlipperPlugin
location: class ReactNativeFlipper
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:38: error: cannot find symbol
NetworkFlipperPlugin networkFlipperPlugin = new NetworkFlipperPlugin();
^
symbol: class NetworkFlipperPlugin
location: class ReactNativeFlipper
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:43: error: cannot find symbol
builder.addNetworkInterceptor(new FlipperOkhttpInterceptor(networkFlipperPlugin));
^
symbol: class FlipperOkhttpInterceptor
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:62: error: cannot find symbol
client.addPlugin(new FrescoFlipperPlugin());
^
symbol: class FrescoFlipperPlugin
E:\ReactNative\xe-ke\android\app\src\main\java\com\xeke\ReactNativeFlipper.java:68: error: cannot find symbol
client.addPlugin(new FrescoFlipperPlugin());
^
symbol: class FrescoFlipperPlugin
location: class ReactNativeFlipper
26 errors

Task :app:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:compileReleaseJavaWithJavac'.

Compilation failed; see the compiler error output for details.

  • Try:
    Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Exception is:
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileReleaseJavaWithJavac'.
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:187)
    at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:263)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:185)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:166)
    at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:109)
    at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
    at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:62)
    at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
    at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
    at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
    at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
    at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:41)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:374)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:361)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:354)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:340)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
    at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
    at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
    Caused by: org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details.
    at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:56)
    at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:39)
    at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:100)
    at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:52)
    at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:38)
    at org.gradle.api.internal.tasks.compile.AnnotationProcessorDiscoveringCompiler.execute(AnnotationProcessorDiscoveringCompiler.java:51)
    at org.gradle.api.internal.tasks.compile.AnnotationProcessorDiscoveringCompiler.execute(AnnotationProcessorDiscoveringCompiler.java:37)
    at org.gradle.api.internal.tasks.compile.CleaningJavaCompiler.execute(CleaningJavaCompiler.java:53)
    at org.gradle.api.internal.tasks.compile.incremental.IncrementalCompilerFactory.lambda$createRebuildAllCompiler$0(IncrementalCompilerFactory.java:98)
    at org.gradle.api.internal.tasks.compile.incremental.IncrementalResultStoringCompiler.execute(IncrementalResultStoringCompiler.java:60)
    at org.gradle.api.internal.tasks.compile.incremental.IncrementalResultStoringCompiler.execute(IncrementalResultStoringCompiler.java:44)
    at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler$2.call(CompileJavaBuildOperationReportingCompiler.java:59)
    at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler$2.call(CompileJavaBuildOperationReportingCompiler.java:51)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
    at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
    at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler.execute(CompileJavaBuildOperationReportingCompiler.java:51)
    at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:208)
    at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:179)
    at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:146)
    at com.android.build.gradle.tasks.AndroidJavaCompile.compile(AndroidJavaCompile.kt:237)
    at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
    at org.gradle.api.internal.project.taskfactory.BridgingIncrementalInputsTaskAction.doExecute(BridgingIncrementalInputsTaskAction.java:39)
    at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:42)
    at org.gradle.api.internal.project.taskfactory.AbstractIncrementalTaskAction.execute(AbstractIncrementalTaskAction.java:25)
    at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:28)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$3.run(ExecuteActionsTaskExecuter.java:539)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:402)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:394)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:92)
    at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:524)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:507)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.access$300(ExecuteActionsTaskExecuter.java:109)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.executeWithPreviousOutputFiles(ExecuteActionsTaskExecuter.java:258)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.execute(ExecuteActionsTaskExecuter.java:247) at org.gradle.internal.execution.steps.ExecuteStep.lambda$execute$0(ExecuteStep.java:32)
    at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:32)
    at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:26)
    at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:63)
    at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:35)
    at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:49)
    at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:34)
    at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:43)
    at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:73)
    at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:54)
    at org.gradle.internal.execution.steps.CatchExceptionStep.execute(CatchExceptionStep.java:34)
    at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:44)
    at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:54)
    at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:38)
    at org.gradle.internal.execution.steps.CacheStep.executeWithoutCache(CacheStep.java:153)
    at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:67)
    at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:41)
    at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:49)
    at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:44)
    at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:33)
    at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:38)
    at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:24)
    at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:92)
    at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$0(SkipUpToDateStep.java:85)
    at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:55)
    at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:39)
    at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:76)
    at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:37)
    at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:36)
    at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:26)
    at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:94)
    at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:49)
    at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:79)
    at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:53)
    at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:74)
    at org.gradle.internal.execution.steps.SkipEmptyWorkStep.lambda$execute$2(SkipEmptyWorkStep.java:78)
    at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:78)
    at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:34)
    at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:39)
    at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:40)
    at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:28)
    at org.gradle.internal.execution.impl.DefaultWorkExecutor.execute(DefaultWorkExecutor.java:33)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:174)
    ... 30 more

  • Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings

from react-native-easy-starter.

HarishJangra avatar HarishJangra commented on May 30, 2024

There is something.. you need to remove reactnativeflipper.java in production build. Or move that to debug folder.

from react-native-easy-starter.

HarishJangra avatar HarishJangra commented on May 30, 2024

I will push an update soon. Its my mistake.

from react-native-easy-starter.

anhdo9797 avatar anhdo9797 commented on May 30, 2024

There is something.. you need to remove reactnativeflipper.java in production build. Or move that to debug folder.

Thank u, I built Succeful but I check at E:\ReactNative\xe-ke\android\app\build\outputs\apk\release then I
was unable to find file apk.

image

from react-native-easy-starter.

anhdo9797 avatar anhdo9797 commented on May 30, 2024

I used yarn clean:build

from react-native-easy-starter.

HarishJangra avatar HarishJangra commented on May 30, 2024

it will place the apk in custom location i.e android/release

from react-native-easy-starter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.