NativeScript and Android troubleshooting.
During development Android application I'm faced with a millions various troubles, this is only a small list of them, only if I have time to descripted them.
1. NS Demo example can not started.
I simple create new NS project and try to start it.
# ns create myProject --ng # ns clean # npm i
But project failed despite I have last version of all related software.
![](/AndroidTroubles/ngZone-1_1.png)
![](/AndroidTroubles/ngZone-2_1.png)
![](/AndroidTroubles/ngZone-3_1.png)
Solution is non-obvious - need to change Angular ngZone from 13 to 12 - https://angular.io/api/core/NgZone.
![](/AndroidTroubles/ngZone-4_1.png)
![](/AndroidTroubles/ngZone-5_1.png)
![](/AndroidTroubles/ngZone-6_1.png)
2. Platform tools don't working
In my Windows developer environment there are nothing any trouble with Platform-tools.
![](/AndroidTroubles/AndroidToolsWin-1_1.png)
But in my Linux environment I have simple trouble. Its look strange, because all my old project working fine, and Android Studio don't require any updates, therefore I don't understand instantly what happens. But in reality this is complex trouble, because Android studio change directory with platform tools and JAVA is outdated.
So, I have update Android tools, but it still don't working.
![](/AndroidTroubles/AndroidTools-0_1.png)
![](/AndroidTroubles/AndroidTools-1_1.png)
![](/AndroidTroubles/AndroidTools-2_1.png)
Need to update JAVA.
![](/AndroidTroubles/Java-1_1.png)
Important point of OpenSuse is 3 place where we can set up JAVA_HOME variable.
![](/AndroidTroubles/Java-2_1.png)
This is main place.
![](/AndroidTroubles/Java-3_1.png)
And two this updates is solution to make Android tools workable.
![](/AndroidTroubles/AndroidTools-3_1.png)
![](/AndroidTroubles/AndroidTools-4_1.png)
3. Connect socket inspector.
![](/AndroidTroubles/Socket-1_1.png)
![](/AndroidTroubles/Socket-2_1.png)
... to be continue soon ...
Related page:
- (2024) NativeScript Mosaic
- (2023) NativeScript and Android troubleshooting.
- (2024) NativeScript and Angular form
- (2024) NativeScript Drawer for Android/IOS phone (clear Angular project)
- (2023) Magic deployment Android application with NS Preview.
- (2022) Up and running Angular application on Android mobile phone with NativeScript.
- (2022) My NativeScript learning conspectus.
- (2019) Android books
- (2021) Android Masterclass lecture from Paulo Dictone
- (2020) My Android Handbook
- (2020) Kotlin Syntax
- (2021) How to debug Android frontend
- (2022) Android ADB
- (2019) Android Studio Requirements (vmx|sse|svm CPU flags)
- (2020) Up and running Android studio
- (2021) How to build application server based on push notification from Firebase
- (2021) Retrofit test with interceptor, clear communication and show data to TextView
- (2020) https://developers.google.com/admob/android/quick-start
- (2024) Google Cloud and Cloudflare
- (2023) CloudflareWorker and Supabase
- (2022) JS, Css
- (2022) Typescript, Webpack
- (2022) Angular, RxJs, Firebase, MongoDb
- (2022) Node, NestJs, Electron, Pwa, Telegram
- (2022) React, Redux, GraphQL, NextJs
- (2022) Angular/Typescript, JS books
![](http://forum.vb-net.com/GetTopicCount.png?id=bee3ef9b-9f42-4e01-bf31-f6ee4a2dc65d)
<SITEMAP> <MVC> <ASP> <NET> <DATA> <KIOSK> <FLEX> <SQL> <NOTES> <LINUX> <MONO> <FREEWARE> <DOCS> <ENG> <CHAT ME> <ABOUT ME> < THANKS ME> |