Adding a new Android project in empty TFS repo - android

I have a project on TFS with structure as follows:
I have cloned it in Android studio like below:
Now I am unable to add a new Andorid project in AndroidApp repo. Any help?

You need first install the VSTS plugin for IntelliJ. This plugin is compatible with Android studio.
Suggest you to use GIT as your version control. Then it's not hard to create the repo and add/import code to your repo with git command line.
Detail tutorial please refer this linkļ¼š VSTS Plugin for IntelliJ IDEA and Android Studio
If you want to use TFVC as your version control, you need to use the TEE CLC to provide the TFVC support.
For a Video tutorial, you could refer this link Getting Started with TFVC inside of Android Studio with the Team Services Plugin You could also take a look at my reply in How to Use TFS in Android Studio

I ve generated from tfs web console . Get the git link . In android studio I already have my project . I ve used git command lines to add it . Also you have to install tfs plugin .
https://www.youtube.com/watch?v=uCOGW5u9tO8
https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/

Related

how to add solution to TFVC on android Studio directly?

I created a project on android studio and install and configured a TFS.
I don't want to add my project to TFS and then on my android studio open it as new from source control.
on my cause android studio and TFS both have been configured and everything is ok but I don't know is it possible to add my project to TFS in Android Studio or not? because when I right click on my solution and select TFVC as you can see on my photo "Add" option is disable.
According to your description, you want to add local code/project/solution in android studio to TFS as TFVC version control.
In the version control bar, there should be a local changes option, select the folder and files, right click and choose commit changes, finally check in the changes. Then your local project should be sync synchronized to TFS server side.
Precondition: you have the correct workspace mapping for local Andriod folder. Besides to use TFVC as your version control, you have to use the TEE CLC to provide the TFVC support.
For a Video tutorial, you could refer this link Getting Started with TFVC inside of Android Studio with the Team Services Plugin Suggest you to refer from (10:00~ 12:00) which talk about related things.
You could also take a look at my reply in How to Use TFS in Android Studio

Android Studio: Cant run cloned github project with samples because I am missing a gradle

I cloned this repository from github and opened it as a new project.
The project view shows no gradle and I cant run the provided samples.
How can I create or add a gradle to the project and run the samples?
The repository directory what you have mentioned is not an android project.
This is the URL for that wheel sample
Android-Wheel-Menu
and also it is developed in Eclipse. So better download it from browser. then load it from Android STUDIO.
What you cloned is not an Android application but a library for Android applications. Thus, it's not intended to be run standalone which is why you don't find a build.gradle. You need to create a new Android project and then follow the steps under "Usage" which explain how to integrate it in a project.
This library is marked as deprecated, so you might want consider using another one.

Git commit to a sub-directory inside a repository by Android Studio

I am using Android Studio Version 2.2 with this plugin "jetbrains-bitbucket-connector_IC-139.224"
I followed this link to connect my android studio to the bitbucket(or git).
Now, What I want to do is push the code to bitbucket direct from android studio but the location (to which I have to push the code) is a sub directory of the
repository. i.e.
myProject/AndroidCode/
where myProject is the root repository and AndroidCode is the subdirectory where
I want to push my code. Any help with this? or suggestion ?

Sync project with private directory of bitbucket.org using Android Studio

I want to sync my project with https://bitbucket.org/ private directory using Android Studio, anyone please tell me step by step, any plugin etc?
Try this youtube video - https://www.youtube.com/watch?v=9nHGCFKtYlw
You should already have git installed on your machine, and anything else is just like using git on the command line. Only difference is android studio will have some 'shortcuts' for you via the UI.
As of android studio 1.0 i dont think a plugin is needed anymore.

Integrate Visual Studio online Git Repository to Android Studio 1.0.2

I am using Visual Studio online for my development process. And I want to integrate my Android Studio 1.0.2 codes in it. However, as I know Android Studio has no TFS Plugin. That's why, I want to use Git for source control.
How can I integrate Visual Studio Online Git repository to Android Studio 1.0.2. What are the steps that should I follow?
First you need to create a Team Project in Visual Studio Online that is configured to use Git as it's Source Control Repository:
So, log on to you VSO account (or create one if you don't have one yet):
Create a new project from the dashboard:
In the "New Project Wizard" that comes up, make sure you select the use of Git:
Wait for the project to be created and click Navigate to Project when it's done. In the project's dashboard navigate to the Code tab:
And on the code tab you'll find your fresh Git repository.
You also get a notification that you must enable Basic Credentials so that git can connect (git doesn't support connecting to the Microsoft Account/Windows Live ID directly). If you haven't done so, now would be a good time.
Open your profile to set that up:
And configure Basic Credentials:
Now you're ready to connect to Android Studio and open your Git repo on Visual Studio Online:
Enter the Git repository location that was highlighted on the repository page before:
And your Alternate Credentials as you had defined them.
Android Studio will now ask you whether you want to create a project here. If you choose yes, you're all setup to start on your new project.
If you choose no, you can move an existing project into the repository root you just created and commit and push it.

Categories

Resources