I am using Android Studio and I have no experience at all with Maven.
I have an android project created with Android Studio and I have to make this project a Maven project in order to provide the repository to another partner so they can integrate different partner's work into a one project.
The problem is that I cannot find how to make this maven repository and import my project.
Any one who can help please?
Related
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.
I have a very complex maven project in Eclipse with many modules and submodules and a lot of dependencies to each other and to third party files in pom.xml files. It works well in net browsers. But how can I try it in PC within an Android phone emulator? I have found this Android Studio program, but how can I import my very complex maven project from Eclipse without adding extra file(s) to it (like AndroidManifest.xml,etc) and not to destroy the original structure of the project?Anyway, I could use the File/Open option from menu and I can see the project in AS, but I can't run it. What should I do to run?
If you are trying to migrate an Android application from Eclipse IDE to Android Studio, then the hard truth is there is no easy way. I know because I already did this and it was worth the move.
And if you decide to take the hard route you will need to fully understand the directory structure of your Eclipse project compared to the directory structure of Android Studio projects and how the two IDEs build and deploy the project - because they are totally different and Android Studio uses gradle for its build.
Try reading through the Android Studio Guide and the Migrate to Android Studio from Eclipse.
I found a tutorial to implement pull-to-refresh on android app and it says edit your build.gradle file and add the dependencies so it can use the android support library but I couldn't find the build.gradle file where can I find it? And I am using Eclipse.
Google ends the eclipse supports, so it's time to move on Android Studio.
To add dependency in Project, first of all you need to convert eclipse project into the Android Studio project.
https://developer.android.com/studio/intro/migrate.html
After that you can find the build.gradle file in app folder of the project, there you can add dependency for any other supported library.
Google officially declared some years ago that may not be introduced new feature.
Reference url please visit here to learn about android studio
https://developer.android.com/studio/intro/migrate.html
Gradle is just a plugin you can add it in eclipse and build your project using it similar to android studio
you can refer this tutorial to add gradle to your project
Note: It is recommended to use Android studio for android app development as it is google's official IDE for Android app development https://developer.android.com/studio/features.html
I am new to gradle. I am trying to integrate an android project which is built with maven on jenkins to gradle. I have two projects, one of them is a library project which is developed by me and the other one is the app, which uses this library project.
It can be done on Android Studio with compile project(':XXX') but don't know how to do it on Jenkins.
Any help appreciated! Thanks
I am trying to use android in netbeans with maven as the build tool. I want to be able to run the applications in netbeans and also run the emulator in netbeans itself. So far i have been using the command line for creating android applications with maven. Any help will be appreciated
thanks in advance
Abhirami
Technically it is possible with stock distribution of NetBeans IDE. Everything Android related will be handled by Maven there (including compilation against correct platform and special goals to deploy).
You will miss some goodies provided NBAndroid for regular Android projects. Some of them are available as you can read at http://www.nbandroid.org/2012/06/did-you-ask-for-maven.html.
are you looking to integrate maven with eclipse?
It's pretty simple. You Just have to follow the instructions here.
for NetBeans -
"NetBeans includes full Maven support since 6.7, including Maven 3 support in 7.0+. You can open any Maven project in the IDE and start coding immediately." as quoted here