Gradle sync failed - Android Studio

Hi,
i was about to learn Android dev, after installing android studio and run it, i get this error message
Gradle sync failed: org.gradle.tooling.BuildActionExecuter.withCancellationToken(Lorg/gradle/tooling/CancellationTokenLorg/gradle/tooling/BuildActionExecuter;
Consult IDE log for more details (Help | Show Log)
what must i do to fix this?
i've just update Android Studio from 1.5 to 2.0 with patched update, not full upadate and i moved my sdk file folder to another drive, couse my drive with default folder of sdk file folder almost full, and i've just configure it in my android studio
Please help me..

Solved
Sorry guys, this is my bad, this error because the sdk instalation didn't instaled completely, so i re-instal android studio and change default sdk folder to another drive with larger space, and now all the trouble is gone

It can eat space, especially on an SSD. Don't forget to check the \users\...\.AndroidStudio* folders, I've had old versions of Studio leaving 500MB-1GB there

Related

Loading a JAR file app

Hi,
I am trying to load a JAR file I created for a college project onto my Diamond.
I created it using Java / J2ME and the GUI was created with NetBeans 6.1. The app works fine on my PC, but for added bonus points with my tutors if I could get it workong on my Diamond it would be brilliant.
I copied the Jar over and it failed to install. I then found "JAD Maker" which creates a JAD file, but this also failed with
"errno=906 Invalid Descriptor"
I have googled this, but to no joy
Any help is much appreciated.
Thanks,
DG.
Same problem installing gmail from m.google.com/mail.. help!!!
I'm having the same issue when I try to download or load a .jar or a .jad file into my diamond.
Also does Diamond have a java machine? Or do I have to download one into the system?
You should open Java(MIDP) manager and install local file in case the file on your Internal Storage.
The jar should be MIDP2 and CLDC 1.0 or 1.1

Help creating virtual sdcard for android emulator

Hi, I'm fairly new at developing android. Im having the hardest time making a virtual sdcard. can someone please give a some tips or a walkthrough. i've read all the how to's n googles dev forum.
ive gotten to the point where im in cmd.exe on windows
i opened the mksdcard.exe
the when i go to type in mksdcard 64M sdcard.iso
it says its not recogized as an internal or external command, operable program or batch file.
CAN ANYONE PLZ tell me whats going wrong. im so anxious to start deving for android!!
It sounds like the directory containing the Android command line tools isn't in your path, so the mksdcard program isn't being found. You'll need to edit your PATH environment variable and add the "tools" directory location to it. The "tools" directory is in the Android SDK directory on your computer, at the same level as the "platforms", "docs", "add-ons", and other such directories.
More details can be found on this under the "Download and Install the SDK" section of the Android developers website at http://developer.android.com/sdk/installing.html

need help setting up eclipse

im trying to learn how to make apps for my phone andim trying to install the sdk and al the tools i need. i installed java jdk i sved it in c:\programfiles.
i then downloaded the sdk zip and unzipped it to c: i then doanloaded eclipse and unzipped it to my desktop. everytime i try to run it it says " a JRE or JDK mist be available in order to run. no java VM was found after searching c:\users\guest\deskpto\eclipse-jee-etc\eclipse\jre\bin\javaw.exe in your path. also how to i update my sdk ...any help is greatly appreciated thank you

I can't edit studio.exe file in Android Stuido 1.3

I'm running Android Studio 1.3 (I think it was the latest version) in a 4GB RAM pc, I've searched about how to make Android Studio take less memory so that I can run it better in my low spec pc, so far I've found the following questions in the website StackOverflow:
***android-studio-is-very-slow***
and
***android-studio-takes-too-much-memory***
In those question people suggested to low the memory value in the `Xmx` attribute from `750m` to `256m` in the studio.exe vmoptions file the folder `/Applications/Android\ Studio.app/Contents/bin/studio.vmoptions` I looked in the offcial documentation here: and there it says that is not recomended to edit those files, they advice to create a custom file, but I don't know how to do this.
Questions:
1) Should I create a whatever.exe vmoptions file in that folder with the change? and what should I do with the original file? and how android studio would know to read from my custom file instead of the original file.
2) In the official documentation says that edit that file but it says that that file is in this path `%USERPROFILE%\.{FOLDER_NAME}\studio.exe.vmoptions and/or %USERPROFILE%\.{FOLDER_NAME}\studio64.exe.vmoptions` but I can't find the file in that path, instead i founded in this path `/Applications/Android\ Studio.app/Contents/bin/studio.vmoptions`.
What I did before asking:
Before asking i tried to edit this file `/Applications/Android\ Studio.app/Contents/bin/studio.vmoptions` but it says that this file is already opened by another program or that it can't be saved.
I did this with android studio closed and I pretty sure that this file it's not opened by another program.

sdk missing is problem in my android studio

i am not able to install android studio. there is showing sdk is missing or out dated ,root directory is not found
please help me

Categories

Resources