Getting started with Android studio - IDEs, Libraries, & Programming Tools

Hello all.
I am new to developing apps and I was introduced to Android studio, however I am having issues creating a new project. I get the error message "The following dependencies were not resolvable. See your build. gradle file for details. - com.android.support:appcompat-v7:18.0.0". Please, what do I do? Is it better to start learning app development using eclipse? Regards.
Sent from my GT-N8000 using xda app-developers app

Hello!
You need to install Android Support Repository in SDK manager (available under Extras packages). Then insert compile 'com.android.support:appcompat-v7:18.0.0' into "dependencies" section in build.gradle file.
I've found this solution as comment in build.gradle, and it works for me.

Related

confused on how to build this libusb driver

I have found a libusb project which was ported to Android:
https://github.com/monaka/libusb-compat-android
It includes an Android.mk, and after being built I should have a binary from examples/lsusb.c
But, I'm not entirely sure of how to build this and where to begin? I can see this happening in two ways. One, is building this library in a standalone way. Am I to do this with the NDK?
Next, I imagine building it along with the application I am developing in Eclipse using the SDK, there must be some way to bundle this in.
Could anyone provide any guidance on this? I'm a bit confused. I've done all of my development thus far in the SDK and Eclipse.
hedpe said:
Am I to do this with the NDK?
Click to expand...
Click to collapse
Yes, you need NDK. Visit Android NDK for instruction on how to bundle NDK and your java code. JNI is the key.

[TOOL][WINDOWS] ADB Graphical User Interface GUI

Hey guys I know I have posted some other similar programs, but hopefully this will raise the bar on how people use Android Debug Bridge.
So To start off, this program will not root any phone, but can easily break a phone if used improperly.
Secondly, If you need to ask what a button in the program THEN DO NOT USE IT!
I will only answer questions if they involve drivers or programming bugs, NOT for something like "What is Sync?" because If you do not know, then you do not need to know now.
SEE LINKS BELOW FOR MORE RECENT UPDATES!
This program has some built in ADB functions:
Rebooting- Recovery/Bootloader/Fastboot.
Sync from a folder (If you don't know or have to ask do not use!)
Use logcat
Start up a shell instance (With root if possible.)
Remount (Needs root also)
Flash(Recovery/Boot.img)
Root SOME devices(Using Bin4ry Script Credit to him)
Auto Download Root script
adb shell built in now
cmd shell built in
automatic updates
push files
install apks
get misc system information
Download ODIN for Samsung devices
Detect HTC device correctly for once lol
Application Manager
ADB Learning Center (Under Construction but not beta)
4.0-4.3 Backup Manager (Using adb backup NOT Nandroid)
0Nandroid intergration
Build.PROP veiwer (Soon to be editor too!)
Free device ram and kill background process
MORE TO COME!
___________________________________________________________________
Also a BIG thing for this program is the ability to install ADB and Fastboot into Windows as a command in Command Prompt.
This would allow one to use adb as a normal command from CMD.
E.G "C:\Users\Lab\>adb shell"
Instead of having to CD to C:\android\and all that.
Download the program: Version 5.0.2.26:New Download link[/COLOR]
As far as the newest huge feature in ADBGUI goes, the Application Manager is to be considered Pre-beta and should be used with extreme caution.
Requirements for the Application Manager:
> You need root
> It only works with 3rd Party (Downloaded from google play or other source)
> It does not work with all devices and has some major bugs.
Come on guys give some feed back!
Well enjoy!
Have questions or maybe want to report an issue?
Check out my Discussions Forum here otherwise you can post here at XDA Forums
About ClickOnce:
The core principle of ClickOnce is to ease the deployment of Windows applications. In addition, ClickOnce aims to solve three other problems with conventional deployment models: the difficulty in updating a deployed application, the impact of an application on the user's computer, and the need for administrator permissions to install applications.
ClickOnce-deployed applications are considered 'low impact', in that they are installed per-user, not per-machine. No administrator privileges are required to install one of these applications. Each ClickOnce application is isolated from the other. This means one ClickOnce application is not able to 'break' another. ClickOnce employs Code Access Security (CAS) to ensure that system functions cannot be called by a ClickOnce application from the web, ensuring the security of data and the client system in general.
Some other thinks about ClickOnce:
My ClickOnce application is personally signed, so windows will tell you the publisher is "Unknown" but that is OK. It will install just fine.
[UPDATE Nov. 21st 2013]
Hey guys!!
Just wanted to share some news for all you linux users!
I will be starting a linux conversion for ADBGUI to be fully compatible with Ubuntu/Debian/Arch Linux Distros!
Details: Click Here!
Looks great! Will try as quickly as possible.
Sent from my U20i using xda app-developers app
Is this ADB GUI project open source?
I think this is a really cool idea. Might also help get more users into ADB and willing to learn what things do. (sometimes it's scary when thinking of command line)
Shifted from the bottom of the rabbit hole
thronnos said:
Is this ADB GUI project open source?
I think this is a really cool idea. Might also help get more users into ADB and willing to learn what things do. (sometimes it's scary when thinking of command line)
Shifted from the bottom of the rabbit hole
Click to expand...
Click to collapse
I will be posting the source on github but it is written in VB.NET. I am also happy to answer questions about the source code.
Required program for the source is
visual studio 2012.
Sent from my SCH-R530U using xda premium
Just updated to version 2
Read about it at urgero.org/node/5
Sent from my SCH-R530U using xda premium
Hey guys!!
Just fixed a bug in ADBGUI about a file not found.
Download Fix
Can also be found Here
Fixed bug with version 2.1:
Would still try to download, even if you selected no.
and added Android Device Discovery
currently working on adding an option to browse sd card and to get device information and battery levels.
Tonight around 11pm central time I will be uploading the source code for this project.
Sent from my SCH-R530U using xda premium
UPDATE:
Check out the new updates at http://urgero.org/node/5!!
Added rooting scripts!!
With downloader (No need to hunt down the scripts!!)
Just updated to 2.4!
added:
Automatic updates!!
Over 400 dpwnloads and no one has anything to comment about?
Sent from my SCH-R530U using xda premium
sandix said:
Over 400 dpwnloads and no one has anything to comment about?
Sent from my SCH-R530U using xda premium
Click to expand...
Click to collapse
Sorry, bro, I thought the same after releasing my first few works... Sadly, that how it seems to be.
To the tool: I think its awesome, haven't had any problems so far. Don't give up!
Sent from my U20i using xda app-developers app
Thank you!
Does anyone have any feature requests?
Sent from my SCH-R530U using xda premium
Just Updated to V2.6:
Added F-Droid for all you Open Source fans!
Also fixed a bug where applications would not install correctly for some devices(Still does not fix all of them)
Download: http://urgero.org/node/5
If you already have 2.4 or higher, just launch the program as administrator and it will prompt you to update, otherwise download 2.4 aat the link above to upgrade to 2.6!
sandix said:
Thank you!
Does anyone have any feature requests?
Sent from my SCH-R530U using xda premium
Click to expand...
Click to collapse
Can you add a file manager to see from your tool all the folders and modify them and files
Inviato dal mio GT-I9070 con Tapatalk 2
I am currently in the process of doing so yes.
Sent from my SCH-R530U using xda premium
Does not work on mine. Dont know why.
it says: "is not valid s Win32."
Please help.
i have winxp 32 bit.
Make sure you run as administrator and that all the files are extracted from the archive. Also make sure they are all in the same folder.
If you could post a screenshot that would be great help
Sent from my SCH-R530U using xda premium
mr_itou said:
Does not work on mine. Dont know why.
it says: "is not valid s Win32."
Please help.
i have winxp 32 bit.
Click to expand...
Click to collapse
I for got to add:
You NEED .NET Framework 4.5, download from microsoft here

Need help in compiling ASOP keyboard.

I have downloaded android keyboard source code. I but it contains some ndk code. I don't have ndk on my PC to compile it. I need someone to compile it and give lib please. I will attach ndk code here.
You can download the NDK from android developers website. https://developer.android.com/tools/sdk/ndk/index.html
There should be a guide for installation, also for compiling with eclipse.
Noted to self thrice via tapatalk
Can't download. my Internet connection is too slow to download huge files.
Sent from my Xperia Neo V using Tapatalk

Coding android apps in jython ?!

Is it possible to code android apps in jython using android studio? I am learning how to program and I read somewhere that Python specifically jython is a good start. Ultimately I want to make an android app but I need and ide and sdk that let me code for android in jython. Any suggestions?? Thanks in advance!
Sent from my iPhone using Tapatalk

Implementing Chrome Custom Tabs?

I am using Android Studio 2.0 to develop an app for my school and I want to use Chrome Custom Tabs to make opening links faster. So far I've downloaded the support library, edited my build.gradle file to compile it, and I can import the support library successfully, but when I start adding code it still gives me "cannot resolve symbol" errors. The guide on Google's dev page is a bit lacking and left me with these questions:
1. Is the code in Google's guide supposed to go in my main class or do I need to make a separate class for it?
2. Does anyone have an example app I can pick apart to see how it's done? The one on Google's page hasn't been very helpful...
Thanks,
Jeff
Use customtabsintent librart
Sent from my Lenovo A6000 using Tapatalk
Did you import the supportlibrary correctly from gradle dependencies?
Here is a example of custom tabs:
github.com/GoogleChrome/custom-tabs-client

Categories

Resources