could not find main class com/intellij/idea/main #6776
Unanswered
jorickBarneaud
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I have a React project and I'm trying to turn it into an APK. To achieve this, I'm using Capacitor. I followed all the necessary steps (init, copy, etc...), but when I run the command "npx cap open android," Android Studio displays a pop-up error saying: "Could not find main class com/intellij/idea/main."
I am using the latest version of Android Studio, and I have already defined the JAVA_HOME global variable correctly.
Is there someone who can help me solve this problem? Any assistance would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions