Build error while running the native script application

Viewed 51

Migrating my native script application to 8.1.5 version. Fixed the errors that occurs when migrating the native script application. Application build successfully in the emulator. After build successfully getting error in the application.

Click here to see error image

How to fix this issue?

1 Answers

Try this:

Go to AVD Manager, and click wipe data on the selected emulator: enter image description here

Restart your machine (adb connection might be lost).

Then restart your project by running:

ns clear
ns run android

If that doesn't open the app on the emulator, run:

ns devices

Spot the emulator ID you want to run the app on

ns build android
ns deploy --device EMULATOR-ID

Note: Make sure you've done all 4 blue steps in the cli message (in blue).

Related