Closed Jonatthu closed 5 years ago
I'd first make sure you have the latest android SDK and build-tools installed. Let me know if that helps with the build issue.
Executing tns --log trace and yes I am on the latest
PS C:\GoGoApps\GoGoSharedModules> tns --log trace
Loading extensions.
Asserting extension nativescript-cloud is installed.
Extension nativescript-cloud is installed.
System information:
{ platform: 'win32',
shell: 'C:\\Windows\\system32\\cmd.exe',
os: 'Windows 10 Pro N for Workstations 6.3.17134',
procArch: 'x64',
nodeVer: '10.13.0',
npmVer: '6.4.1',
nodeGypVer: null,
nativeScriptCliVersion: '5.0.1',
gitVer: '2.19.1.windows.1',
dotNetVer: '4.7.03056',
javacVersion: '1.8.0_191',
adbVer: '1.0.40',
androidInstalled: true,
monoVer: null,
gradleVer: null,
isAndroidSdkConfiguredCorrectly: true,
xcodeVer: undefined,
xcodeprojLocation: null,
itunesInstalled: false,
cocoaPodsVer: undefined,
isCocoaPodsWorkingCorrectly: false,
isCocoaPodsUpdateRequired: false,
pythonInfo: null }
Starting watch on killswitch C:\Users\EUGENE~1.PAR\AppData\Local\Temp\Eugene.Park\KillSwitches\cli
Initializing analytics statuses.
Analytics statuses: { TrackFeatureUsage: 'disabled', TrackExceptions: 'disabled' }
Looking for project in 'C:\GoGoApps\GoGoSharedModules'
Project directory is 'C:\GoGoApps\GoGoSharedModules'.
List of registered commands: /?, accept, accept|eula, account, account|features, account|usage, appstore, appstore|upload, autocomplete, autocomplete|disable, autocomplete|enable, autocomplete|status, build, build|android, build|cloud, build|ios, clean-app, clean-app|android, clean-app|ios, cloud, cloud|build, cloud|clean|workspace, cloud|codesign, cloud|deploy, cloud|lib|version, cloud|publish|android, cloud|publish|ios, cloud|run|*all, cloud|run|android, cloud|run|ios, cloud|setup, codesign, codesign|cloud, config, config|apply, config|reset, config|set, create, debug, debug|android, debug|ios, deploy, deploy|cloud, dev-generate-help,
dev-generate-messages, dev-login, dev-post-install, dev-preuninstall, dev-test, dev-test|android, dev-test|ios, device, devices, devices|android, devices|ios, device|android, device|get-file, device|ios, device|list-applications, device|list-files, device|log, device|put-file, device|run, device|stop, device|uninstall, doctor, error-reporting, extension, extension|install, extension|uninstall, generate, help, info, init, install, kill-server, login, logout, platform, platform|add, platform|clean, platform|remove, platform|update, plugin, plugin|add, plugin|build, plugin|create, plugin|install, plugin|remove, plugin|update, policy, policy|accept, post-install-cli, prepare, preview, proxy, proxy|clear, proxy|set, publish, publish|ios, resources, resources|generate|icons, resources|generate|splashes, resources|update, run, run|android, run|cloud|*all, run|cloud|android, run|cloud|ios, run|ios, setup, setup|cloud, test, test|android, test|init, test|ios, update, usage-reporting, user
Reading help for command ''. FileName is 'index.md'.
@bradmartin I found that the build.gradle file is the problem, on platforms/android/build.gradle removing the dependency signature-pad allows to build but obviously this does not download the plugin and then is a running time problem
reading the doc of the plugin it says that we should add on repositories a mavenCentral()
which is missing on the source code of this plugin
Still after following the documentation is failing looks like is having problems finding
com.android.databinding:baseLibrary:2.2.3
Updated the plugin gradle with 3.0.4
but still not sure why PC would fail with this plugin. Seems odd, can confirm building on Mac is working fine.
I can confirm my build now is working on windows 10, I will double check running time and Mac OS as well
The angular code is passing good with no issues, the problem starts when gradle tries to build the project with this specific plugin.
I already try npm install again, tns platform remove android and re-adding again
This is the following error message that I am getting on windows only: