Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on expo run:android --variant release #58

Open
ReaskyDev opened this issue Jul 13, 2023 · 0 comments
Open

Error on expo run:android --variant release #58

ReaskyDev opened this issue Jul 13, 2023 · 0 comments

Comments

@ReaskyDev
Copy link

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.
==============================================================================

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant