android-studio-2.0 Questions

5

I've been trying to import a project to Android Studio and this is where I am stuck, there is a similar question on Stack Overflow but it did not provide a solution to my particular error. This i...

30

When I try to run my Android app on an emulator I get this error: /dev/kvm permission denied. I checked the permissions and added the user I am currently logged in with to the kvm group. Wha...
Streetlight asked 18/5, 2016 at 13:16

2

I need to install an app on a physical device from Android Studio without it starting automatically because I need to ensure the device is completely isolated from all outside networks, etc. when I...
Vertebra asked 20/1, 2022 at 23:28

15

Solved

I am not able to debug an app on my device (Asus Zenphone 2) after I updated android studio to 2.0. I keep seeing below message in debug tab right after I click on debug icon in Android studio. Me...
Dragrope asked 19/4, 2016 at 16:7

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 debugg...
Ten asked 15/4, 2016 at 12:53

9

After many hours of researching I am finally consulting official help. I have a RecyclerView.Adapter and RecyclerView.ViewHolders that worked perfectly. But for some reasons I do not understand, R...
Eurystheus asked 25/4, 2016 at 12:4

8

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: Inte...

5

Solved

It seems to be that in the latest version of Android studio, Google includes a new skin for the emulator. I noticed that their is a side panel at the right of the emulator. In my case, this pan...

5

Solved

I use the following Gradle script to make some modifications to the AndroidManifest.xml at compile time. In this example I want to inject a <meta-data> element. The code is based on this answ...

15

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 no...
Undercarriage asked 20/6, 2016 at 3:48

4

Solved

I have been running Android Studio 1.5.1 doing development on a WMWare copy of Windows 2012 R2 and everything works fine. I've been able to run the device emulator with no problems and start variou...
Sternforemost asked 19/4, 2016 at 20:47

5

Using gradle wrapper 2.10, and Android Gradle build tools 2.0.0-beta7 2.1.0 From my build.gradle: buildTypes { all{ minifyEnabled true proguardFiles = [getDefaultProguardFile("proguard-android...

9

Solved

I've created an Android app in Android Studio, and it has created these styles by default: <style name="AppTheme.NoActionBar"> <item name="windowActionBar">false</item> <ite...

1

Solved

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...

2

I keep getting the error noted above when I try to run a virtual device. My CPU does support virtualisation and it is enabled. I have ran a virtual device on eclipse before but, for some reason,...

12

Solved

I have just upgraded (i.e., installed a full new version) my Android Studio from 1.5 to 2.0. The upgrade seemed to go smoothly, but I am having trouble with my project when I open it, when Gradle i...
Guillermo asked 8/4, 2016 at 14:37

11

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...
Mich asked 8/4, 2016 at 9:21

3

Solved

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; ArrayLi...

3

I use Android Espresso Tests with latest Android Studio 2.1.2 and Tests are running ok but it does not seems like the standalone test app returns back the results to reflect back to Android Studio ...

6

Solved

Instant Run is a new feature introduced for reduce time for run and debug app. I have all the required configuration for enabling Instant run, but it is not enabled on Android Studio. Here is my co...
Oyster asked 8/5, 2016 at 17:28

6

Solved

Split lib_main was defined multiple times In "com.android.tools.build:gradle:2.0.0-alpha3" build success, But the errors that occur in the "com.android.tools.build:gradle:2.0.0-alpha5". final...
Desmid asked 15/1, 2016 at 2:39

6

I came across this exception while adding espresso to an android project. I already try the link that comes with this exception **Conflict with dependency 'com.android.support:support-annotations'...
Cinquefoil asked 11/4, 2016 at 23:28

4

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 ...
Trefoil asked 2/2, 2016 at 12:8

4

Solved

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 b...
Cavendish asked 13/4, 2016 at 8:14

14

Solved

I have a problem after migration from android studio 1.5 to 2.0 In one of my project (only one) i can't use android studio run button, because then, build fails on gradle task "transformClassesW...
Presentational asked 13/4, 2016 at 9:7

© 2022 - 2024 — McMap. All rights reserved.