Android studio 2.1.1 gradle project sync failed - Android Themes

I just installed android studio 2.1.1. And when I'm opening a old project I'm getting this error-
Platform and Plugin Updates: The following components are ready to update: Android Support Repository, Google Repository, Google APIs Intel x86 Atom System Image, Android SDK Tools 25.1.7
8:18:58 AM Gradle sync started
8:19:39 AM Gradle sync failed: Could not find com.android.tools.build:gradle:2.2.1
Please help. I'm beginner here...

Related

[Q] andorio studio connect sql server 2005 express with jtds

I have downloaded jtds-1.2.7.jar and import into Android Studio. But it come out error ,ClassNotFound:net.sourceforge.jtds.jdbc.Driver..
Android studio setting image: i.stack.imgur.com/xbaRa.png

Android System Images: Failed to fetch URL

Hey there,
i was about to learn Android dev.
But I wasnt able to set up a AVD since there ist no image to choose.
I found in the build-in SDK from Android Studio that red circle with "!" in it, saying "Failed to fetch URL" at the "Android System Images" entry.
Im working on a Ubuntu 14.04.4 LTS system.
Do you have any tips for me, plz?
Thanks so far
SOLVED
SOLVED
If you run in this problem, too.... Inistall following packages to use 23bit libs on your 64bit machine
Code:
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6

Gradle Sync Error

Hello, I am trying to get android studio working on my debian computer but when I installed it every time I either try to open an existing project or start a new one I get the error "gradle sync failed: process 'command '/usr/android-studio/jro/bin/java' ' finished with non-zero exit value 2. I tried downloading the latest gradle and re-downloading android studio and neither have worked.
Hi Zachdog,
Have you found a solution yet?
I have the exact same problem, been working on it for days now.
I tried:
* for more then a few hours to find a solution online (mainly stackoverflow)
* change a AS compiler setting (heap size) as follows: Configure > Settings > Build, Execution, Deployment > Compiler> Change Build process heap size (Mbytes) to 1024 and Additional build process to VM Options to -Xmx512m
* deleted the MyFirstApp project and started over again
* read the AS idea.log
* searched more on the internet
* 'run' the app, which resulted in: "Error running build: Module 'MyFirstApp' is not backed by gradle"
* restart AS and PC
* in Project Setting > Gradle i have "use defeault Gradle wrapper (recommended)"
* in Project Structure > JDK Location i have "Use embedded JDK (recommended)"
* Re-installed android studio.
Version info:
Ubuntu 16.04.1 LTS
Android Studio 2.2.1
Android plugin version: 2.2.1.
Gradle version 2.14.1
Java Version 8 Update 101
Now i am out of options. Please help me solve these grradle errors.

i got an error

im new to this forum and i need help in my android studio
i always try to upgrade android sdk platform tools and i get this error
java.io.IOException: Cannot run program "C:\Users\wadda\AppData\Local\Android\Sdk\platform-tools\adb.exe": CreateProcess error=2, The system cannot find the file specified
i wish u can help me and i wish u link me other forums so i can ask there as well about android studio
Have you specified the path to jdk location on your Android studio?
Goto Files->Other Settings->Default Project Structure.
Under Platform Settings Select Android sdk...under JDK location look if everything is okay.
Unity Dev said:
Have you specified the path to jdk location on your Android studio?
Goto Files->Other Settings->Default Project Structure.
Under Platform Settings Select Android sdk...under JDK location look if everything is okay.
Click to expand...
Click to collapse
im so new to android studio but its on recommended and its C:\Program Files\Android\Android Studio\jre

Is CMake part of Android Studio?

Is CMake part of Android Studio? When I tried to do a Gradle Sync in Android Studio, I got an error that the CMake is too early a version and I need to update it. But I get this error even if I uninstall CMake. This tells me that CMake must be embedded somehow in Android Studio. So, how can I fix this? Please help.
This happens even if I remove cmake from the command line. So it seems that cmake is embedded into Android Studio. So how do I update cmake if it is part of Android Studio somehow?
When running the Gradle Sync command in Android Studio I get an error message that the CMake is outdated and I need to download a later version.

Categories

Resources