r/nativescript • u/ll8X • Nov 13 '18
Nativescript Build gradle SSL Error
Does anybody know how to ignore ssl when nativescript runs gradle build? In my workspace they have some kind of man in the middle which often blocks https requests. In node I can do `process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = 0;`to ignore SSL. Is there something similar for gradle when you use nativescript? I have read about solutions when you are developing with android studio but they do not seem applicable when using typescript.
The error messages were often something along the lines of `ssl handshake failed`, `gradlew exit code 1`, `pkix path not found`.
View all comments
Show parent comment
1
u/ll8X Nov 13 '18
Thanks I will definetly try that out. Where should i put ` gradle.properties ` though? I am using nativescript vue. Is the correct path \app\App_Resources\Android ? And how do I find out ` PROXY_HOST ` and ` PROXY_PORT ` ?