FelixAVeras
FelixAVeras

Reputation: 1384

NativeScript Angular: An Uncaught Exception Occurred on main thread on android

I am new to mobile development and I am working with NativeScript and in the Android application I find this error.

enter image description here

Here's my package.json

Upvotes: 0

Views: 2168

Answers (2)

Petro
Petro

Reputation: 1

I using command

tns run android/ios -env.aot

Upvotes: -1

Jannomeister
Jannomeister

Reputation: 629

tns platform remove android/ios tns platform add android/ios tns run android/ios

if not... try to delete your node_modules folder and execute npm install or npm i

Upvotes: 5

Related Questions