Building Windows 8.1 don´t work

I built an app on Windows Phone 8.1.
When I run it in the emulator works very well.(Visual Studio 2015)
When I run the real device connected by USB works very well.(Visual Studio 2015)
When I generate the appx:
-I install it on the real device only shows the splashes screen and close app.
-I install it in the emulator and works very well

Sorry my English is not very good.

Thank you very much.

NOTE:
add<preference name="windows-target-version" value="8.1" /> to config.xml
Command:
cordova build windows --realease