"Publish Android App" in Visual Studio 2015 RC with Apache Cordova is not doing anything - android

I am attempting to create an Android app using the Visual Studio 2015 RC with Apache Cordova (a multi-platform hybrid app) and for some reason, when I go to:
TOOLS -> ANDROID -> PUBLISH ANDROID APP...
I get a quick thinking/circling mouse pointer then nothing.
Useful Information:
-The installation went fine and I can use the Ripple emulator fine.
-I did the same steps on a machine with Comodo which allowed me to see what Visual Studio was attempting to access and it was definitely reaching out to the Java tools on the computer (I assume to build the apk).
Other than that, I have no idea! :) Thank you.

Thanks for using Visual Studio tools for Apache Cordova.
I presume you are using the following menu, which is added to Visual Studio by the Xamarin Tools and can be used only with Xamarin and not with Tools for Apache Cordova.
To publish an hybrid android app to Google play store, using Tools for Apache Cordova, you will have to follow manual steps which are provided here
I agree that showing this menu for tools for Apache Cordova is confusing and leading users to believe this is a supported scenario. I will take this observation/feedback with the product team and let them know.
Once again, thanks for using our tools.

Related

How do I get Visual Studio Online to do a Build Cordova/PhoneGap?

How do I get Visual Studio Online to do a Build/Continious Intergration-Delivery for Cordova?
The only examples below are for installing to your own TFS installation. The CI build templates for VSO is Java/Android or C++/iOS not Cordova/PhoneGap.
https://www.visualstudio.com/vso/
https://learn.microsoft.com/en-us/vsts/build-release/archive/apps/mobile/cordova-build?view=vsts
https://learn.microsoft.com/en-us/vsts/build-release/archive/apps/mobile/cordova-command?view=vsts
As you can see from the Team Foundation Server guide, they don't seem to support Cordova apps.
Why don't your try Visual Studio Community 2017 instead? This includes the Tools for Apache Cordova and it works perfectly fine.

how to develop android app using ionic framework

I want to develop app using visual studio in .NET platform. Can I use ionic framework to develop app in visual studio. If yes then please tell how to do it and tell how to install ionic framework and which are all the software we require to develop app using ionic framework..??
To develop cross-platform Hybrid apps in Visual Studio using Ionic...
1.Download & Install Visual Studio Community it is recommended by ionic itself for developers using Windows.
2.Download "Visual Studio Tools for Apache Cordova" officially from here
https://www.visualstudio.com/en-us/explore/cordova-vs.aspx
with that you can build apps for iOS, Android, and Windows using web technologies.
2.Run the setup & click Install for the products shown.
3.Go to Tools -> Extensions and Updates inside Visual Studio and in the Online tab search for Ionic and install it.
4.Now you can start a new project and select the Ionic project template, give your project a name and wait for Visual Studio to do the rest.
You can use node's package manager (npm) to install the ionic framework.
$ npm install -g ionic
For absolute beginners a startertemplate should be used.
Have a look here for more detailed informations:
https://www.npmjs.com/package/ionic
Of course you need a text editor, and a browser comes pretty handy too.

Apache cordova in visual studio 13

i have installed apache cordova tools for vs13 and now when i run my code i get error
Warning 1 Acquiring Cordova Tools. Any build cancellation requests will be processed after acquisition has completed. BlankCordovaApp2
[![enter image description here][1]][1]
Software/Tool
Issue
Android SDK The software is missing from your system. You may also have to configure it after installation. Instructions
Git CLI The software is missing from your system. You may also have to configure it after installation. Instructions
Apple iTunes The software is missing from your system. You may also have to configure it after installation. Instructions
Oracle Java SDK The software is missing from your system. You may also have to configure it after installation. Instructions
After fixing these issues, please restart Visual Studio to ensure that changes have been applied.
this is the error which i get please help me
Please install missing components first. See the answer below
The third-party components that Visual Studio installs for you
Visual Studio installs these third-party components. You'll need them to use Apache Cordova, and to target the Android platform.
Component Why Visual Studio installs it**
Apache Ant 1.8.0 (or later) To build Android apps.
32-bit Oracle Java JDK 7 To build Android apps.
Android SDK To build Android apps and to start the Apache Ripple simulator.
Joyent Node.js To integrate with the Apache Cordova Command Line Interface (CLI) and the Apache Ripple simulator.
Git CLI To enable you to manually add Git URIs for specific Cordova plug-ins.

error installing apache Cordova tools in visual studio 2013

i want to use Apache Cordova in visual studio 2013.
I followed the instructions on installing Apache tools manually from this
When i create new project with Template apache cordova app get this error:
1-Android package
I installed latest the Android SDK with the following package:
2-WebSocket4Net
I Downloaded WebSocket4Net(0.9).Binaries.zip from CodePlex
and installed visual studio in drive D :
D:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\CommonExtensions\Microsoft\WebClient\Diagnostics\ToolWindows
then copied WebSocket4Net.dll to ToolWindows folder
Seems you alreay have the required component installed.
It might be a false alarm by the visual studio dependency checker. Actually, I have some warnings as well, but everything works well. If you did not encounter any problem during building app, feel free to ignore the warning. WebSocket4Net is only required for win7 and if ripple works well, leave it there.
P.S. don't upgrade Android 24.3.2 for now, because there is a known issue that will cause build fail when trying deploy on Android device and android emulator.

Porting existing Cordova app into Android Studio

I have an existing Cordova app that I've been testing in Xcode.
The workflow was simple:
1. cordova build ios
2. open xcode project file in Xcode
3. either run in simulator or build directly to device
I'm tyring to figure out the same for running an Android build for testing.
1. Installed Android Studio
2. Installed and configured Android SDK 19
3. When I setup my run configuration, it says:
"AndroidManifest.xml doesn't exist or has incorrect root tag"
I've followed the trail to Cradle, migrating existing project to Cradle, but have been unsuccessful so far in figuring out how to take an existing Cordova project and getting it to run on my device.
Is there a workflow as easy as Xcode's 1...2...3... for Android?
As far as I know, android studio isn't officially supported by cordova/phonegap yet, you should use the ADT.
But here you can read how to work with android studio beta and cordova/phonegap
http://iphonedevlog.wordpress.com/2014/10/10/using-android-studio-beta-with-cordova-phonegap/

Categories

Resources