Adding Existing Android Project into VSTS via Android Studio - android

I need to know how to add existing Android project into VSTS.
I have gone through the steps to set up VSTS with Studio and I have referred to this link but at the end it says:
it can't be done directly through Studio and Window OS.
Any better answer or updates for direct upload from Android Studio will be appreciated.

You can install "Visual Studio Team Services Plugin for Android Studio".
The Visual Studio Team Services Plugin for Android Studio allows you to connect to your Git repositories on Visual Studio Team Services (VSTS) and Team Foundation Server (TFS) in a seamless and intuitive way. You can also use this plugin to import your android development projects into VSTS or create pull requests in your VSTS/TFS Git repository.
Note: The plugin is compatible with Android Studio 1.2 and up.
The Team Services plugin for Android Studio is available in the Android Studio Plugin Repository once you download it follow the following instructions:
In Android Studio, open plugin settings. (from the File menu, select Settings... then Plugins).
Click the Install plugin from disk... button and browse to the JAR file on disk.
Click the Install plugin button and restart Android Studio.
The plugin can be installed from Android Studio by browsing the Plugin Repository:
In Android Studio, open plugin settings. (from the File menu, select Settings... then Plugins).
Click the Browse repositories... button and search for "Visual Studio Team Services".
Click the Install plugin button and restart Android Studio.

First please follow the tutorial link in VSTS: Android Studio to make the plug-in works well.
And you can also watch a how-to video on importing projects on our YouTube channel.
Note: Also make sure you have enough permission with the team project in TFS which you want to import in.
Since you are using Git, if you already have local git repo and project, you could directly select Import into Version Control and select import into Team Service Git.

Related

Integrate Android Studio Project with Azure Pipelines CI/CD

I'm new to Android Studio development and I've been asked to do that.
I want to know how to do that as I tried to do it but I didn't understand it.
The project is on dev.azure.com, and in Kotlin language.
How to start with it and how to be pro (not that pro) in it?
I couldn't find the way to do or even start with it.
I saw the documentation but it didn't help me.
For this issue , you can install "Azure DevOps Services Plugin for Android Studio".
The Azure DevOps Services Plugin for Android Studio allows you to connect to your Git repositories on Azure DevOps Services in a seamless and intuitive way. You can also use this plugin to import your android development projects into Azure DevOps Services or create pull requests in your Azure DevOps Services/TFS Git repository.
Note:The plugin is compatible with Android Studio 1.2 and up.
The Azure DevOps Services plugin for Android Studio is available in the Android Studio Plugin Repository. The plugin can be installed from Android Studio by browsing the Plugin Repository.
In Android Studio, open plugin settings
Click the Browse repositories... button and search for "Visual Studio Team Services".
Click the Install plugin button and restart Android Studio.
For details ,please refer to this document.

Android virtual device not listed only in eclipse

I'm trying to debug my project in eclipse but when i open the android virtual device (avd) window my connected device isn't listed but in the universal adb it is listed and the status is ok.
The device is listed also in android studio.
What can i do to see the device in eclipse??
Android development support for Eclipse was ended in late 2015 as per this blog post.
To that end and to focus all of our efforts on making Android Studio better and faster, we are ending development and official support for the Android Developer Tools (ADT) in Eclipse at the end of the year. This specifically includes the Eclipse ADT plugin and Android Ant build system.
Since that time, there have been a number of changes to the ADB tools & protocol which have not been reflected in the Eclipse plugin due to it being deprecated.
I'd advise continuing your project in Android Studio. There is a wizard that allows you to import Eclipse projects by going to File > New... > Import Project... and select the folder for your current Eclipse project. Google have also provided a guide to migrating from Eclipse.

Is it possible to get the Cursive Plugin installed with Android Studio?

I am currently starting my first project that will use Clojure to write an Android App using Android Studio.
My idea was to install the Cursive Plugin as this Plugin is available for IntelliJ Community Edition on which Android Studio is based.
Unfortunately my (maybe naive?) approach to just go to Settings -> Plugins -> Browse repositories ... and search for "Cursive" did not show any hits.
Is there any other way to install the Cursive Plugin with Android Studio?
You can download it directly from IDEA repository:
IDEA repository
Choose your version of IDEA and click download. Then follow this user guide

Can't install TFS plugin in Android studio

i Downloaded TFS plugin from below URL and add it my Android Studio. But when i am trying to open it is showing in RED colour. Please help me out how to resolve this.
http://plugins.jetbrains.com/plugin/4578?pr=phpStorm&showAllUpdates=true
TFS Integration is only supported in Intellij Idea Ultimate Edition while
Android Studio is based on code of Intellij Idea Community Edition so it can't support TFS integration. Why Google will supply anything for free which is being sold by Jetbrains.
See Version Control and Features Comparison pages.
Update
If you are not already aware, checkout Team Foundation Server - Version Control Integration. An under-development and open source alternative.
Visual Studio Team Services plugin by Microsoft is also available now. See installation instructions.
The Official Version of TFS plugin is available in Android Studio Plugin Repository. Installation instructions are available at Visual Studio Team Services Plugin for Android Studio.
The Team Services plugin for Android Studio is available in the
Android Studio Plugin Repository. The plugin can be installed from
Android Studio by browsing the Plugin Repository.
In Android Studio, open plugin settings:
Linux: from the File menu, select Settings... then Plugins
Mac: from the Android Studio menu, select Preferences... then Plugins
Windows: from the File menu, select Settings... then Plugins
Click the Browse repositories... button and search for "Visual Studio Team Services".
Click the Install plugin button and restart Android Studio.
A workaround is to use GitTF or Git TFS
Android Studio will work with Git and then you will need to do push and pulls using command line. Which can be totally worth it
There is now a plugin available for integrating TFS with Android Studio. I haven't tried it but it says it will work with Android Studio. You can read more about it in this blog from Microsoft.

Errors with Tizen IDE and HelloAccessoryProvider

I am trying a sample app for Tizen Wearable SDK but the IDE does not seem to be configured properly. It reports imports could not be resolved library and the samsung android libraries. My guess is these dependencies need to be added to the project's path somehow.
I tried adding external classes from the Tizen Wearable SDK
UPDATE
I have tried to install the ADT Plugin but I get stuck on the license screen
You don't have the Android plugins for Eclipse installed from what I can see on your preferences panel. The Tizen IDE, out of the box, only supports the Tizen Wearable build.
You will need to install the Android Development Tools (ADT) plugins for Eclipse and then point the preferences at the SDK. That will clear up your Android SDK build errors. Then you just need to add the Samsung SDK jars to your project if they still fail to build. The samples should already have the links to SDK jars in them, so just getting the plugins installed is your first step.
Here's a blog post I wrote on the subject a few months ago. Skip to the TL;DR part. But, the short answer is, add the ADT plugins by adding a new install site that points to
https://dl-ssl.google.com/android/eclipse/
You will not be able to install the Native Development Tools component due to a conflict with CDT versions, so uncheck that.
You can try using the Tizen IDE to create the HelloAccessoryConsumer (wearable part) and a separate Eclipse IDE with ADT plugin to create the HelloAccessoryProvider (Android part). Then add the .wgt file which is generated in the HelloAccessoryConsumer project to the assets folder in the HelloAccessoryProvider project.

Categories

Resources