Questions tagged [android-support-library]

The Android Support Library contains backported APIs from newer platforms and APIs that offer utility functionality.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

Android MenuProvider adding menu items out of order when resuming activity w/ fragments?

Has anyone seen this? Feels like a bug in the Android MenuProvider. Activity A has menu items 1 & 2. Fragment A in Activity A has menu items 3 & 4. Menu items are in order: 1,2,3,4 ...
kenyee's user avatar
  • 2,329
0 votes
0 answers
98 views

Trouble accessing shared Kotlin Multiplatform Mobile (KMM) code in iOS static library

I’ve been working on a Kotlin Multiplatform Mobile (KMM) project and have successfully shared common code between an Android app in Android Studio and an iOS app in Xcode. However, I’m facing an issue ...
Raja Yendluri's user avatar
0 votes
0 answers
18 views

FragmentTransaction.add() issue while setting parameters for ContainerView and Fragment Class

I have tried to import android.support.v4.app.Fragment, but it doesn't allowing me to import that. This is my MainActivity enter image description here package com.example.saveload3; import android....
PRO GM's user avatar
  • 1
1 vote
1 answer
305 views

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction

Caused by: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction i'm getting ...
mm m's user avatar
  • 71
0 votes
0 answers
20 views

why android.support.v4.media in androidx library?

I am quite curious why packages android.support.v4.media and android.support.v4.media.session in the list of androidx packages, packages link: https://developer.android.com/reference/androidx/packages ...
Leopold Lee's user avatar
0 votes
0 answers
84 views

Missing support tools for Android Studio Flamingo: how can I include find places on map feature in my app?

I am trying to create an android application that includes find places on map, for that i might need to have the support tools downloaded, but i cannot find the support tools through the SDK tools. I ...
Narcisa Costache's user avatar
0 votes
0 answers
14 views

What does "supports compatible features on older versions" mean?

[Android official document says "Allows access to new APIs on older API versions of the platform (many using Material Design)."][1] For example, [android:backgroundTint][2] is available to ...
Hong's user avatar
  • 17.9k
0 votes
1 answer
41 views

Android Play In-App Review pop up not supporting dark mode

How to support dark mode for In-App review flow (review pop up) when application is in dark mode? I have implemented android play in-app review flow. Flow working correctly but review pop is shown in ...
Ashvin Patel's user avatar
0 votes
0 answers
64 views

android application is not installed in android 12 and 13 after changing the targetsdkversion 30 to 33

My IDE: Android studio My application is currently in minSdkVersion 16 targetSdkVersion 30 compileSdkVersion 30 so, that i am upgrading version 30 to 33 targetSdkVersion 30 -----> 33 ...
vignesh's user avatar
  • 11
0 votes
0 answers
61 views

RN-0.70.6 error- Execution failed for task ':app:processDebugResources'

Just upgraded the RN-0.63.3 to latest RN-0.70.6 giving Execution failed for task ':app:processDebugResources'. error with A failure occurred while executing com.android.build.gradle.internal.res....
RAHUL RAJ's user avatar
  • 119
0 votes
1 answer
107 views

How to fix distorted R.drawable icons when updating app from API 8 to API 26+

I am trying to revive and revise a 10+ years old app (Android 2.2, 4.1) that was displaying and functioning fine back then but now, when installed on an Android 8.1 device, it exhibits the following ...
WebViewer's user avatar
  • 791
1 vote
0 answers
163 views

SPLUNK MINT throwing ssl error in Android studio

when I run my program its throwing "ssl error" and "remote host terminated the handshake". Currently I am using the below library in build.gradle. I have tried upgrading to 5.2.5 ...
Meena kovaski's user avatar
0 votes
1 answer
203 views

How to know which Support Library version my Android app is using?

In my gradle.properties I have this: android.useAndroidX=true When I Make Project, I get BUILD SUCCESSFUL. From Android Studio, I go to Refactor > Migrate to AndroidX... I am getting 15 references ...
Jaime Montoya's user avatar
0 votes
1 answer
162 views

get location coordinates without GPS

My question is can you get location coordinates latitude and longitude using WIFI or any other source when location is off or disabled. Basically I want to get current location when the GPS is not ...
Muaz Khan's user avatar
1 vote
1 answer
440 views

Querying the mapped value of provider(interface java.util.Set) before task ':app:processDebugGoogleServices' has completed is not supported

https://github.com/MrAryan8728/Ecommerce This is my github repo link.I am getting the error in the app. Plz anyone help me in solving it.
Aryan Tiwari's user avatar
0 votes
1 answer
148 views

How can I use androdx at api android level less than 28?

everyone, i am a newbe in the Android development (java, android studio). I want to create an app with minSDKversion 25. Am I correct in understanding that I can't use AndroidX for this and ...
Vit's user avatar
  • 1
0 votes
1 answer
115 views

Could not find 'androidx.support:support-v4:+' Can anyone help me out?

While building my project, I get this error :- Could not find androidx.support:support-v4:+ ______ Required by: project :app I don't know why I get this error, even I have added the dependency... My ...
KING's user avatar
  • 75
1 vote
0 answers
363 views

Could not resolve all files for configuration ':app:debugRuntimeClasspath' in latest version of Android studio 2022

I was trying to use my 1-year-old source code in the latest version of Android studio. I'm encountering a lot of issues. I've not been able to find any reasonable solution till now. I would really ...
Gwyn Group's user avatar
0 votes
0 answers
55 views

Android - crash app when using support:appcompat-v7 libraries

I am working on app and when use Activity class for extends activites it is working fine but when I add support:appcompat-v7 to dependencies and extends class from AppCompatActivity, it cause app to ...
Hanzalah's user avatar
0 votes
1 answer
2k views

Error - Zip file app-debug.apk already contains entry 'classes.dex', cannot overwrite

I imported a jar file in app/libs dir and added it as a library in build.gradle file. But when I am building the project getting errors - Zip file 'E:\AndroidProjects\testing\app\build\intermediates\...
Bajrang Hudda's user avatar
-1 votes
1 answer
1k views

import android.support.v7.app.appcompatactivity error

I'm taking a Udemy course and trying to make an Instagram clone in Android Studio. However, the course is a bit outdated and its causing problems with the main activity. The project does not ...
cfiguer055's user avatar
1 vote
0 answers
122 views

stop generating .png from vector drawables in api >= 21

After bumping minSdk version to 21 and removing vectorDrawables.useSupportLibrary = true from build.gradle in whole project, there are png version of vector drawables in the output apk/bundle file. ...
beigirad's user avatar
  • 5,236
1 vote
1 answer
418 views

Count down timer showing negative number error android

all. I am facing a situation that is hardly understandable to me. I made a count-down timer, which is set to move to the next method when the value reaches 0. The problem is sometimes it shows ...
Lucy's user avatar
  • 121
3 votes
0 answers
106 views

Difference between AndroidX Transition library (androidx.transition) and the Android Transition Framework (android.transition)

What is the difference between androidx.transition and android.transition? From https://material.io/develop/android/theming/motion, it says that androidx.transition is AndroidX Transition library, ...
Super Man's user avatar
  • 106
3 votes
3 answers
3k views

Failed to resolve: com.android.support:appcompat-v7:31.0.0

I'm trying to add Jitsi meet sdk to my android project. i've implementation('org.jitsi.react:jitsi-meet-sdk:5.0.2') { transitive = true } and maven { url 'https://github.com/jitsi/jitsi-maven-...
Long Hoàng Gia's user avatar
0 votes
2 answers
477 views

How to know if a support library already supports AndroidX?

I have project in unity, that uses Mapbox, Mapbox includes the following support library: support-v4-25.1.0.aar This library comes as an .aar file and NOT as a gradle implementation command When ...
forstack overflowizi's user avatar
0 votes
1 answer
5k views

can't import android.support.v4.app notificationcompat in android studio?

I was learning android notification tutorial using this link but when I started using Notification notification = new NotificationCompat.Builder(this, App.CHANNEL_1_ID); this code, I can't import ...
Mahi's user avatar
  • 1,402
0 votes
0 answers
485 views

This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project,please retry with version 2021.1.1 or newer

This is the error shown to me when i try to open my project. This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project,please retry with version 2021.1....
Huzaifa Hassan's user avatar
1 vote
2 answers
1k views

Why doesn't Android Studio see 'android.support.design.widget.CoordinatorLayout'?

I'm a beginner developer in Android. I included 'com.android.support:appcompat-v7:28.0.0' and 'com.android.support:design:28.0.0' in build.gradle. build.gradle: plugins { id 'com.android....
ramgab's user avatar
  • 11
2 votes
1 answer
338 views

Play Store: App has been removed for violating Location permission policy

Our app has been removed from the play store due to the violation of the location permission policy. According to their rejection mail, we have been using the user's background location but actually, ...
Kamal Kant's user avatar
  • 1,041
0 votes
0 answers
198 views

Caused by android.view.InflateException on Android 10 API level 29

My app runs on every API level, but failing to load on some specific devices sometime. this time it's failing to find resources which are already there on a HUAWEI device, with device details as ...
Wajid's user avatar
  • 2,255
0 votes
1 answer
110 views

Can I use an AndroidX-compatible library with a non-AndroidX-compatible application?

I am an author of a Java library for Android. I would like to stop using Android Support Library in my library and change it to AndroidX. In other words, I will add the following to my library's ...
Peri's user avatar
  • 273
1 vote
0 answers
470 views

androidx legacy library suddenly in the project

I have an android studio project where I recently changed the minSDK from 21 to 26. Now I saw that the project has a new dependecy 'androidx.legacy:legacy-support-v4:1.0.0' and I really don't know how ...
canan's user avatar
  • 51
0 votes
0 answers
72 views

NoSuchMethodError is thrown when I search for the address of Google Maps

I am working on an application that has Google Maps in it. When I search for my address, I get an error shown in the image below. Is the problem about the app or the Google Maps API? How can I solve ...
Oday Zaatreh's user avatar
0 votes
1 answer
686 views

Gradle Error: '(androidx.sqlite.db.SupportSQLiteOpenHelper.Factory)' cannot be applied to '(com.fstyle.library.helper.AssetSQLiteOpenHelperFactory)'

I'm using the AssetSQLiteOpenHelper library on an Android application but when creating a new instance of the AssetSQLiteOpenHelperFactory class in the following context: RoomDatabase.Builder<...
flyingfishcattle's user avatar
0 votes
0 answers
37 views

Crazy issue with setting up eclipse for android development

I've really searched and could't find a solution for the problem, so i'm using eclipse, if i try to create a new android application project and choose full screen activity it tells me that the ...
serhani ahmed saned's user avatar
1 vote
1 answer
847 views

Android dispatchKeyEvent , onKeyDown callbacks not working with gesture volume control (Huawei mate 30 pro)

I have added dispatchKeyEvent and onKeyDown to detect volume change events inside activity which is working fine with devices having physical volume buttons. In the case of Huawei mate 30 pro above ...
Muhammad Ali's user avatar
0 votes
0 answers
51 views

How to use support 'Support library' in 'Androidx' project

I want to use this open-source library -- https://github.com/xabaras/RecyclerViewSwipeDecorator But it only currently supports Support library and my project uses AndroidX.... is there any way I can ...
Sky's user avatar
  • 137
1 vote
1 answer
364 views

adding com.android.support:design:28.0.0 dependency

I am trying to add Floating Edit text to my app. For this have added 'com.android.support:design:28.0.0' dependency to my build.gradle (;app). I'm getting this following error if try to run the ...
Gagan's user avatar
  • 21
2 votes
3 answers
4k views

"zsh: command not found: fvm" When I open my Flutter project in Android Studio

I've added these to my .zshrc file export PATH="$PATH:`pwd`/.pub-cache/bin" export PATH="$PATH:`pwd`/fvm/default/bin" export PATH="$PATH:`pwd`/bin/cache/dart-sdk/bin" ...
Erland Van Reet's user avatar
6 votes
1 answer
307 views

Android activity back transition brakes when going back 2 screens

I made a simple sample to prove that there is something wrong with ActivityOptions.makeSceneTransitionAnimation(activity). I got 3 activities: A, B & C. Flow is simple: A -> B -> C All ...
Jacek Kwiecień's user avatar
0 votes
1 answer
48 views

How to Make Android App Compatible for all 6735 Android Devices in Android Studio [closed]

This question is already asked by someone but that not feasible for now. My app is using minSdkVersion 26 targetSdkVersion 30 and crashing on Oppo and Nokia 6
Anni kumari's user avatar
0 votes
1 answer
323 views

Android studio not showing Toolbar option after updating 4.2

In Android studio version 4.2 has removed all v7 support library. How to create an action bar using the androidx toolbar?. I have tried, but it's not showing the title or app name on it. Thanks
Mayank Bhandure's user avatar
0 votes
0 answers
47 views

when I try to run my emulator in android Studio I got this error below ?how to resolve that

Could not find aapt2-osx.jar (com.android.tools.build:aapt2:3.3.2-5309881). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/build/aapt2/3.3.2-5309881/...
dell's user avatar
  • 3
1 vote
2 answers
200 views

NavigationView menu item not selecting on click

I've created a NavigationView using android support library v-7:27.1.1 <android.support.design.widget.NavigationView xmlns:android="http://schemas.android.com/apk/res/android" ...
Rajmani Kumar's user avatar
1 vote
2 answers
1k views

Xamarin AndroidX Migration: Crash on App Startup (System.InvalidCastException: AndroidX.AppCompat.Widget.Toolbar)

I recently updated my App to Xamarin Forms 5.0 and therefore to AndroidX. I upgraded all packages, which still referenced the old Android Support Libraries and replaced all occurrences of Android ...
FelixSt's user avatar
  • 13
0 votes
1 answer
309 views

Cannot resolve symbol 'BottomNavigationItemView' in androidx

I removed implementation 'com.android.support:design:28.0.0' and migrated to androidx implementation 'com.google.android.material:material:1.4.0-alpha01' I like to know what is the equivalent code for ...
creativecoder's user avatar
1 vote
1 answer
483 views

Androidx problem with 'com.android.support:design:28.0.0

How can I make the last line to work with androidx` implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'com.google.android.material:material:1.3.0' implementation 'com.android....
Isaac Kim's user avatar
0 votes
1 answer
62 views

Black dead area above app activity since Android 11

Since Android 11, a large black area appeared above my app. I use multiple different activities (mostly RelativeLayout) and all of them are affected, so I don't think it's a layout issue. Switching ...
K. Behrens's user avatar
7 votes
3 answers
30k views

How to access permission allow management of all file in android studio

In Android 10 & 11 SDK 30 How to access all files in android devices and also give permission of Allow management of all files I have try requestLegacyExternalStorage, ...
Raj Shah's user avatar
  • 678

1
2 3 4 5
72