Category "android"

Generated Android espresso test fails to run, AndroidJUnitRunner failed to resolve: Landroidx/test/platform/io/FileTestStorage;

After recording a simple espresso test on my app the test fails to run and I'm hoping someone can guide me as to why this is happening. The resulting error is:

android studio: the emulator cannot be launched more than once

So, I have Android studio installed, and I cannot use the emulator more than once. So once installed, the emulator works very well at the first use. when I cl

Expo app runs on ios and emulator but not on android device

The Expo app will build and run correctly on ios simulator, ios device, and android emulator. but when I build an apk and run on an android device the app freez

Unhandled Exception: DioError PONSE]: Http status error [500]

I made FormData use the dio package to upload images to the database, but my compilation was running "flutter run", an error appeared. After I see the error th

Can firebase messaging services can be android:exported="false"?

Like to confirm if we can set android:exported="false" for instance id service and messaging service. I tested by keeping android:exported="false" and notifica

Why don't my multiline textviews have the same height?

I have 3 textviews with 2 lines. I placed them in the horizontal LinearLayout with same weight. The problem is that when I put text into this TextViews, they ha

How to create GridView using Jetpack Compose

How to create Gridview in Jetpack compose without using recycler view or android.widget.gridview ?

App not installing in emulator after upgrading to android studio chipmunk

So pushing the run app button in android studio compiles the app. But it does not install the compiled app into emulator. App is compiled successfully . > Ta

It is possible to compile with Api 23 (6.0) and to maintain the old permission system (install-time)?

I readed this in the official android blog: Permission Changes With Marshmallow, permissions have moved from install-time to runtime. This is a mandatory chan

Error type 3. Activity class {com.awesome_project/ com.awesome_project.MainActivity} does not exist in react native (Android device)

I've created the project using the following command. react-native init Awesome_Project I've started the packager using the following command. react

I'm getting a "Error inflating class com.google.android.material.navigation.NavigationView"

I have looked at other posts to this problem and I can't seem to solve it, so I'm hoping that its just a case that I am missing something obvious. Here is my c

flutter build apk installing platform-tools repeatedly

I have installed flutter and android-SDK ( without android studio ) on windows-10. Installation completed successfully and everything is fine and no errors in w

Do not concatenate text displayed with setText. Use resource string with placeholders

I am a newbie in android development, I want to provide a number to setText, I am facing this problem and tried many ways to solve it. Code is: public class Gam

Can Xposed be used to intercept calls to native code?

Referring the Frida tutorial. public class MainActivity extends AppCompatActivity { static { System.loadLibrary("native-lib"); } public na

Resource String Color not working programmatically in Android

string.xml Here is my string <string name="bullet_text"><font color="#38d98a">●</font>\t\tCucumber Detox Water (1 glass)\n<font color

AWS Chime (webrtc audio) + Oculus Quest 2 - setStreamVolume does not change real volume even if getStreamVolume shows a different value

I use Amazon's AWS Chime to establish voip audio communication . My actual setup is a bit complicated, I built chime android sdk into a module, with some change

Activity doesn't inherit parent style

I am converting my app from using ActionBarSherlock to AppCompat. My activities that extend AppCompatActivity don't appear to be inheriting the parent style by

Android Studio Could not initialize class org.codehaus.groovy.runtime.InvokerHelper

I am new in Android Studio. After setup, When I am trying to import an application I am getting that error So that gradle not able to build. Error:Could not i

Unable to load Maven meta-data from https://jcenter.bintray.com/org/webkit/android-jsc/maven-metadata.xml Issue in react native

FAILURE: Build failed with an exception. What went wrong: Could not determine the dependencies of task ':app:lintVitalRelease'. Could not resolve all artifacts

Get screenshots of other running apps on android

On Android I can get list of running applications by executing getRunningAppProcesses on activity manager: ActivityManager am = (ActivityManager)getSys