Closed corebreaker closed 6 years ago
Two things;
allprojects {
repositories {
google()
mavenCentral()
jcenter()
}
}
JCenter should be last..
Also, should note; that unless you are putting that in the TNS copy of the gradle; it won't matter. Your app_resources copy does NOT apply to plugins. Plugins are built using a different version of gradle parameters...
OS: Linux Ubuntu 18.04
Indeed, i decided to use https://github.com/Cordobo/angularx-qrcode for generating a QR Code, and i'll use https://github.com/EddyVerbruggen/nativescript-barcodescanner for scanning cause i'm a little in a hurry.
Therefore, i removed the plugin, i'll test your suggestion later.
@corebreaker - I suspect your issue has to do with this: https://stackoverflow.com/questions/6784463/error-trustanchors-parameter-must-be-non-empty
Sounds like in 18.04 they changed the Keystore format and it break Java ssl connections (which Gradle uses to download packages) The second answer looks like it can show you can fix it. ;-)
ok thanks, i'll try it later.
I assume you have resolved your issue. Please let me know if you are still stuck.
I have errors with NativeScript 4.1.0 :
I tried to modify
app/App_Resources/Android/app.gradle
to add repositories like that:And like that:
Notice that i used all recent versions of all (SDK, libs, etc.), so don't ask me which version of something i used, the answer is: «The latest stable version !» (except for NativeScript, i used 4.1.0).