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

Not able to run the app. #376

Open
3 tasks done
Sumit45doc opened this issue Aug 7, 2024 · 4 comments
Open
3 tasks done

Not able to run the app. #376

Sumit45doc opened this issue Aug 7, 2024 · 4 comments
Labels
bug Something isn't working triage-required Triage required on a new issue logged for this project. Used by issue templates

Comments

@Sumit45doc
Copy link

Prerequisites

  • This is not a Security Disclosure, otherwise please follow the guidelines in Security Policy.
  • I have searched in this repository's issues to see if it has already been reported.
  • I have updated to the latest released version of the SDK and the issue still persists.

Bug summary

BUILD FAILED in 2s
error Failed to install the app. Command failed with exit code 1: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 FAILURE:
Build failed with an exception. * Where: Script 'D:\workout\aepsdk-react-native\apps\AEPSampleApp\node_modules@react-native-community\cli-platform-android\native_modules.gradle' line: 420 * What went wrong: A problem occurred evaluating script. > Command '[node, D:\workout\aepsdk-react-native\node_modules@react-native-community\cli\build\bin.js, config, --platform, android]' failed with exit code 1. * 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. BUILD FAILED in 2s.

Environment

Andriod Studio

Steps to reproduce

  1. npm install
  2. npm run sampleapp:android:run

Current behavior

No response

Expected behavior

No response

Anything else?

No response

@Sumit45doc Sumit45doc added bug Something isn't working triage-required Triage required on a new issue logged for this project. Used by issue templates labels Aug 7, 2024
@yangyansong-adbe
Copy link
Contributor

Hi @Sumit45doc,
You may need to execute the correct commands to start the sample app. Could you please review the instructions for launching the sample app?

@cacheung
Copy link
Contributor

Hi @Sumit45doc, have you followed the sample app instructions, and are you able to run the app?

@cacheung
Copy link
Contributor

@Sumit45doc are you able to get this resolved?

@FlorianPhrasee
Copy link

Following this instructions it worked for me this morning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage-required Triage required on a new issue logged for this project. Used by issue templates
Projects
None yet
Development

No branches or pull requests

4 participants