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

Failed to launch the app on android debug mode #3039

Open
yairelmaliah opened this issue Dec 10, 2021 · 0 comments
Open

Failed to launch the app on android debug mode #3039

yairelmaliah opened this issue Dec 10, 2021 · 0 comments

Comments

@yairelmaliah
Copy link

yairelmaliah commented Dec 10, 2021

When trying to run yarn android after running the bundler I get an error in the MessageWorker class under the following path:
/android/app/src/main/java/co/edgesecure/app/MessagesWorker.java

ERROR MSG:

Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
/home/yair/projects/EDGE-WALLET/android/app/src/main/java/co/edgesecure/app/MessagesWorker.java:229: error: cannot find symbol
      connection.setRequestProperty("Authorization", "Token " + EdgeApiKey.apiKey);
                                                                ^
  symbol:   variable EdgeApiKey
  location: class MessagesWorker

Note: /home/yair/projects/EDGE-WALLET/android/app/src/main/java/co/edgesecure/app/MessagesWorker.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
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