You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "breautek (via GitHub)" <gi...@apache.org> on 2023/07/25 18:02:25 UTC

[GitHub] [cordova-android] breautek commented on issue #1635: Warning on import the Android Project to Android Studio (Electric Eel 2022.1.1)

breautek commented on issue #1635:
URL: https://github.com/apache/cordova-android/issues/1635#issuecomment-1650298446

   I had a look at this and it seems like this option is controlled via a `.idea` file. I'm not sure what the consequences are if Cordova generated the `.idea` file.
   
   ```xml
   <?xml version="1.0" encoding="UTF-8"?>
   <project version="4">
     <component name="GradleSettings">
       <option name="linkedExternalProjectsSettings">
         <GradleProjectSettings>
           <option name="testRunner" value="GRADLE" />
           <option name="distributionType" value="DEFAULT_WRAPPED" />
           <option name="externalProjectPath" value="/mnt/data/development/totalpave/experimental/experiment" />
           <option name="gradleHome" value="$PROJECT_DIR$/../../../gradle" />
           <option name="gradleJvm" value="Embedded JDK" /> <!-- this is the line that seems to control that setting in AS -->
           <option name="modules">
             <set>
               <option value="/mnt/data/development/totalpave/experimental/experiment" />
               <option value="/mnt/data/development/totalpave/experimental/experiment/app" />
             </set>
           </option>
         </GradleProjectSettings>
       </option>
     </component>
   </project>
   ```
   
   These settings are only ever used in AS. E.g. if you do `cordova build android`, the Android Studio settings are not used. So it might be better for cordova not to muck with this file because if the structure of this file changes, then it would be up to Cordova to make updates accordingly.


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org