After years of fighting with phonegap we finally decided to switch the project to ionic. Since phonegap also is stopped. However, after doing all necessary steps, already the first problems with the build on android. “You have been opted out of telemetry.”
I thought this would be such an easy task, liked promised on the website, and yet the next problem on the line… Is there anything we need to change?
[19:42:53]: Adding Android platform…
[19:42:53]: $ cordova platform add android --no-fetch
[19:42:54]: ▸ You have been opted out of telemetry. To change this, run: cordova telemetry on.
[19:42:54]: ▸ Using cordova-fetch for cordova-android@^8.1.0
[19:42:54]: ▸ Platform android already added.
[19:42:54]: -------------------------
[19:42:54]: — Step: upload_logs —
[19:42:54]: -------------------------
±---------------------------±----------------------+
| Lane Context |
±---------------------------±----------------------+
| DEFAULT_PLATFORM | ios |
| PLATFORM_NAME | android |
| LANE_NAME | android package_build |
| PROJECT_WEB_DIR | www |
| DOWNLOAD_CREDENTIAL_EXISTS | false |
±---------------------------±----------------------+
[19:42:58]: Shell command exited with exit status 1 instead of 0.
You have been opted out of telemetry. To change this, run: cordova telemetry on.
Using cordova-fetch for cordova-android@^8.1.0
Platform android already added.
/usr/local/bundle/bin/fastlane: [!] Shell command exited with exit status 1 instead of 0. (FastlaneCore::Interface::FastlaneShellError)
You have been opted out of telemetry. To change this, run: cordova telemetry on.
Using cordova-fetch for cordova-android@^8.1.0
Platform android already added.
[19:42:58]: fastlane finished with errors
Running after script…
$ run “clean-up”
ERROR: Job failed: command terminated with exit code 1