skip to Main Content

Android Studio – Error creating a new project on Android Studio (Bumblebee 2021.1.1 Patch 2)

when I try to create a new project on Android Studio (Bumblebee 2021.1.1 Patch 2), I get this error: Here is my gradle-wrapper.properties: distributionBase=GRADLE_USER_HOME distributionUrl=https://services.gradle.org/distributions/gradle-7.2-bin.zip distributionPath=wrapper/dists zipStorePath=wrapper/dists zipStoreBase=GRADLE_USER_HOME and my settings.gradle : pluginManagement { repositories { gradlePluginPortal() google() mavenCentral() }…

VIEW QUESTION

Android Studio – Why don't we need storage permission to download a file through DownloadManager

I'm downloading a file through android DownloadManager with de function below. private fun downloadFile() { val downloadManager: DownloadManager = getSystemService(Context.DOWNLOAD_SERVICE) as DownloadManager val request = DownloadManager.Request(Uri. parse("https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf")) downloadManager.enqueue(request) } } The download occurs normally without any storage permissions. Does the…

VIEW QUESTION

Android Studio – File not found exeption Android studio

I am new to coding and I am making a app for a subjet in school, but a error just appeared and I dont know what to do: Here is the error: update failed for AnAction(com.intellij.execution.ExecutorRegistryImpl$ExecutorAction) with ID=Run java.io.FileNotFoundException: C:UserscynavAndroidStudioProjectsTheAlarmappbuildintermediatesapk_ide_redirect_filedebug....apkdebugoutput-metadata.json…

VIEW QUESTION

Android Studio – How to reverse recyclerView items with CoordinatorLayout as root layout?

How to reverse recyclerView items with CoordinatorLayout as root layout? <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity"> <androidx.recyclerview.widget.RecyclerView android:id="@+id/rv_main_students" android:layout_width="match_parent" android:layout_height="match_parent" android:clipToPadding="true" android:scrollbars="vertical" /> </androidx.coordinatorlayout.widget.CoordinatorLayout> and app:reverseLayout="true" not working for recyclerview. Note: I want reverse recyclerView not reverese collection

VIEW QUESTION
Back To Top
Search