You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/09/04 21:56:54 UTC

[GitHub] [cordova-android] phiferd commented on issue #670: [8.0.0] Android environment variables: ANDROID_HOME vs ANDROID_SDK_ROOT

phiferd commented on issue #670: [8.0.0] Android environment variables: ANDROID_HOME vs ANDROID_SDK_ROOT
URL: https://github.com/apache/cordova-android/issues/670#issuecomment-528104878
 
 
   @luccadumas -- have you tried setting the ANDROID_SDK_ROOT env variable and removing the ANDROID_HOME variable? 
   
   @janpio , I'm not sure it's really "just cosmetic" -- builds that used to work now fail. Also, I'm not sure if the root cause is the same in all of the cases listed above. 
   
   For me, iirc, the issue was that I had a working build one day, and the next day I didn't, even though I didn't change my code. I suspect I did a clean install and new minor versions of packages were updated. 
   
   Please see my earlier comment (https://github.com/apache/cordova-android/issues/670#issuecomment-481936559) with a more detailed description of what I found. As I see it, it looks like the deprecation of an old ENV variable was implemented in an odd way and it is causing unnecessary churn (this thread, for example).  However, I only spent enough time in the gradle code to understand why it wasn't working, so I could be wrong.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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