0
votes

I'm using the plugin Nativescript Splashscreen to add a Splashscreen to my App. First time i added, it worked perfectly. So i decided to make some improvements. I added some Images to the App_resources and i changed some things in the plugin code located at the node_modules Folder. Then i have done those steps:

I removed the android tns platform remove android

I added the android tns platform add android

then i ran the build tns build android

but when i run : tns run android --emulator --geny myapp the images and the changes that i maded doesnt appear.

How can i refresh and build my application so that new images and plugin changes, which was maded, can be see?

1

1 Answers

2
votes

Android apps typically will require to be uninstalled from the emulator when a new .apk is being introduced to the device. Many things get cached on the device and the CLI running a new .apk won't override the existing app. Try uninstalling the current app from the emulator (normal way to uninstall android apps works on emulators) then execute tns run android you don't need the other flags with the tns run android command either. It will be livesyncing once it is installed on the emulator and the CLI should find your running emulator, unless you have some setup issues that prevent it from finding it. Hope this helps :)