Questions tagged [android-studio-2.1]

Android Studio 2.1, the latest version of its integrated development environment (IDE), with support for the Android N developer preview and faster Instant Run.

Android Studio 2.1 includes the following new features:

- N Developer Preview Support:

Android Studio 2.1 is the best IDE to test and validate your app with the N Developer Preview. Get the latest versions of the preview SDK, experiment with the new Java 8 support, and gain access to the only official Android Emulator able to run N Developer Preview Emulator System Images to help in your testing.

- Instant Run:

For those of you who enjoyed the fast edit, build and deploy cycle with Android Studio 2.0, Instant Run now can now update incremental changes to your app code significantly faster.

More Details: Android Studio 2.1 supports Android N Developer Preview

266 questions
144
votes
1 answer

Rendering Problems Exception raised during rendering: com/android/util/PropertiesMap

I have recently updated my Android Studio to 2.1.1 and I noticed my layout previews weren't working anymore, so when I checked it showed a message saying: Rendering Problems Exception raised during rendering: com/android/util/PropertiesMap…
Jess Yuan
  • 1,631
  • 2
  • 12
  • 16
68
votes
6 answers

How to enable Jack (Java Android Compiler Kit) in android studio

I am updated my androidstudio 2.1 stable.As per Android Studio 2.1 supports Android N Developer Preview Android studio 2.1 support Jack (Java Android Compiler Kit) compiler . How to add or use Jack in android studio? NOTE: The Jack toolchain is…
55
votes
36 answers

Session 'app' error while installing APK

I am having difficulty importing a project written on Android Studio 1.1 into Android Studio 2.1.2. I keep getting this error whenever the gradle is building before testing the app on a tablet. Below is a screen shot of the error. Does anyone know…
Randall Reynolds
  • 550
  • 1
  • 5
  • 5
33
votes
8 answers

Android Studio - No Target Device Found

I'm having trouble getting an Android app that I developed working on my phone. (Android Studio on Windows 7 trying to run the app on Samsung Note 3 running Android 5.0) Here's what I've done so far: Turned on USB debugging and allowed unknown…
user5393970
33
votes
16 answers

Error: Please provide a path to the Android SDK

After installing the Android studio and launching it I am getting this error. I cannot specify the path to the SDK. I have tried giving the path as :C:\Development\Android\android-sdk-windows\platform-tools\" but the path is invalid
maninekkalapudi
  • 958
  • 2
  • 10
  • 23
31
votes
9 answers

Android Studio 2.1 debugger does not show local variables

I am trying to debug over network in Android Studio. I connected via port 5555 and generally it is possible step through break points. But it often takes minutes just to execute one line of code and the other thing is that I don't see any variables…
4ndro1d
  • 2,926
  • 7
  • 35
  • 65
30
votes
7 answers

Resolving problems with Android Studio freezing constantly

I have 8GB of RAM and 500GB hard disk but when I am using Android Studio it still freezes so much that I am unable to do my work. I have reinstalled the software without any improvement. I also formatted my system and reinstalled Android Studio…
Nishtha
  • 393
  • 2
  • 5
  • 11
26
votes
7 answers

Sources for Android API 24 Platform not found (Android Studio 2.1)

In Android Studio 2.1 I was using API 24 just fine, then suddenly started seeing "Sources for Android API 24 Platform not found" warning in my AndroidManifest.xml. Rerunning the Android SDK Manager setup in Android Studio, removing other…
Mycah
  • 4,602
  • 5
  • 24
  • 32
25
votes
16 answers

Android Studio: Gradle sync failed: Connection timed out: connect

My Android Studio was working fine till morning, but since tonight I get error saying "Gradle sync failed: Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.". I am not using…
ark
  • 553
  • 2
  • 11
  • 19
25
votes
5 answers

Android Studio Debugger Application Crashes with InterruptedException

While working today, it seemed as if suddenly I could no longer debug our application. The funny thing is, if I ran the app normally it would work just fine. To clarify, I was running the debugger all morning without incident (apart from the…
23
votes
10 answers

Error inflating class CollapsingToolbarLayout

My CollapsingToolbarLayout crashes because of Error inflating class android.support.design.widget.CollapsingToolbarLayout. I updated the android studio last weekend. Before the updated, it works fine. After I updated it, it crashed. However, I tried…
19
votes
7 answers

Android Studio JDK location changes back to 1.7 every time it is updated to 1.8 path

I recently installed jdk 1.8 u92 after Android Studio said it is needed for api24 builds. However, I've run into this issue now. I looked at some other solutions and uninstalled jdk 1.7, added environment variables for JDK_HOME, JAVA_HOME, and…
Asim
  • 6,962
  • 8
  • 38
  • 61
17
votes
1 answer

Android Studio warning when using PackageManager.GET_SIGNATURES

I need to get the package signature, and I currently get it using this code: Signature[] sigs = c.getPackageManager() .getPackageInfo(c.getPackageName(), …
Zoe
  • 27,060
  • 21
  • 118
  • 148
17
votes
3 answers

I am getting this error "your cpu doesn't support vt-x or svm, android studio 2.1.1 in AMD 6300 processor"

I have enabled the virtualization in bios setup but when i try to launch the emulator i am getting the error "your cpu doesn't support vt-x or svm" I have installed Intel haxm too.
user399883
  • 243
  • 1
  • 3
  • 11
16
votes
3 answers

Android Studio Gradle Build takes more than 5 minutes

So I have been working on a simple app in Android Studio and since last couple of days, whenever I click "Run", it takes more than 5 minutes to build. It didn't used to be this slow. I don't know why. It says "Gradle Build Running" and then app is…
1
2 3
17 18