Tag: android-studio

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?

Why is the intel x86 emulator accelerator (HAXM installer) is showing not compatible with windows?

Why is the intel x86 emulator accelerator (HAXM installer) is showing not compatible with windows. I have windows 10 ,64 bit.

Breakpoints not getting hit in Android Studio

I’m using Windows 7 and have recently switched from Eclipse to Android Studio. I am now having trouble debugging. Running Android Studio 0.8.6, I set up a completely default install, I create a default empty project, targeting the ICS SDK, using the new project wizard. I then put a breakpoint in onCreate, click on the […]

How do I prevent Android Studio from automatically collapsing my packages in project navigation?

I have run into this annoyance over and over again and have been unable to find a solution or an answer here for it: When I create a package in my application and then add a package within it, if I do not have a file in the directory already it will auto collapse my […]

Error:Must have one-pixel frame that is either transparent or white in Android Studio

I have just imported a project from eclipse to Android studio. Almost for every second image , android studio is giving the following error. Error:Must have one-pixel frame that is either transparent or white. I am trying to edit my images for last few hours, but couldn’t do it. Can anyone guide me whats the […]

Android Studio – How to disable the scrolling code preview overlay?

In Android Studio (and IntelliJ IDEA), when you hover your cursor in the scrollbar area of the editing window, the cursor changes to a pointing hand and displays a 10-line preview of the code in that location in the file. Here’s a screenshot: As you move your cursor up and down that scrollbar area, the […]

Android studio can't connect through ADB on OSX

I’ve been working a bit with Android Studio on OSX 10.7.5 and it looks very promising. I’ve run into a problem when trying to launch an application on my device however. When clicking the run button, AS claims to be “waiting for ADB”. After a while it times out and says that “ADB is not […]

Gradle error with Android project added as a library (SlidingMenu)

I’ve never used Gradle before so I’m completely lost! I’ve added SlidingMenu as a library and I have access from my project to all the SlindingMenu stuff, but trying to compile will give me this error: Gradle: package com.jeremyfeinstein.slidingmenu.lib does not exist I’m using Android Studio (so IntelliJ) and this is my gradle.build buildscript { […]

How to prevent Android Monitor from automatically opening when I run a project in Android Studio?

This Android Monitor window displays log activity from my phone, so I can see stack trace, etc. when my program crashes. Fortunately my program usually runs without crashing. 🙂 However this means the window is not useful to me most of the time. How can I prevent Android Monitor from opening automatically on every time […]

Why does play-services-location need the android.permission.WRITE_EXTERNAL_STORAGE and android.permission.READ_EXTERNAL_STORAGE permissions?

All I have in AndroidManifest.xml is: <uses-permission android:name=”android.permission.INTERNET”/> <uses-permission android:name=”android.permission.ACCESS_NETWORK_STATE”/> <uses-permission android:name=”android.permission.ACCESS_FINE_LOCATION”/> <uses-permission android:name=”android.permission.ACCESS_COARSE_LOCATION”/> After uploading the APK to the developer console, it adds two new permissions: My build.gradle: apply plugin: ‘com.android.application’ android { compileSdkVersion 22 buildToolsVersion “22.0.1” defaultConfig { applicationId “net.perspiratron.ifpaprofile” minSdkVersion 15 targetSdkVersion 22 versionCode 3 versionName “1.2” } buildTypes { release { […]

Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.