Questions tagged [android-studio-2.0]

Android Studio is the official IDE for Android application development. In version 2.0 it is based on IntelliJ 14.

Android Studio is the official IDE for Android application development, based on IntelliJ IDEA. On top of the capabilities you expect from IntelliJ, Android Studio offers:

  • Flexible Gradle-based build system
  • Build variants and multiple apk file generation
  • Code templates to help you build common app features
  • Rich layout editor with support for drag and drop theme editing
  • lint tools to catch performance, usability, version compatibility, and other problems
  • ProGuard and app-signing capabilities
  • Built-in support for Google Cloud Platform, making it easy to integrate Google Cloud Messaging and App Engine
  • And much more

Reference: https://developer.android.com/tools/studio/index.html

In version 2.0 it is based on IntelliJ 14.

347 questions
21
votes
3 answers

Android Studio 2.0 instant run not working but appear this tips?

When click the instant run,appear below tips: you currently have an active Run session of the same launch configuration,do you want to kill the session and proceed with the current launch Anyone else can solve the issue? thanks!
anynew
  • 217
  • 2
  • 8
20
votes
4 answers

Android Instant Run First-time takes too much time to launch app after installed

I have installed android-instant-run introduced in android-studio-2.0 I am getting problem while running my app first time. Its appearing with blank screen for a 5 to 10 seconds then after launching activity. It takes time to run first time only…
Pratik Butani
  • 60,504
  • 58
  • 273
  • 437
19
votes
15 answers

Gradle build error cannot resolve io.fabric

i'm using android studio 2.0. i got this error when i tried to build apk, it used to be worked but now it doesn't. : Could not resolve all dependencies for configuration ':app:classpath'. Could not resolve io.fabric.tools:gradle:1.+. Required…
ranxrose
  • 245
  • 1
  • 2
  • 10
19
votes
3 answers

How to modify a List value while debugging in IntelliJ

I need to change a variable during debugging an application. Until now it was just basic variables which could directly be set. Now I need to clear an array so that isEmpty() returns true; ArrayList someList = new…
17
votes
1 answer

Build local gradle app on remote server in Android Studio

The size of my current project including the dependencies is growing all the time, which means right now it takes around 2 minutes on my local machine to create the current gradle build. We already have a CI system which is building on pushes, but…
Tobias
  • 1,692
  • 12
  • 21
17
votes
2 answers

Starting an app with android studio 'instant run' is very slow

I just enabled instant run for my project. Building and uploading is faster but my app startup time has increased from a few hundreds of milliseconds to a few seconds. I'm generally happy with that compromise. I just wanted to know if I was the only…
mbonnin
  • 6,893
  • 3
  • 39
  • 55
16
votes
4 answers

Android Studio 2.0 launch APK on another device

Since Android Studio 2.0 and its reworked "build / run" mechanism, I can't "launch" an APK on a second device anymore. Once the APK has been loaded on the first device, I can't choose to launch a build to another device. "Run" will target the…
Nino DELCEY
  • 652
  • 1
  • 9
  • 25
16
votes
11 answers

Some file crunching failed, see logs for details

Today I got update for android studio 2.0 in stable version. I update it and it restarted. Then when It opens my existing project, it ask me to update my gradle plugin to 2.0 to get advantages of "instant run" and other features to my current…
Jayesh
  • 3,661
  • 10
  • 46
  • 76
15
votes
1 answer

Incompatible Bitbucket plugin 1.2.1 for Android Studio 2.0/2.1/3.0+

I have updated version of my Android Studio to 2.0 and is facing incompatibility issue of bitbucket plugin 1.2.1 when loading Android Studio. Android Studio's Event log is saying: "Plugin Error Problems found loading plugins: Following plugins are…
14
votes
4 answers

Time taken on first run with AS 2.0 and gradle 2.0

Recently i have upgraded Android Studio from 1.5 to 2.0. With that i am using gradle 2.0.0 classpath 'com.android.tools.build:gradle:2.0.0' But there seems some issue with it, whenever i am running my app for first time, it is showing while/black…
Ravi
  • 34,851
  • 21
  • 122
  • 183
14
votes
2 answers

How to stop debug without closing app in Android Studio 2

when I debugging my application and if I click on th Stop button - debugging stopped work - and! - my application closing. (I think android studio just kills proccess). How can I stop debugging without stopping process?
Artem
  • 4,569
  • 12
  • 44
  • 86
13
votes
8 answers

Android emulator(Android Studio) Home button not working and giving logcat - I/WindowManager: Not starting activity because user setup is in progress

Started emulator from Android Studio and it's Home button not working. When I press Home button, in logcat I can see I/WindowManager: Not starting activity because user setup is in progress: Intent { act=android.intent.action.MAIN…
13
votes
4 answers

Gradle version 2.10 is required. Current version is 2.8 Error

Following things are using in the project- The android studio version - 2.0 Preview 4. ANDROID_BUILD_MIN_SDK_VERSION=9 ANDROID_BUILD_TARGET_SDK_VERSION=22 ANDROID_BUILD_TOOLS_VERSION=22.0.1 ANDROID_BUILD_SDK_VERSION=22 classpath…
MANISH PATHAK
  • 2,602
  • 4
  • 27
  • 31
12
votes
1 answer

Unable to resolve imports from external dependencies in Android Studio 2.0 Preview 5 + Preview 6

After upgrading from the last Android Studio 2.0 preview to Preview 5 I'm having trouble with the imports from the android.support.wearable package. Both the main app and Wear app builds and run just fine, but the editor in Android Studio complains…
Roy Solberg
  • 18,133
  • 12
  • 49
  • 76
11
votes
1 answer

SVG file warning message in Android Studio editor

I'm using Android Studio 2.0 with SVG2VectorDrawable: If I open a svg file for edit from the \RAW resource folder, the file i underlined with the red color and a warning message "element svg must be declared" is shown as below: What can I do to…
Seraphim's
  • 12,559
  • 20
  • 88
  • 129
1
2
3
23 24