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

Getting error while building the client-app/android #4

Closed
chitranjan-gupta opened this issue Sep 6, 2023 · 1 comment
Closed

Getting error while building the client-app/android #4

chitranjan-gupta opened this issue Sep 6, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@chitranjan-gupta
Copy link
Owner

Getting error when running the command $ eas build --platform android both remotely and locally

/tmp/root/eas-build-local-nodejs/960cb3c1-341b-4ca2-8982-29f446946397/build/client-app/android/app/src/main/java/com/chitranjan/studentid/MainApplication.java:65: error: cannot find symbol
[RUN_GRADLEW] ReactFeatureFlags.unstable_useRuntimeSchedulerAlways = false;
[RUN_GRADLEW] ^
[RUN_GRADLEW] symbol: variable unstable_useRuntimeSchedulerAlways
[RUN_GRADLEW] location: class ReactFeatureFlags
[RUN_GRADLEW] /tmp/root/eas-build-local-nodejs/960cb3c1-341b-4ca2-8982-29f446946397/build/client-app/android/app/src/main/java/com/chitranjan/studentid/MainActivity.java:49: error: constructor DefaultReactActivityDelegate in class DefaultReactActivityDelegate cannot be applied to given types;
[RUN_GRADLEW] return new ReactActivityDelegateWrapper(this, BuildConfig.IS_NEW_ARCHITECTURE_ENABLED, new DefaultReactActivityDelegate(
[RUN_GRADLEW] ^
[RUN_GRADLEW] required: ReactActivity,String,boolean,boolean
[RUN_GRADLEW] found: MainActivity,String,boolean
[RUN_GRADLEW] reason: actual and formal argument lists differ in length
[RUN_GRADLEW] 2 errors

@chitranjan-gupta chitranjan-gupta added the bug Something isn't working label Sep 6, 2023
@chitranjan-gupta chitranjan-gupta self-assigned this Sep 6, 2023
chitranjan-gupta added a commit that referenced this issue Sep 6, 2023
@chitranjan-gupta
Copy link
Owner Author

Fixed with help of issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant