简体   繁体   中英

Cordova App in Visual Studio

I'm testing an application but getting the following errors from Visaul Studion. I have no idea what it is. it's no problem to debug te solution but when I release for an android device I get the errors.

在此处输入图片说明

Do you have a proper certificate for the release configuration? Are you using Visual Studio 2017 with the default Cordova 6.3.1 toolset? You should try with the external Android SDK, or upgrade your Cordova CLI to 7.1.0 and cordova-android 6.3.0. Check out this guide to find out how to switch the toolset in Visual Studio 2017, because the select drop-down from config.xml designer view will not save your setting.

Do you have cyrillic char in your file name in asset folder ?

You cannot have other char than [a-z0-9_.] on your cordova folder and sub folder.

One of my pictures (café.png) had an apostrophe or prime sign. So I changed it and now it works.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM