You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi i am trying to run a project on android smartphone using command expo run:android --variant release but getting error help me solve this please.
My log:
Task :app:processReleaseManifestForPackage
Execution optimizations have been disabled for task ':app:processReleaseManifestForPackage' to ensure correctness due to the following reasons:
Gradle detected a problem with the following location: 'C:\src\projects\netflix\android\app\build\intermediates\merged_manifests\release'. Reason: Task ':app:processReleaseManifestForPackage' uses this output of task ':expo-updates:copyReleaseExpoManifest' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.5.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
Task :app:compileReleaseJavaWithJavac FAILED
C:\src\projects\netflix\android\app\src\main\java\com\reasky\netflixclone\MainActivity.java:19: error: package R does not exist
setTheme(R.style.AppTheme);
^
C:\src\projects\netflix\android\app\src\main\java\com\reasky\netflixclone\MainActivity.java:39: error: cannot find symbol
return new ReactActivityDelegateWrapper(this, BuildConfig.IS_NEW_ARCHITECTURE_ENABLED, new DefaultReactActivityDelegate(
^
symbol: variable BuildConfig
location: class MainActivity
C:\src\projects\netflix\android\app\src\main\java\com\reasky\netflixclone\MainApplication.java:26: error: cannot find symbol
return BuildConfig.DEBUG;
^
symbol: variable BuildConfig
C:\src\projects\netflix\android\app\src\main\java\com\reasky\netflixclone\MainApplication.java:45: error: cannot find symbol
return BuildConfig.IS_NEW_ARCHITECTURE_ENABLED;
^
symbol: variable BuildConfig
C:\src\projects\netflix\android\app\src\main\java\com\reasky\netflixclone\MainApplication.java:50: error: cannot find symbol
return BuildConfig.IS_HERMES_ENABLED;
^
symbol: variable BuildConfig
C:\src\projects\netflix\android\app\src\main\java\com\reasky\netflixclone\MainApplication.java:63: error: cannot find symbol
if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
^
symbol: variable BuildConfig
location: class MainApplication
C:\src\projects\netflix\android\app\src\main\java\com\reasky\netflixclone\MainApplication.java:63: error: illegal parenthesized expression
if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
^
C:\src\projects\netflix\android\app\src\main\java\com\reasky\netflixclone\MainApplication.java:67: error: cannot find symbol
ReactNativeFlipper.initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
^
symbol: variable ReactNativeFlipper
location: class MainApplication
8 errors
FAILURE: Build completed with 2 failures.
1: Task 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 --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.
==============================================================================
2: Task failed with an exception.
What went wrong:
java.lang.StackOverflowError (no error message)
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.
==============================================================================
Hi i am trying to run a project on android smartphone using command expo run:android --variant release but getting error help me solve this please.
My log:
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
Execution failed for task ':app:compileReleaseJavaWithJavac'.
2: Task failed with an exception.
What went wrong:
java.lang.StackOverflowError (no error message)
Try:
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
The text was updated successfully, but these errors were encountered: