I'm starting a project with my team and we thought about using git to cooperate, anyway we're looking in a more automatic solution (eg. I may mention "Saros" for Eclipse) that automatic sync our project on Android Studio
How can we achieve that?
I don't know too much about source control, but you could have a dropbox file hooked up the the project file in C:/users/androidstudioprojects/projectname. And then you could push from dropbox to the online jenkins code compiler to make sure it's error free. It's still hands on, other than the dropbox portion, but it helps keep version control of your apps and make sure they are error free.
I hope some of this info helps.
Related
I am working with Actor Instance Messaging Platform and for now, I have installed and run it's local server, and also imported and compiled the android app in Android Studio. Now I want to configure the android app to work with the local server I have, but I have no idea where to apply the configurations and settings.
Here is the link to the project's repository in GitHub.
Has anyone ever worked with it or has any idea about how I can integrate these two?
Thanks in advance.
I found the solution to the problem, by the way the application's development team have introduced the solution to this problem in their newly released documentation, which I post the link to it here.
Actor Documentation
I'm fairly new to android development using Android Studio. The examples online say to build with Gradle. I choose Gradle when importing the project but then I get an error saying that it is not a Gradle based project. Does anyone know how I can get over this to run it on my phone?
Pick a sample project to import that has build.gradle file in BOTH the app module directory AND the project root directory.
Strongly recommend rather than importing an existing project, you create a new one from scratch yourself, following along with a tutorial.
Here's a really good first tutorial for Android Studio which is recent (August, 2014) as of this question, so it will all be relevant to the current version of Android Studio.
http://www.codeproject.com/Articles/801078/Hello-Android-The-Hello-World-Application
As far as getting the app onto your phone you can either (a) plug in the USB cable from the phone to your PC and run from Android Studio, or (b) email the app's APK file as an attachment to any email address you check on your phone (such as gmail for example). For the email method, you also need to change a security option to allow apps from unknown sources.
I need to start using Intellij IDEA 13.1.2 for my Android development, but I have to do so in a completely offline environment. I need to learn how to setup Gradle to work in such a scenario.
I understand i need to download the gradle-1.x-zip file but thats about it, im looking for a complete guide on how to setup the Gradle system so that I can create a New project and develop without any attempts to connect anywhere.
Any help appreciated
IntelliJ IDEA now supports using Gradle in offline mode:
You should be able to enable Offline mode without any special configuration. Once you have the resources required to build your project, they will be cached in the Service Directory Path.
I've been looking for a finished/working ImageView on Android that has pinch/zoom behavior. Although there are code-snippets all over S.O. for this I want something a little more finished that I can just build and use.
GitHub, which I've never used before, seems to have candidates. As far as I can tell GitHub is a free, public project-hosting, source-control system, but I'm only interested in downloading and trying out projects on it, which can be done by the "Download Zip" button on it.
I recently tried a project called PhotoView but after getting it all imported into my Eclipse development environment I found it had dependencies on a higher API level than I was using or targeting.
Is there any way to avoid that in the future? I.e., is there any place on GitHub where the developers typically lists technical requirements like programming language, target development environment, compiler or SDK versions, etc, so before bothering to download a GitHub project I can guess whether it's even buildable in my environment?
Edit: In my browser I can see a brief revision history but it looks like it only goes back a few changes so the manifest or other key files aren't always visible. Is the only way to see the project files to download the ZIP file, unpack it and look at it in my development environment on my local PC?
Thanks in advance.
Is there any way to avoid that in the future?
Browse the source code. For example, the manifest file (for the component or a demo app) should indicate the android:minSdkVersion.
is there any place on GitHub where the developers typically lists technical requirements like programming language, target development environment, compiler or SDK versions, etc, so before bothering to download a GitHub project I can guess whether it's even buildable in my environment?
Yes. It's called the project README, and you were already there, most likely, as it is the "home page" of the repository. The amount of documentation any given developer will write for any given component will vary.
You are also welcome to file issues against the project, asking for more documentation on this sort of thing, but if and when that issue will be acted upon will also vary.
readme file in root of the project, and Wikipages of that repositories could help you find out additional information about that repository. But at the end, contributors are responsible to prepare this kind of information and some of them don't care. So, you can look for Android manifest file of the project and check the content in GitHub website before download and unzip it.
I'm recently started working on a school project using IntelliJ IDEA to develop an Android app. Most of the guys in my team (me included) are used to the way visual studio organizes project into .sln files. We've had all sorts of frustrations with IntelliJ mostly because we don't understand how IntelliJ organizes projects. We finally got the project to load reliably without having to make changes to each developers set up by following the steps here:
http://devnet.jetbrains.net/docs/DOC-1186. However, now anytime we get latest the Run/Debug configurations disappear. Anyone having the same problem?
Thanks,
Check this answer.
Make sure that you are sharing your configurations and files from the .idea/runConfigurations directory are added to the version control.