New answers tagged android-studio
-3 votes
RN 0.70.15 crushes on 16kb devices
If you're facing this Android 16KB page size Play Store rejection with React Native, there's a detailed step-by-step fix guide available here: https://community.7edge.com/t/react-native-android-16-kb-...
0 votes
Android Studio not remembering last variant
I found the answer. My name of my root directory on my Mac got changed and this caused some local preferences to not be saved for Android Studio (and a couple other apps). Once I got this root ...
0 votes
Execution failed for task ':vision-camera-code-scanner:compileDebugJavaWithJavac'
I got the solution! Use React Native Camera Kit Library.... This library is working fine.
0 votes
Waiting for VM Service port to be available
Check your developer options on the device. In my case, the logger buffer size was set to off. Setting it to 256K fixed "Waiting for VM Service port".
0 votes
Android Studio. Gradle Sync error: Could not move temporary workspace
Looks like security software blocking the script -- here's a quick workaround using the default Windows PowerShell. # Command to execute # powershell.exe -ExecutionPolicy Bypass -File .\FixGradle.ps1 ...
0 votes
How to add Hilt dependencies on "libs.versions.toml" file in android studio
By default, this plugin is configured to use KAPT instead of KSP, so we fix this issues by following these steps: When using KSP with Hilt, enabling enableAggregatingTask ensures proper code ...
2 votes
How can I run a Flutter application in a Flatpaked Chromium browser in Android Studio?
We can work around the required executable by creating a shell skript #!/usr/bin/env bash flatpak run io.github.ungoogled_software.ungoogled_chromium "$@" Create it at a location useful to ...
0 votes
How can you view the actual Bitmap on Android Studio 3.2?
One can take heap dump using adb shell am dumpheap -b png <packagename> /data/local/tmp/<FileName>.hprof pull the heap dump using adb pull /data/local/tmp/<FileName>.hprof And then ...
0 votes
How to extract apk from android studio emulator
Invoke AS's Device Explorer,[1] then:[2] #!/system/bin/sh adb pull $(adb shell pm path example.example | sed 's/^package://') Citations reddit.com/r/AndroidQuestions/comments/ezjs9x/comment/fgor2vk ...
0 votes
git add . fails with Gradle fileContent.lock failed to insert into database and permission denied
The problem was that my .gitignore did not exclude local Gradle cache and Android Studio metadata directories. Adding these rules fixed it: .gradle/ .gradle-user/ .gradle-user-2/ .android-home/ .idea/ ...
0 votes
Could not find com.android.tools.build:gradle:7.3.3. error found in build.gradle file
https://docs.gradle.org/current/userguide/compatibility.html Mysteriously, version 7.3.3 doesn't work with either JDK 11 or JDK 17 (at least in Windows 11). Replace the plugin with version 7.4.2 and ...
0 votes
Flutter: Unable to find the lib folder
Just delete .idea folder from project directory an re run android studio. it worked for me.
0 votes
Flutter Outline completely missing on Android Studio
I think the flutter outline window has now been replaced with a right menu or selecting a widget and pressing alt and enter
0 votes
Android Studio Logcat not showing logs
is AS settings check out if there is your package name or desired tag :D
1 vote
android studio emulator won't start/show up
Happened to me. Emulator was visible in Android studio and also in the command adb devices List of devices attached emulator-5554 device Try killing the emulator adb -s emulator-5554 emu ...
0 votes
Warnings Your Apk Is Using Permissions That Require A Privacy Policy: (android.permission.READ_PHONE_STATE)
they changed the layout: Monitor and improve > Policy and programs > App content
0 votes
How do i change package and app name in Compose Multiplatform?
To change app name in Android (KMP) set android:label in androidApp/src/androidMain/AndroidManifest.xml: <application android:label="Application name" or <application android:...
0 votes
Using kotlin.sourceSets DSL to add Kotlin sources is not allowed with built-in Kotlin
Refer https://github.com/google/ksp/issues/2729 Most likely you would need to set ksp to 2.3.4 or above in your libs.versions.toml file. I recently updated mine to: [versions] agp = "9.1.0" ...
0 votes
How to fix "Can not extract resource from com.android.aaptcompiler.ParsedResource@16fe6971." Error
I had this problem as well. I found that: Build -> Clean and Assemble Project with Tests fixed it. However, I wonder why we need to go searching through multiple XML files looking for an error. If ...
0 votes
hide icons of Project view in IntelliJ Idea
In current version of IntelliJ (2025.3.3), you cannot disable the file icon, but you can disable the visibility icon: Either click on the three dots in the title/menu bar, or right on the title/menu ...
1 vote
Using kotlin.sourceSets DSL to add Kotlin sources is not allowed with built-in Kotlin
Wrong operator. Function call expected. Use .add() or .addAll(listOf(x, y)). import com.android.build.api.dsl.ApplicationExtension plugins { alias(libs.plugins.android.application) alias(libs....
0 votes
Why is Android Studio unable to connect to my Android device despite all troubleshooting steps?
Well I'll add my 2 cents worth as I had this same issue. Tried everything as above and more, still didn't work, gave up and enabled wifi pairing, worked great. Came back this evening, plugged my phone ...
0 votes
Accepted
Google Play warning about 16-KB page size — libgmm-jni.so not supported. How to fix?
The good news is that there is an official, permanent fix that does not rely on Gradle exclusions. Google recently released a major version update for the Maps SDK (20.0.0) which natively handles ...
0 votes
Can you debug your app with a second user?
I had to uninstall the app for the primary user first. Then I could successfully install/debug the app with a secondary user.
1 vote
App Bottom Navigation Bar Overlapping UI Elements on Samsung S24 Ultra
Try using useSafeAreaInsets hook, it handles screen notches, status bars, and other physical screen limitations in React Native. You can go through this official doc for reference - here Example usage:...
1 vote
How can I use Github Copilot in Android Studio?
Adding the answer based on latest version. Latest Android studio version allows to locate the GitHub Copilot plugin from market place. So, its straight forward to install it. Once its done, you have ...
-2 votes
I'm trying to run video by making a video player app with simplified controls, and having issue with findViewById
// Simple Video Player Activity class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout....
Top 50 recent answers are included
Related Tags
android-studio × 90299android × 67863
java × 23042
gradle × 7782
kotlin × 6329
flutter × 4702
android-gradle-plugin × 4546
android-layout × 4358
xml × 2974
android-fragments × 2245
build.gradle × 2126
android-emulator × 2041
intellij-idea × 1912
dart × 1745
firebase × 1599
android-recyclerview × 1324
react-native × 1190
eclipse × 992
android-activity × 982
android-ndk × 959
git × 912
apk × 911
sqlite × 870
adb × 823
json × 779