I'm trying to compile a cordova project to apk using Visual Studio 2017, but it gives me this message:
platform android already added
It is not generating an apk. I followed various tutorials but it's no use. I can't get it to work. What to do?
1 Answers
Answers 1
You have to run it on a android simulator or a android phone for it to build a APK.
For clarification: Yes you have to use a "device" that is actually running android for Visual Studio to actually build the APK, just building the solution won't work.
You can either use your phone, or the microsoft android simulators for this. Running it in the browser doesn't use the APK so VS doesn't build it.
You can find more here http://taco.visualstudio.com/en-us/docs/tutorial-package-publish-readme/#package-the-android-version-of-your-app
0 comments:
Post a Comment