Issue :-
info Running jetifier to migrate libraries to AndroidX. You can disable it using “–no-jetifier” flag.
(node:10284) Warning: Accessing non-existent property ‘padLevels’ of module exports inside circular dependency
(Use node --trace-warnings ...
to show where the warning was created)
Jetifier found 871 file(s) to forward-jetify. Using 16 workers…
info JS server already running.
info Installing the app…
FAILURE: Build failed with an exception.
- What went wrong:
The supplied javaHome seems to be invalid. I cannot find the java executable. Tried location: C:\Program Files\Java\jdk1.8.0_341\bin\java.exe - 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.
Reason :-
Conflicting java version and configuration.
Solution :-
Delete jdk folder from program file C:\Program Files\Java\jdk1.8.0_341\
One response to “The supplied javaHome seems to be invalid. I cannot find the java executable. Tried location: C:\Program Files\Java\jdk1.8.0_341\bin\java.exe”
thank you so much it works ❤️