Nativescript Socket Connection Timeouted
Recently I have started facing a strange issue with Nativescript. When I try to run the android application using tns run android I get following error message Unable to apply cha
Solution 1:
This has been a nasty issue which ate most of my days. It was nativescript-admob plugin which was causing application to break. Version 17.0.0 of Google Mobile Ads SDK requires tag in AndroidManifest.xml. You can find more info here https://developers.google.com/admob/android/quick-start#update_your_androidmanifestxml. There is open issue https://github.com/EddyVerbruggen/nativescript-admob/issues/45 which has a temp. You will have to add following line to AndroidManifest.xml
<application>
<!-- this line needs to be added (replace the value!) -->
<meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="ca-app-pub-3940256099942544~3347511713" />
<activity></activity>
</application>
Post a Comment for "Nativescript Socket Connection Timeouted"