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
Hello,
Trying to use AWS Amplify example for Android and followed the steps provided in https://docs.amplify.aws/android/start/quickstart/
Facing an error in "step 10 - Test in app":
* Command executed is - npx @aws-amplify/backend-cli generate graphql-client-code --format modelgen --model-target java --out app/src/main/java --app-id <your-amplify-app-id> --branch main
Replaced <your-amplify-app-id> with App ID
* Error observed - "InvalidCommandError: The Amplify Gen 2 CLI has been renamed to ampx
Resolution: Rerun using the ampx command name: "
Describe the bug
Using Android Studio, followed the steps in https://docs.amplify.aws/android/start/quickstart/
Android studio used:
Android Studio Koala | 2024.1.1
Build #AI-241.15989.150.2411.11948838, built on June 11, 2024
Runtime version: 17.0.10+0-17.0.10b1087.21-11609105 amd64
During step 10 an error observed- ""InvalidCommandError: The Amplify Gen 2 CLI has been renamed to ampx
Resolution: Rerun using the ampx command name: "
All works well till step 7 ... I can see the Auth screen and the logins work as expected. Moved till step 10 and there is an error while executing the - "InvalidCommandError: The Amplify Gen 2 CLI has been renamed to ampx
Resolution: Rerun using the ampx command name: "
Command executed is - npx @aws-amplify/backend-cli generate graphql-client-code --format modelgen --model-target java --out app/src/main/java --app-id --branch main
FYI - Replaced with App ID
The text was updated successfully, but these errors were encountered:
Environment information
Describe the bug
Using Android Studio, followed the steps in https://docs.amplify.aws/android/start/quickstart/
Android studio used:
Android Studio Koala | 2024.1.1
Build #AI-241.15989.150.2411.11948838, built on June 11, 2024
Runtime version: 17.0.10+0-17.0.10b1087.21-11609105 amd64
During step 10 an error observed- ""InvalidCommandError: The Amplify Gen 2 CLI has been renamed to ampx
Resolution: Rerun using the ampx command name: "
Reproduction steps
Choose Android Framework and follow the steps per the Quick start guide available here - https://docs.amplify.aws/android/start/quickstart/
All works well till step 7 ... I can see the Auth screen and the logins work as expected. Moved till step 10 and there is an error while executing the - "InvalidCommandError: The Amplify Gen 2 CLI has been renamed to ampx
Resolution: Rerun using the ampx command name: "
Command executed is - npx @aws-amplify/backend-cli generate graphql-client-code --format modelgen --model-target java --out app/src/main/java --app-id --branch main
FYI - Replaced with App ID
The text was updated successfully, but these errors were encountered: