FranGhe opened a new issue, #624:
URL: https://github.com/apache/cordova-cli/issues/624

   I re post here an issues that first of all I post on cordova-android 
thinking that was a its issues: 
   https://github.com/apache/cordova-android/issues/1635
   
   I have updated Cordova from 11.0.0 to 12.0.0 and the android platform from 
Android 11 to Android 12
   
   When I make the import project to Android Studio Electric Eel 2022.1.1 I 
have a warning like this:
   
   Multiple Gradle daemons might be spawned because the Gradle JDK and 
JAVA_HOME locations are different.
   Project 'xxx' is using the following JDK location when running Gradle: 
'/Applications/Android Studio.app/Contents/jbr/Contents/Home'
   The system environment variable JAVA_HOME is: 
'/Library/Java/JavaVirtualMachines/jdk-14.0.2.jdk/Contents/Home'
   If you dont need to use different paths (or if JAVA_HOME is undefined), you 
can avoid spawning multiple daemons by setting JAVA_HOME and the JDK location 
to the same path.
   
   How can I fix it? I need to use my java 14.0.2 installed on PC 
   
   Yes, I can it change it after the import, but I'll be more relaxed if it's 
automatic... is this a trouble of Cordova CLI, cordova-android or Android 
Studio?
   
   <img width="1026" alt="255403744-3d5a2d91-a603-42d5-b36d-1934feb351fd" 
src="https://github.com/apache/cordova-cli/assets/35761071/b76e46af-f950-4cb1-add6-3727f99776e3";>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to