Category "android-studio"

NPE: Attempt to invoke virtual method 'android.content.pm.ApplicationInfo android.content.Context.getApplicationInfo()' on a null object reference

I've this basic app called Navigation that I was trying to make to understand some concepts where there are 2 activities MainActivity and ActivityB MainActivity

Adb keeps restarting with error 'Adb connection Error:EOF'

Adb repeatedly keeps restarting with the following error trace: Adb connection Error:EOF Cannot reach ADB server, attempting to reconnect * daemon not running;

App Crashes when Room DB Entity Class object boolean value is changed to false

I have a Room DB setup in my app and it was working well until recently when the app started crashing. It happens that I have a boolean value as a field in the

How open the emulator on Android studio with the old way ? (Before bumblebee)

In bumblebee version of android studio the emulator is display like in the screen. I cannot move it on an other screen of something like that. In the old way th

Error: could not find the correct Provider<List<Parking>> above this ParkingList Widget

import 'package:flutter/material.dart'; import 'package:flutter_user_profile/home/parking_tile.dart'; import 'package:provider/provider.dart'; import 'parking_t

Bumblebee Android studio Plugin [id: 'com.android.application', version: '7.1.0', apply: false] was not found in any of the following sources:

I updated my android studio from Android studio fox to Android studio Bumblebee 2021.1.1 but none of my projects can run in Android studio Bumblebee 2021.1.1. I

Android Studio very laggy on M1 Apple Silicon chip

I've upgraded to the M1 chip 2020 Macbook Air from a 7th gen. Intel chip pc. Overall, I'm very happy and content with it but when it comes to Android Studio per

I'm getting the error 'cmdline-tools component is missing" and "Android license status unknown" , when i run the command flutter doctor

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3) X cmdline-tools component is missing Run `path/to/sdkmanager --instal

Cant run JavaDoc in Android Studio

When I try to run JavaDoc in android studio I am getting several similar errors. 18 in total. One of these I have pasted below. Can someone please help me fix t

CocoaPods not installed. Skipping pod install

My app was working fine until I did 2 small changes. On Target runner in Xcode I enabled bitcode for the project. I update the Android studio to the latest vers

Android Studio Bumblebee - device manager not opening

I just updated Android Studio to: Android Studio Bumblebee | 2021.1.1 Build #AI-211.7628.21.2111.8092744, built on January 19, 2022 But now I cannot open the de

Error: Cannot find module 'semver' when I run firebase deploy--only functions

When I run firebase deploy --only functions on Node.js command prompt, I got this error. Command prompt error

How to compare date and time in kotlin android?

I have an app on the PlayStore and I am building a feature where the user will not see ads more than a specific number in one day. I am thinking about comparing

Android Studio: An exception has occurred in the compiler (1.8.0_242-release)

While running app, unable to complete compilation. Keep throwing error. I installed jdk and added java_home path, but still get this error. Also, I havent any i

Android View Binding problem ,public class name and and file name is different

screenshot of layout file Link of the screen shot click here FoodItemBinding.java file is generated by compiler , how the public class name and file name is

Android TV emulator managing network speed in runtime

In the old days, when testing my app on an Android TV emulator, I changed the Internet speed through the cellular tab in extended controls (while the applicatio

SpeechRecognizerListener giving Bundle[EMPTY_PARCEL] in onResults(Bundle results) majority devices which have android 11

I am Using speech = SpeechRecognizer.createSpeechRecognizer(getReactApplicationContext().getApplicationContext()); speech.setRecognitionListener(Voi

Add adblock in webview

I'm trying to add adblock in my fragment, and when I'm tryed inisialize webview I got underline this on new AdBlockerWebView.init(this).initializeWebView(webVie

How to Initial android Exoplayer play and pause buttons with custom UI?

I'm using Exoplayer 2.17.1 and want to customize UI. Everything works OK but it can not Initialize the play and pause buttons as you can see in the photo and sh

Manifest merger failed with multiple errors Android studio React native

Hi i am a new reactnative developer and i cant start my new poject in android sttudio i get always the same error here are some pictures. This is mine AndroidM