tagged [android-studio]

How to add new activity to existing project in Android Studio?

How to add new activity to existing project in Android Studio? In Eclipse you just clicked the new button and select the android activity to add new activity. But Android Studio is a bit diferent; I c...

16 Sep at 12:29

Android studio- "SDK tools directory is missing"

Android studio- "SDK tools directory is missing" When I start Android Studio, it displays a window entitled "Downloading components" which says:  "Android SDK was installed to: C: / Users / user / App...

15 Jul at 14:56

Android Studio Checkout Github Error "CreateProcess=2" (Windows)

Android Studio Checkout Github Error "CreateProcess=2" (Windows) Today I've tried to checkout my Github project using brand new Android Studio and ended up with this nasty error : ![enter image descri...

17 May at 17:1

DELETE_FAILED_INTERNAL_ERROR Error while Installing APK

DELETE_FAILED_INTERNAL_ERROR Error while Installing APK [](https://i.stack.imgur.com/F2Isr.png)I am using Preview. I am facing the issue > Failure: Install failed invalid apkError: While installing ap...

20 Jun at 09:12

Filter LogCat to get only the messages from My Application in Android?

Filter LogCat to get only the messages from My Application in Android? I observed that when i use Logcat with Eclipse with ADT for Android, I get messages from many other applications as well. Is ther...

30 May at 14:47

How to set gradle home while importing existing project in Android studio

How to set gradle home while importing existing project in Android studio How to set gradle home while importing existing project in Android studio. While trying to import I need to set up this path. ...

How to view method information in Android Studio

How to view method information in Android Studio In Eclipse, when you hover your mouse over a method, a window would appear with a description of what the method does, what the parameters mean and wha...

8 Jul at 17:1

How to install an apk on the emulator in Android Studio?

How to install an apk on the emulator in Android Studio? How do you install an apk on the emulator in Android Studio from the terminal? In Eclipse we did Now how about in Android Studio?

5 Sep at 06:41

This version of Android Studio cannot open this project, please retry with Android Studio 3.4 or newer

This version of Android Studio cannot open this project, please retry with Android Studio 3.4 or newer This version of Android Studio cannot open this project, please retry with Android Studio 3.4 or ...

16 Nov at 04:28

updating Google play services in Emulator

updating Google play services in Emulator I have gone through many questions like this on Google Play, I am using . My app requires Google play services 8.1 , It compiles fine and when it runs on emul...

How do you synchronise projects to GitHub with Android Studio?

How do you synchronise projects to GitHub with Android Studio? I am trying to synchronise a project that I have on in my Android Studio folder to GitHub, but I am not fully sure what to do other than ...

Android studio logcat nothing to show

Android studio logcat nothing to show I installed Android Studio yesterday, and I tried to use the LogCat to see the logs. But there is nothing to show in the logcat. I used the terminal to run `./adb...

1 Mar at 13:4

Android SDK is missing, out of date, or is missing templates. Please ensure you are using SDK version 22 or later

Android SDK is missing, out of date, or is missing templates. Please ensure you are using SDK version 22 or later Possible duplicate, I just download a Android Studio Zip file like Eclipse, as I opene...

15 Feb at 06:36

Android studio Gradle build speed up

Android studio Gradle build speed up Since the last update (Build from june 25) any changes in the Android studio Gradle is painfully slow. And it also seems to autotrack changes when you edit the fil...

22 Jul at 10:54

Restore LogCat window within Android Studio

Restore LogCat window within Android Studio I have recently started to use Android Studio v0.1.1, And i can't seem to find LogCat... Is it gone? Or if not, how can I enable it? If it is gone, is there...

How to change or add theme to Android Studio?

How to change or add theme to Android Studio? I have just installed Android Studio in my Window 7 64bit. When I launch the application the background of the screen where we write the code is white. I ...

27 Feb at 16:0

How to test android apps in a real device with Android Studio?

How to test android apps in a real device with Android Studio? I started to develop in android with `Android Studio IDE`, I tested my apps on the `emulator` and works fine, but when I tried to test th...

22 Feb at 02:58

How to import an existing project from GitHub into Android Studio?

How to import an existing project from GitHub into Android Studio? I've just imported the "EdgeEffectOverride" project from Github into Android Studio. This is the screen shot. ![enter image descripti...

28 Mar at 12:21

Syncing Android Studio project with Gradle files

Syncing Android Studio project with Gradle files I was working on a project, and then I got a prompt to update Android Studio. After I did that, I started getting this error when trying to run my app ...

8 Jun at 06:57

How can I convert a part of Java source file to Kotlin?

How can I convert a part of Java source file to Kotlin? In my Kotlin project, I have some parts of Java code that I want to convert to Kotlin. The menu item that converts the Java file to Kotlin is di...

11 Jun at 16:47

How to show DatePickerDialog on Button click?

How to show DatePickerDialog on Button click? I'm developing an app that requires user to select date(dd/mm/yyyy). I want to show a dialog box with DatePicker on button click. once date is selected it...

How do I convert 2018-04-10T04:00:00.000Z string to DateTime?

How do I convert 2018-04-10T04:00:00.000Z string to DateTime? I get a date from a JSON API which looks like this "2018-04-10T04:00:00.000Z". I want to convert it in order to obtain a Date or String ob...

Manifest merger failed : uses-sdk:minSdkVersion 14

Manifest merger failed : uses-sdk:minSdkVersion 14 Since downloading the latest SDK and installing Android Studio, my project fails to build. I get the following message: ``` Error:Gradle: Execution f...

How to debug in Android Studio using adb over WiFi

How to debug in Android Studio using adb over WiFi I'm able to connect to my phone using adb connect, and I can adb shell also. But when I go to Run->Device Chooser, there are no devices there. What s...

How to open Android Device Monitor in latest Android Studio 3.1

How to open Android Device Monitor in latest Android Studio 3.1 Recently I updated my android studio, after the update, I am unable to find android device monitor option in the tools section. In the p...

30 Mar at 12:18