Tag: android-studio

How to import the AOSP apps (launcher, contacts,…) into Android-Studio?

Background Google has a website for all of the AOSP apps here, which includes its launcher, contacts etc… The problem I’d like to know how to import those apps. More specifically, the launcher and the contacts apps (though I’d also like to know about others too). Thing is, it’s not that simple. You can’t just […]

Android Studio – IBus prior to 1.5.11 may cause input problems. See IDEA-78860 for details

This question already has an answer here: Resolving IBus Issue – IBus prior to 1.5.11 may cause input problems 7 answers

Android Studio: sound notification on build success

Is it possible to play a sound after my app was compiled and deployed on smartphone in Android Studio / IntelliJ My workaround is to play a sound inside of onStart() method of my StartActivity, but I have to implement (copy/paste) this pattern for every new project. Not realy nice solution.

React-native with Android Studio

I’m totally newbie in React_Native and trying to learn more about it. I tried this tutorial to learn how to work with Studio and React-Native. But still I’m not getting it. How to code in studio and link it with js. Did any body have any idea how to do it or tutorial links or […]

Error:Cause: unable to find valid certification path to requested target

I got the following Error in android Studio 2.2.3 when I sync gradle. Error:Cause: unable to find valid certification path to requested target How can I fix this issue I am Adding my Gradle file also apply plugin: ‘com.android.application’ android { compileSdkVersion 25 buildToolsVersion “25.0.2” defaultConfig { applicationId “com.sample.myapplication” minSdkVersion 16 targetSdkVersion 22 versionCode 1 […]

How to add extra test runner parameter in Android Studio 2.3 instrumented tests

In Android Studio 2.3 there is no field that allows user to setup additional test runner parameters in Edit configuration window for Android Instrumented Tests, however this option was present in 2.2.x version. Is there any other way in new AS (except from running test manually from command line) to add extra runner parameters to […]

Android release Build failing due to shrinkReleaseMultiDexComponents

I’m having real difficulties building a release version of my app. This is part of the output I get when running ./gradlew assembleRelease –stacktrace –debug In Android Studio it spits out the same thing and I’ve crawled the net but haven’t found a solution for this. 17:57:41.664 [INFO] [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Executing task ‘:app:shrinkReleaseMultiDexComponents’ (up-to-date check took […]

Running an AVD from Android Studio on Ubuntu 17.04

I am trying to run an app from Android Studio but the AVD does not start. It hangs on ‘Waiting for target device to come online’ although the emulator loading part finishes (the emulator does not open but the progress bar completes). Output from terminal: brian@brian-desktop:~/Downloads/android-studio/bin$ ./studio.sh Looking in classpath from com.intellij.util.lang.UrlClassLoader@6d5380c2 for /com/sun/jna/linux-x86-64/libjnidispatch.so Found […]

Hiding android.R resources in Android Studio 1.3+ autocomplete

Is it possible to configure Android Studio to display only the @drawable resources that are inside the project folder? The project I’m working on is an Industry project and rarely requires me to use R resources.

Android Studio 1.1.0 Gradle project sync failed Error importing a Gradle project on a OSX

I just installed gradle in this folder: /Users/joanet/Development/gradle-2.3 edit the file launchd.conf sudo vim /etc/launchd.conf to set the variable GRAILS_HOME setenv GRAILS_HOME /Users/joanet/Development/gradle-2.3 then I’ve imported the project https://github.com/NordicSemiconductor/Android-nRF-Toolbox using File -> Import project but I got this error: Gradle project sync failed and Error: Configuration with name ‘default’ not found in Android Studio I […]

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