Tag: android-studio

Android Emulator does not work on Ubuntu after upgrading Android Studio to 2.0 – Qt library not found

Today, I updgraded my Android Studio installation to version 2.0. I updated it manually (download the .zip, because the update mechanism just telled me that there is a new version but offered no possibility for direct update in Android Studio). When I now try to start an emulator, I receive this error message: ERROR:./android/qt/qt_setup.cpp:33:Qt library […]

Where is the build.gradle file located for my android project?

Where is the build.gradle file located for my android project? I’m trying to follow along with this tutorial but can’t make necessary changes to my build.gradle file to use the support library.

Robolectric Unit Test failing with Android Studio 2.3 updates

All my Unit Test started throwing this error: No such manifest file: build\intermediates\bundles\debug\AndroidManifest.xml java.lang.NullPointerException at org.robolectric.shadows.ShadowAssetManager.getAndResolve(ShadowAssetManager.java:375) at org.robolectric.shadows.ShadowAssetManager.getResourceValue(ShadowAssetManager.java:117) at android.content.res.AssetManager.getResourceValue(AssetManager.java) at android.content.res.Resources.getValue(Resources.java:1347) at android.support.v7.widget.AppCompatDrawableManager.loadDrawableFromDelegates(AppCompatDrawableManager.java:332) at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:197) at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:190) at android.support.v7.widget.AppCompatDrawableManager.checkVectorDrawableSetup(AppCompatDrawableManager.java:711) at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:195) at android.support.v7.widget.TintTypedArray.getDrawableIfKnown(TintTypedArray.java:81) at android.support.v7.app.AppCompatDelegateImplBase.__constructor__(AppCompatDelegateImplBase.java:131) at android.support.v7.app.AppCompatDelegateImplBase.<init>(AppCompatDelegateImplBase.java) at android.support.v7.app.AppCompatDelegateImplV9.<init>(AppCompatDelegateImplV9.java) at android.support.v7.app.AppCompatDelegateImplV11.<init>(AppCompatDelegateImplV11.java) at android.support.v7.app.AppCompatDelegateImplV14.<init>(AppCompatDelegateImplV14.java) at android.support.v7.app.AppCompatDelegateImplV23.<init>(AppCompatDelegateImplV23.java) at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:203) at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:185) at android.support.v7.app.AppCompatActivity.getDelegate(AppCompatActivity.java:519) at android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:71) at […]

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 […]

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