how to run eclipse android emulator via visual studio - android

Hi is it possible to run or communicate eclipse android emulator via MS visual studio?
If yes please help me or state ways how to set up possible solution.

If you are using Mono for Andriod.
We can run the app as usual in Visual Studio by choosing
Debug > Start Without Debugging (or Start Debugging to run with the debugger attached).
or Simply press F5 in your “Mono for Android” Visual Studio project.
Visual Studio will launch the Select Device dialog Selecting Start emulator image in this dialog and it will open a list of available emulators:
When we choose the emulator we want to run and then click OK, Mono for Android launches the emulator. After it starts up, the emulator will appear in the Running devices list
From the Android documentation:
The recommended way to develop an Android application is to use Eclipse with the ADT plugin...
Added new Solution based on the comments
vs-android is intended to provide a collection of scripts and utilities to support integrated development of Android NDK C/C++ software under Microsoft Visual Studio.
Currently vs-android only works under Visual Studio 2010. Earlier versions lack the MSBuild integration with the C/C++ compilation systems.
The only required component is the Android NDK. Neither Cygwin, Java, nor the full Android SDK are needed to compile and link C/C++ code.

Related

Is it possible to create and maintain Android Virtual Devices WITHOUT installing Android Studio?

The development I'm taking on is written in TypeScript/JavaScript, and all the instructions left behind use TNS (Telerik NativeScript) command lines to build, debug and publish the apps, for both Android and iOS.
Setting up my Windows PC with Visual Studio Code, Node.js, NativeScript, and the Android SDK, I have got to the point where I can build the application using > tns build android but I cannot run it as I have no devices.
Going back to the NativeScript instructions, it does clearly say that an Android Virtual Device is needed, but the link takes me to how to setup an AVD using Android Studio.
Well, I do not want to install another IDE just to be able to manage AVD's. I'm familiar with VS Code, all the original development was done in VS Code on iOS, and all the documentation, including screenshots, are from VS Code.
Supposedly, there is an AVDManager.exe in C:\Android\android-sdk\tools\bin\, but there certainly isn't in my installation of the SDK.
> emulator -list-avds shows nothing.
> tns device android --available-devices also lists no available emulators.
Embarcaderos' RAD Studio includes an Android emulator, but I'm using Delphi 10.2 Tokyo for desktop development, so don't have access to that emulator on this machine.
Is there any other way to create an AVD, so that when I type > tns run android from the working folder of the mobile app, it starts the emulator and runs the app within it?
You can download just the SDK command line tools via the android studio download page -> "Get just the command line tools".
The emulator program and the avdmanager should be everything you need to get an emulator up and running.

how to solve error Xamarin Android player Beta has expired ,Please update

I have created a Helloworld cross platform project from Visual Studio .
The project builded successfully and while running the android project using the emulator (Nexus4 KitKat Android 4.4 ) I am getting this warning
Xamarin Android player Beta has expired ,Please update
And once I press OK I am getting message
There were deployment errors . Do you want to continue?
How can I fix this issue? Did I missed any components during the installation of xamarin for visual studio?
Xamarin Android player is cancelled officially , so my recommendations for you are three Emulators.
Visual Studio Emulator for Android: For me this is the best emulator available. However it requires that Hyper-V feature to be enabled.
Genymotion: I see this as a better alternative for Xamarin Android Player. However it needs a license.
Android Emulator which is provided by Android SDK. By default it is a slow emulator however there is a tweek you can do to make it faster:
Go and download HAXM from here
Go to your android sdk manager from your visual studio
Go down to Extras and install Intel x86 Emulator Accelerator
By doing this , now you can use the emulators which comes with Android SDK and they are great.

Android emulator on VS 2015?

I just installed Visual Studio Community 2015 Update 3 (with Xamarin) from scratch from the 7GB ISO.My aim is to create a blank Xamarin project and run it in an Android emulator.
But in the Start button, I can't even see the device/emulator selections.
I thought Visual Studio comes with an Android emulator.
What am I missing? How can I run it on an emulator?
Not 100% sure with your Visual Studio version but it's an optional feature in Visual Studio Enterprise. I had to choose it specifically to install it. You can go to Programs and Features, choose to change Visual Studio 2015, then choose Modify and add the Android Emulator like this:

Cross-platform iOS and Android using Visual Studio 2013

I'm building an app for android and iOS. I have decided to use Xamarin to do this, however my macbook is too slow to run Xamarin Studio efficiently and is having trouble with the iPhone/Android emulators. So I am using my Windows PC with Core i7 and 8gb ram.
I installed Xamarin Studio and noticed there is no option for iOS development.
It seems the only option is to get Visual Studio 2013 and use the "Shared project reference manager" extension instead of the old "Project Linker" extension.
I can't seem to find any tutorials online showing how to set this up and how to create cross-platform apps using this.
Would anyone be able to provide me with a quick explanation on how to set this up so I can do cross-platform development (Android & iOS) on Visual Studio 2013?
Are there any links to tutorials on how to actually create the cross-platform apps this way? I can only find tutorials on Xamarin Studio and the "Project Linker" extension, not the "Shared project reference manager".
Would I be better off getting an older version of Visual Studio and using "Project Linker"?
In most cases there is no significant difference switching from Xamarin Studio to Visual Studio, but Xamarin does maintain some articles specific to VS,
http://developer.xamarin.com/guides/cross-platform/windows/visual-studio/
In order to do iOS development from Visual Studio, you NEED a Mac to act as your build host. Your build host can be a different physical Mac, or alternatively (which works much better in my opinion), use a physical Mac that runs a Windows VM for Visual Studio. Either way, a Mac is required.
http://developer.xamarin.com/guides/ios/getting_started/installation/windows/introduction_to_xamarin_ios_for_visual_studio/

How to attach Visual Studio 2015 debugger to an android app

I have already a tool-chain to build my c++ apps cross platform but it is a mess to debug. It would be nice to attach visual studio to a running app on the device.
Is there anyway to attach the debugger of visual studio 2015 to a running app like to a windows process?
Kindly,
Martin
It's working for me. You don't really say where your app comes from, but I'm using the Native-Activity Application (Android) from the New Project dialog. Run in debug mode and use the normal debugging tools.

Categories

Resources