Sat, 05 Feb 2022 08:20:04 GMT
Join the conversation at slack.cordova.io
Fri, 04 Feb 2022 09:04:16 GMT
@pablo.caselas says
👌
Fri, 04 Feb 2022 10:43:09 GMT
@pablo.caselas says
Checking Java JDK and Android SDK versions ANDROID_SDK_ROOT=undefined (recommended setting) ANDROID_HOME=/Users/pablo/Library/Android/sdk (DEPRECATED) Using Android SDK: /usr/local/Caskroom/android-platform-tools/29.0.1
Fri, 04 Feb 2022 10:44:15 GMT
@pablo.caselas says
Apparently it is getting it from a brew installation. Does anybody know what variable I need to override in order to make it go to the build tools installed in android home?
Fri, 04 Feb 2022 11:10:45 GMT
@pablo.caselas says
apparently I needed to setup ANDROID_SDK_ROOT to $HOME/Library/Android/Sdk
Fri, 04 Feb 2022 11:11:20 GMT
@pablo.caselas says
But now I am getting the following error :
* What went wrong: Some problems were found with the configuration of task ':app:processDebugGoogleServices' (type 'GoogleServicesTask'). - In plugin 'com.google.gms.googleservices.GoogleServicesPlugin' type 'com.google.gms.googleservices.GoogleServicesTask' field 'intermediateDir' without corresponding getter has been annotated with @OutputDirectory. Reason: Annotations on fields are only used if there's a corresponding getter for the field. Possible solutions: 1. Add a getter for field 'intermediateDir'. 2. Remove the annotations on 'intermediateDir'.```
Fri, 04 Feb 2022 11:12:27 GMT
@pablo.caselas says
That’s on cordova-android@10.1.1
Fri, 04 Feb 2022 14:11:49 GMT
@pablo.caselas says
went back to your finding that “StackOverflow answers suggest that your gradle/gradle plugin versions” and with that I can build the app without any problem
Fri, 04 Feb 2022 14:12:21 GMT
@pablo.caselas says
upgrading cordova is such a mess though! 😰
Sat, 05 Feb 2022 01:02:57 GMT
@info460 says
Hi, I am trying to recreate my app from.scratch and getting this error `C:\Mega-sync\test-apps\Nerja-hre-test-clean\Nerja-hra>cordova run android Cannot find module ‘../../src/cordova/platform_metadata’ Require stack:
- C:\Users\Android28d652\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\Context.js
- C:\Users\Android28d652\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js
- C:\Users\Android28d652\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\install.js
- C:\Users\Android28d652\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\plugman.js
- C:\Users\Android28d652\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\cordova-lib.js
- C:\Users\Android28d652\AppData\Roaming\npm\node_modules\cordova\src\help.js
- C:\Users\Android28d652\AppData\Roaming\npm\node_modules\cordova\src\cli.js
- C:\Users\Android28d652\AppData\Roaming\npm\node_modules\cordova\bin\cordova`
Cordova Android 9.0 I did try remove and add Androud platform but no help
anyone know what is the problem.here?
Sat, 05 Feb 2022 01:10:42 GMT
@norman137 says
CLI version?
Sat, 05 Feb 2022 02:59:20 GMT
@info460 says
10.0.0