Category "android-studio"

Can't find Android Size Analyzer in Android Studio

According to https://developer.android.com/topic/performance/reduce-apk-size, I should be able to install Android Size Analyzer as a plugin, but nothing shows u

Android studio code coverage not showing any Kotlin classes

I have 2 Kotlin based AS projects. One works fine, the other doesn't. Both have an identical structure and gradle config. I'm using Kotlin 1.1.4-2 with AS 3.0b2

Run Android instrumented tests fail

I tried to implement some unit and instrumented tests for my Android application (Java), my unit tests is working fine but instrumented tests are failing: @Run

No tests found for given includes Error, when running Parameterized Unit test in Android Studio

I have tried to run Parameterized Unit Tests in Android Studio, as shown below: import android.test.suitebuilder.annotation.SmallTest; import junit.framework

"The following SDK components were not installed: sys-img-x86-addon-google_apis-google-22 and addon-google_apis-google-22"

I'm Windows 7 64-bit user and I got Android Studio problem after I update the latest version of Android Studio and SDK components.. The following SDK component

First run of Android Studio. Unable to access Android SDK add-on list

After trying to reinstall Android Studio, everything was fine until the first run. While it was 'fetching Android SDK component information', it gave me an er

How do I stop Android Studio from highlighting specific words when double clicking?

Whenever I double click on whatever contains more than one word in it, Android Studio will highlight the word it thinks I'm clicking on rather than that entire

License Agreement finish button is disabled in Android Studio

The license Agreement finish button is disabled in Android Studio.I cannot accept the License Agreement in Android Studio because I think my finish button is di

Android Studio gradle takes too long to build

My Android Studio project used to build faster but now it takes a long time to build. Any ideas what could be causing the delays? I have tried https://stackover

keytool error: java.io.FileNotFoundException: C:\AndroidWorkspace\androidKey\public.jks (The system cannot find the path specified)

I am to trying to create a signed app in Android Studio, but i am stuck at this error which says keytool error: java.io.FileNotFoundException: C:\AndroidWor

How to retrieve Key Alias and Key Password for signed APK in android studio(migrated from Eclipse)

I have an android app currently published in Google Play which I update periodically. I follow the following process to sign the app before a new push: Press

JetBrains IntelliJ Error launching Intellij Platform - Error invoking main method

I have IntelliJ IDEA and other JetBrains products installed and they worked great (PyCharm, Android Studio, Clion, WebStorm) till today, now I just get opening

Google Play Console Package Name

I have one application of Trivia, the package name is es.test.triv.sh, there are all things for play one player, I have add a new feature is a multi-player opti

Android Studio code style put a space before comment text in a multiline comment

I need help in configuring my coding style settings in Android Studio. I am sharing with you the screenshot of a git diff view in Android Studio; the left side

Implementing search bar and getting 'java.lang.Object[] java.util.Collection.toArray()' on a null object reference error

I am new to android studio and I have been trying to implement a search bar onto my app and I've come across a building error. It install's fine but when I try

Out of memory error: Java heap memory on Android Studio

How do I fix java.lang.OutOfMemoryError: Java heap space when compiling my Android project? I get this after I upgraded to version 1 of Android Studio. But, I d

How do I return function value in lifecycle-aware coroutine scope in Android?

fun returnValue(): Int { viewModelScope.launch { return 1 // Something like this } } I want to return some value in a viewModelScope like the

continue jacoco code coverage report after fail test case

Code coverage report not generated when Test case failed in android studio using Jacoco plugin.How to skip failed test case and generate code coverage report.

Flutter doctor error - Android sdkmanager tool not found. Windows

I have been going round in circles with this issue, there are so many that people have issues similar to mine, but not one of them is the same. I am trying to g

Android studio layout editor. Waiting for build to finish

Android studio layout preview is stuck in waiting for build to finish even though there is no build happening. I have invalidate and restarted android studio. I