[Question] How to add a library to android studio - IDEs, Libraries, & Programming Tools

I am having trouble in adding sliding-menu project library to my app in Android Studio, I was able to add it in Eclipse.
But Studio doesn't work well, it couldn't find the directory to compile according to my build.gradle.

Related

Building itsutils.dll from source

(This thread is cross-posted to the Q&A forum)
Hi everyone,
I'm trying to build the XDA utils tree and itsutils.dll from source in order to play around with it a bit, but have had no luck so far. I've searched through all the forums, but couldn't find anything about building the toolset, only how to develop for actual mobile devices.
I got the source tree for the xda utils project, but the instructions on how to build them (here) are not very clear. What software do I need to have installed? Which libraries? Do I need to install an embedded version of the STL? Where can I find the "preview editions" of Platform Builder 3.0 and 4.0 in order to get the header files?
I'm running Windows XP 32-bit (I also have a 64-bit machine, though I doubt that'll make it any easier), and have installed VS 2005, the Windows Mobile 6 SDK, and eMbedded VC 4.0.
I'd really appreciate any advice or help.
Thanks in advance,
Rob

Softwares required for Android App Development

Hi All,
I am a Software developer(Database Developer) and now i want to dabble in Android app making.
What are the necessary softwares required and programming language.
Please provide me the links for download too.I am on windows 8 pc 32 bit.
PS:I know the basics of Core Java with syntax and can write small programmes like Add,Subtract,Etc:laugh:
There are active threads about IDEs in this subforum ("IDE of choice for newcommers" for instance). I would recommend downloading Eclipse with the Android Development Tools directly from
developer.android.com/sdk/index.html
This package comes with a full Eclipse IDE, which provides the Android SDK including the build tools for Android. For me that has been everything necessary for developing for Android.
I suggest to you to use Android Studio, it is getting an Android Standard.
If you are more familiar with Eclipse you can start with it, but then you should move to Android Studio.
As AVD (Android Emulator) you can use the integrated emulator or use genymotion, that is much faster!
Just download the ADT from Google, it has the SDK and Eclipse in one package.
Hi for a pretty simple way to query databases and display you could have a look at GoAppzone, using the developer notes you can write a functioning app that can query write and delete, to Oracle, MySQL, SQL and OBDC databases,
You can test it out on your phone using Go Appzone showtime. Only downside is you have to pay for the ability to publish apps, The upside is that you can deploy them on all the major phone operating systems, without having to alter your code.
You can also try Unity3D - for a trial run. Unity has the possibility to publish your apps to Android, iOS, etc
raydekk said:
You can also try Unity3D - for a trial run. Unity has the possibility to publish your apps to Android, iOS, etc
Click to expand...
Click to collapse
Yep, Unity3d for Mobile is Free, you can publish on every mobile OS out there.
rahulraj.1 said:
Hi All,
I am a Software developer(Database Developer) and now i want to dabble in Android app making.
What are the necessary softwares required and programming language.
Please provide me the links for download too.I am on windows 8 pc 32 bit.
PS:I know the basics of Core Java with syntax and can write small programmes like Add,Subtract,Etc:laugh:
Click to expand...
Click to collapse
In my case I use Android Studio for Apps Development .It is very good as easy to use.You should download it from http://tools.android.com instead of http://developers.android.com. Current Release is 1.0 RC2 in canary channel. It also have SDK inbuilt. You should have JDK installed and JAVA_HOME defined.
Basic Java and Android Documentation is enough but if you want to use native code you may install NDK.
Unity is only needed for Game Development I use Unity free and my basic knowledge of C# for game development.
---------- Post added at 04:59 AM ---------- Previous post was at 04:51 AM ----------
Crichton333 said:
Just download the ADT from Google, it has the SDK and Eclipse in one package.
Click to expand...
Click to collapse
With release of Android Studio RC2 I don't think ADT will be preferred.Google itself is promoting Android Studio and now it have offline maven repository.Gradle plugin is 1.0 RC1 and studio is very stable now.
---------- Post added at 05:05 AM ---------- Previous post was at 04:59 AM ----------
raydekk said:
You can also try Unity3D - for a trial run. Unity has the possibility to publish your apps to Android, iOS, etc
Click to expand...
Click to collapse
He is asking for Apps Development and Unity is a game engine and only needed for game development.Anyway Unity free is enough for learning as a beginner is not going to use its pro functions like linear lighting.
just SDK(has Eclipse) and NDK from android official site and Java sdk(jre)
Hello
Necessary IDE are Android Studio or Eclipse (with Android SDK). Language (native) is java.
Just download the Android Studio bundle from Google. You will get the IDE and the latest SDK you need to start off. You also need to download the latest JDK as the native language to code is Java here.
You may need to use Adobe Photoshop or Illustrator to design icons or other app graphics as needed.
If you have to develop a videogame, use ide like Unity, it is the best way to begin

Doubts with Using Xamarin to develop Android App

Hi All,
We are developing Android App using C# with Xamarin.
I have task to integrate existing C source with App developed. This done by loading corresponding *.so.
Sorry in advance if these questions are naive....
Questions:
1 > I am using Windows. To generate the *.so what is the suitable IDE? Can the windows be used to generate *.so(static object)?
2> If I were to go with Eclipse , Do I need to install the plugins like SDK ,NDK etc...?
3> Do I need to care for processor architecture's , If need to compile the source?....I mean cross compilation
Thanks
sanddune008 said:
Hi All,
We are developing Android App using C# with Xamarin.
I have task to integrate existing C source with App developed. This done by loading corresponding *.so.
Click to expand...
Click to collapse
I'm not sure if I understand you question but I assume you want to extend an existing app -build in C# using Xamarin- with native android Java?
I'm not sure that's even possible. Xamarin is utilizing mono for android to create android (Linux) executable files. When decompiling my own Xamarin build apk with APK Studio I did see the mono .so libraries, but my own code was compiled. Referenced .Net (Windows!) dll's where added to the apk. I assume the mono libraries deal with how they are used in the compiled C# code.
Since there's no quick conversion I see a few options:
A - Change the Xamarin/C# android project to a library project (dll). Compile it using Xamarin and find out (google) how to utilize this dll using mono for android in your Java development environment (eclipse). There are mono .so files...
B - Convert the Xamarin/C# source to java source code. There are some commercial tools which claim to be able to convert C# to Java. Go java all the way.
C - Stick to Xamarin/C#
I think option A will lead to lots of headache assuming you referenced some .Net assemblies in your C# source. However it might be worth a try. Though keep in mind that if you keep using the Xamarin/C# part, you keep needing the Xamarin license to upgrade/update code in the future.
I would go for either B or C depending on the codebase. If it's a lot of code a Xamarin license renewal might be cheaper then a rewrite (conversion). In my experience code converters are reasonable tools, but I've never saw a one-click conversion happen. There's always extra work to make the converted code even compile.
In conclusion: Mixing Xamarin/C# and native Java code might be technically possible, I would rather make a choice for either one of them.
I can't answer your questions about eclipse and required libraries, but I hope my answer is of some use.
Regards,
Alex

Android app with Gradle in Eclipse

Greetings!
I just started my internship in a company that develops android applications., but i have a problem. My boss insists that i work in Eclipse, but I'm unable to follow instructions from android developers site because my eclipse app doesnt have gradle.
To be precise, my job is to implement push messages into existing app but I'm stuck at these lines:
Add the dependency to your project-level build.gradle:
classpath 'com.google.gms:google-services:1.5.0-beta2'
Add the plugin to your app-level build.gradle:
apply plugin: 'com.google.gms.google-services'
dependencies {
compile "com.google.android.gmslay-services:8.4.0"
}
Is there a way to work around using gradle, and do this other way, or alternatively is there a way to add build.gradle files to my project.
I'm pretty worried because this is my first job, and I'd like to do and learn as much as possible but I'm just stuck. If someone could explain to me step by step what to do when i stumble upon a gradle, would appreciate it immensely.
Thanks
You can try to use Gradle (STS) Integration for Eclipse, but it's very hard
If you need to use Eclipse for Android development it is highly recommended to use ADT plugin: http://developer.android.com/tools/sdk/eclipse-adt.html
It is developed by Google for Android development and was the only choice few years ago. Now they support only Android Studio but you can of course use Eclipse. You may find an Eclipse ADT bundle as well somewhere which is an eclipse integrated with ADT. If I remember well it do have a Gradle plugin but if not then use Gradle STS from Eclipse marketplace
why dont you use Android studio?

Question Best PC software to mod android game

Looking to get started modding android games/apps. Is there any good software for Windows 10?
Apktool, android studio or notepad++ for editing codes

Categories

Resources