Android studio unable to locate adb on ubuntu
location: linuxexchange.com - date: February 9, 2015
I am trying to install Android Studio on my ubuntu 14.
Following the official guide While the setup wizard is downloading the components, I get this message:
....
Updated ADB to support the USB devices declared in the SDK add-ons.
Stopping ADB server failed (code -1).
Unable to run 'adb': Cannot run program "/home/muser/Android/Sdk/platform-tools/adb": error=2, No such file or directory.
Starting ADB server failed (code -1).
....
There are no Android folder under /home/muser
Why is it searching it in that directory?
How to fix it?
android studio error startup in ubuntu
location: linuxexchange.com - date: May 21, 2013
I had installed android studio in ubuntu 13.04 , it'was so easy but when I launch it a first error was printed in terminal:
ERROR: null
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1269)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1244)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1349)
at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:1991)
at com.intellij.openapi.externalSystem.util.ExternalSystemUtil.refreshProject(ExternalSystemUtil.java:353)
at com.intellij.openapi.externalSystem.util.ExternalSystemUtil.refreshProjects(ExternalSystemUtil.java:228)
at com.intellij.openapi.externalSystem.service.ExternalSystemStartupActivity$1.run(ExternalSystemStartupActivity.java:43)
at com.intellij.openapi.externalSystem.service.ExternalSystemStartupActivity.runActivity(ExternalSystemStartupActivity.java:50)
at com.intellij.ide.startup.impl.StartupManagerImpl$2.run(S
Android studio not working in Ubuntu
location: linuxexchange.com - date: December 5, 2013
I just downloaded Android Studio for Linux from here:
http://developer.android.com/sdk/installing/studio.html
I am running Ubuntu 12.04.
I have Java version 1.7.0_21:
$ java -version
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
When I start Android Studio ./bin/studio.sh I get a little dialog with the Android logo and a progress bar. When that completes, I get a blank window (I assume that's the main window of Android Studio), but I do get another little dialog, which looks correct, showing me a tip about Android Studio.
So basically I cannot interact with the main window of Android Studio because it's completely blank.
These are some crashes that I see in the shell when running ./bin/studio.sh
$ ./bin/studio.sh
org.picocontainer.defaults.DuplicateComponentKeyRegistrationException: Key org.jetbrains.generate.tostring.template.TemplatesManager duplicated
at com.intellij.util.pico
Android Studio / SDK: platformtools (adb, fastboot) give segmentation fault (Gentoo Linux)
location: linuxexchange.com - date: June 12, 2015
I've tried both, the unofficial Gentoo ebuild of Android Studio from the mrueg overlay (android-studio-130.687321.ebuild) as well as the bundled package from http://developer.android.com/sdk/installing/studio.html (android-studio-bundle-130.737825-linux.tgz).
While both install fine and let me run Android Studio itself without any problems, adb (and also the fastboot utility) give me a segmentation fault, no matter if i start it with or without any arguments / parameters (such as "adb version").
I've tried deleting and reinstalling the platform-tools from within the Android-SDK-update-manager, but that also didn't help.
I've tried gdb, but to no avail since adb was built without debug symbols.
I'm running an up to date Gentoo ~amd64 and have used revdep-rebuild to make sure my system is consistent.
Any pointers welcome...
Android Studio 0.8.2 Ubuntu 14.04 64 Bit Cannot Resolve Symbol all android classes
location: linuxexchange.com - date: July 28, 2014
I just built a new laptop and changed from Ubuntu 12.04 to Ubuntu 14.04. I'm running AS 0.8.2 on both machines (old and new). When trying to pick up development on the new machine AS shows Cannot Resolve Symbol errors on all android classes. It builds just fine either through the IDE or through gradle on the command line. But the code completion in the editor shows red all over.
I have the min sdk and the target sdk installed through the SDK Manager. I've built it with gradle 1.10 and gradle 1.12. I have tried backing off the build tools version to 19.1 with no effect. As far as I can see the only difference is that this setup is on 14.04.
build.gradle:
buildscript {
repositories {
mavenCentral()
maven { url 'http://download.crashlytics.com/maven' }
}
dependencies {
classpath 'com.android.tools.build:gradle:0.12.+'
classpath 'com.crashlytics.tools.gradle:crashlytics-gradle:1.+'
}
}
apply plugin: 'com.android.application'
apply plugin
Android studio not working in ubuntu 15.04
location: linuxexchange.com - date: August 5, 2015
I formated my pc 3 times with ubuntu 15.04 and tried installing the Android Studio but its not working.
I am jut seeing the message Gradle : Resolve dependencies. its running for long time more than 30 mins.
and once its done i try to run the application. but its never build the project just seeing the message processing
here is the image
Can't install Android studio 1.0 in Ubuntu 14.04LTS
location: linuxexchange.com - date: January 1, 1970
I follow the step of the link
How to install Android studio in Ubuntu?
but always stuck like the guy below
Android studio not working in Ubuntu
and get the following message several times even if I download the SDK by myself to the android-studio folder.
http://imgur.com/NWJFqto
Does anyone know how to solve this problem while running ./studio.sh ?
Android studio build error on ubuntu install
location: linuxexchange.com - date: January 1, 1970
i have recently installed android studio on my newly installed OS ubuntu 14.10, i installed the main android studio file in my documents folder, and then downloaded and installed the sdk build tools file in the documents folder aswell and linked the two via the sdk in android studio, i also downloaded all the latest apis and build tools, however when i build my first app
Error:Error: Cannot run program "/home/user/Documents/android-sdk-linux/build-tools/21.1.1/aapt": error=2, No such file or directory
and
Error:Execution failed for task ':app:mergeDebugResources'.
/home/user/AndroidStudioProjects/Epic3/app/src/main/res/drawable-mdpi/ic_launcher.png: Error: Cannot run program "/home/user/Documents/android-sdk-linux/build-tools/21.1.1/aapt": error=2, No such file or directory
Any ideas?
Thanks
Android studio not start in Ubuntu 12.04 with NoClassDefFoundException
location: linuxexchange.com - date: December 28, 2013
I have Ubuntu installed through Wubi. When I try to start Android Studio it throws me this exception:
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
at java.awt.Component.<clinit>(Component.java:595)
at com.intellij.idea.Main.showMessage(Main.java:190)
at com.intellij.idea.Main.showMessage(Main.java:177)
at com.intellij.idea.Main.main(Main.java:80)
I've read that it could be problem with libxtst6:i386 in 64-bit systems, but I've installed it and it's not work for me.
Any ideas what's wrong?
Unable to install Android Studio in Ubuntu
location: linuxexchange.com - date: April 3, 2015
My operating system is Ubuntu gnome 14.04, ram=4gb, java 8 jdk, jre 8.
When I was installing the Android Studio all was fine but a message appears saying:
Unable to run mksdcard SDK tool
how can i install Android Studio correctly?
thanks
please wait...
Page: 1 2 3 4 5 6 7 8 9 10