Sample Header Ad - 728x90

Android Enthusiasts

Q&A for enthusiasts and power users of the Android operating system

Latest Questions

7 votes
1 answers
39359 views
How to regenerate/create adbkey and adbkey.pub from the command line?
I'm starting to mess with Android SDK (on Ubuntu GNU/Linux), and am seeing stuff like running the `tools/android` and its GUI, `adb` or `gradlew` for the first time. So, I'm trying to set this up, and in reading stuff around, I see mention of `~/.android/adbkey` and `~/.android/adbkey.pub`. As far a...
I'm starting to mess with Android SDK (on Ubuntu GNU/Linux), and am seeing stuff like running the tools/android and its GUI, adb or gradlew for the first time. So, I'm trying to set this up, and in reading stuff around, I see mention of ~/.android/adbkey and ~/.android/adbkey.pub. As far as I understand, these are the automatically generated debug keys - but I cannot tell: are these the same on every computer where the SDK gets installed, or are they different? So I look into ~/.android, and they are indeed there; and I guess in a moment of madness, I decided to delete them (I guess to see what happens :)). Anyways, I soon regretted it, and I tried to look up online how to regenerate them. Unfortunately, I cannot find any explicit reference saying what command I should run, in order to get these file generated/recreated. I tried re-running sdk/tools/android, it doesn't reconstruct the keys. Then I tried deleting the ~/.android folder: rm -rf ~/.android sdk/tools/android ... and after re-running sdk/tools/android, the ~/.android folder _does_ get reconstructed, but _not_ the adbkey* files. So that is my question - what tools should I run, to re-generate these keys?
tmnaa (71 rep)
Jun 7, 2014, 06:40 PM • Last activity: May 7, 2025, 02:21 AM
2 votes
1 answers
378 views
Downloading Android SDK without Android Studio
I would like to know where I can get the Android SDK by itself without Android Studio? I already have Android Studio.
I would like to know where I can get the Android SDK by itself without Android Studio? I already have Android Studio.
York (21 rep)
Mar 7, 2025, 06:44 PM • Last activity: Mar 8, 2025, 02:53 PM
1 votes
3 answers
5149 views
Customising a custom ROM
I want to know is it possible to edit a custom ROM from zip and then zipping it again (flashable) to a device. Will it brick the device? Thanx
I want to know is it possible to edit a custom ROM from zip and then zipping it again (flashable) to a device. Will it brick the device? Thanx
ghost_83 (51 rep)
Mar 23, 2019, 07:40 AM • Last activity: Jan 12, 2025, 09:04 AM
1 votes
2 answers
4489 views
How to get android device model number connected to a PC via USB?
How do I get the android phone model number from a Windows PC connected via USB, provided all the USB device drivers are installed properly? Is there anyway to get it via Android SDK?
How do I get the android phone model number from a Windows PC connected via USB, provided all the USB device drivers are installed properly? Is there anyway to get it via Android SDK?
Anindya Chatterjee (203 rep)
Mar 19, 2012, 07:04 AM • Last activity: Dec 5, 2024, 01:00 PM
1 votes
1 answers
1537 views
How to transfer USB debugging authorization permission from one laptop to another?
I have an Android device with Android 5.0. I turned on USB debugging and connected it to one laptop. The android device displayed a pop-up for USB debugging authorization, I allowed it. After a few days, I accidentally broke the Android device screen, it's not sensing any touch input and the screen...
I have an Android device with Android 5.0. I turned on USB debugging and connected it to one laptop. The android device displayed a pop-up for USB debugging authorization, I allowed it. After a few days, I accidentally broke the Android device screen, it's not sensing any touch input and the screen display is quite broken. I have another laptop, and now I want, connect to that Android device to USB debugging. - How do I do it? - Is it possible to force "USB Debug authorization" from the laptop side? - Are USB Debugging Permission given to one laptop stored/saved in that laptop, like a file in the android-sdk folder or platform-tools folder, so that I can copy that file to another laptop and make it works, OR transfer RSA fingerprint, or any other ideas?
hasoma (11 rep)
Dec 13, 2021, 05:27 AM • Last activity: Oct 19, 2024, 05:03 PM
1 votes
0 answers
979 views
Testing Play Integrity API in Android SDK emulator
I want to test my app with the Google Play verdict API, especially `MEETS_STRONG_INTEGRITY`. To test, I plan to use Android Studio as I have always done, but when I create a device, I cannot approve the validations of said app. Does anyone know how to "activate and deactivate" these APIs in the Andr...
I want to test my app with the Google Play verdict API, especially MEETS_STRONG_INTEGRITY. To test, I plan to use Android Studio as I have always done, but when I create a device, I cannot approve the validations of said app. Does anyone know how to "activate and deactivate" these APIs in the Android Studio emulator, so that it allows me to do my relevant tests? For now, everything appears red, implying that it is a vulnerable and unsafe device. Image
J188 (11 rep)
Mar 14, 2024, 02:51 PM • Last activity: Mar 14, 2024, 03:12 PM
0 votes
1 answers
780 views
Does the Android SDK Emulator mount the filesystems on the host or emulate the mounting?
Does the Android Studio Emulator mount filesystems (like `system.img` and `userdata-qemu.img`) or emulate the mounting by making an illusion because I can't find them (the mounted filesystems) on the host at all.
Does the Android Studio Emulator mount filesystems (like system.img and userdata-qemu.img) or emulate the mounting by making an illusion because I can't find them (the mounted filesystems) on the host at all.
asmmo (163 rep)
Sep 30, 2021, 11:28 AM • Last activity: Jan 13, 2024, 12:08 PM
4 votes
2 answers
7210 views
What is the best way to get the Android SDK reference offline on my Android device?
I want to study the Android API on my phone during my frequent and long metro rides (where I cannot connect to the internet). What would be the best way to make the documentation available (I would appreciate being able to use a search option and an index)? Is copying all the documentation files fro...
I want to study the Android API on my phone during my frequent and long metro rides (where I cannot connect to the internet). What would be the best way to make the documentation available (I would appreciate being able to use a search option and an index)? Is copying all the documentation files from my PC to my Android device the best thing to do? Is there any serious app that could provide these features?
wip (329 rep)
Apr 22, 2012, 12:47 AM • Last activity: Dec 12, 2023, 01:39 PM
0 votes
0 answers
249 views
Doorbell AnyHome app does not work on Android SDK Emulator
I am not used to Android Studio/SDK but try to use it for the first time to emulate an app (Doorbell AnyHome) on my laptop. I succeeded to: - create an AVD (Pixel 4 API 32 -a12L) - download the app from the Play Store - run the app and try to connect to the doorbell with sonic configuration. But, ev...
I am not used to Android Studio/SDK but try to use it for the first time to emulate an app (Doorbell AnyHome) on my laptop. I succeeded to: - create an AVD (Pixel 4 API 32 -a12L) - download the app from the Play Store - run the app and try to connect to the doorbell with sonic configuration. But, even if I heard "pairing received", the app keeps sending the sound trying to connect. I only see these warning messages in the terminal and don't know if they are linked to my problem.
WARN - Emulator: Pixel 4 API 32 -a12L - Please update the emulator to one that supports the feature(s): Vulkan
WARN - Emulator: Pixel 4 API 32 -a12L - cannot add library .../Android/Sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so: failed
WARN - Emulator: Pixel 4 API 32 -a12L - *** No gRPC protection active, consider launching with the -grpc-use-jwt flag.***
And my question is, any way to get more debug/trace messages to see the app running/blocking?
Dri372 (101 rep)
Jun 20, 2023, 05:28 AM • Last activity: Jun 20, 2023, 05:36 AM
3 votes
3 answers
17765 views
ADB server version (40) doesn't match this client (41) {Not using Genymotion}
**Disclaimer:** this is not a duplicate to [this SO question][1] as the source of the question is different and the answers don't apply.* I hope, it is correctly placed in AE and that the note about not using *Genymotion* does not confuse the reader. The reason to include it in the title is that it...
**Disclaimer:** this is not a duplicate to this SO question as the source of the question is different and the answers don't apply.* I hope, it is correctly placed in AE and that the note about not using *Genymotion* does not confuse the reader. The reason to include it in the title is that it is so dominantly present in other answers, but it does have nothing to do with this question, as I don't use any emulator including *Genymotion*. ---- So I'm trying to install LineageOS on my Fairphone FP3+ using Windows 10. But: This also applies to other products with other respective versions - in this case, the device uses **Android 10** (with Build number 8901.3.A-0054.20200929). For the installation I need **ADB** - at first to access the fastboot mode . For that, I first installed the latest *Android Studio* from here but actually only needed the *SDK Platform Tools*, which you can find here (not to be mistaken with the *Command line tools* from the link before ). I unlocked the bootloader and ran the following command which is displayed with it's output: D:\Setups\XXXXX\Lineage FP3\platform-tools_30.0.5(ADB_1.0.41)>adb devices adb server version (40) doesn't match this client (41); killing... * daemon started successfully List of devices attached This SO question I mentioned in the disclaimer didn't help, as abd didn't even print any devices - so the setting is quite different. I also went through these linked questions: link 1 , link 2 , link 3 and link 4 among others. **Genymotion** is as said not used here, but referred to in almost any Q/A except here , but also no soulution for me to be found there. I already checked the PC for any software that could have installed another adb version, but neither me nor cmd's where could find any (4 , 7 , 8 ; 9 , 11 or 10 ). --- adb kill-server adb start-server Did also not change a thing as suggested here or here . I restarted all devices and software multiple times and tried getting rid of all adb processes too (6 , 13 or 12 ). I also reinstalled Android Studio to try it without using the cache as suggested in this SO answer from a possibly related question that unfortunately also has no leads. I can imagine that some questions like that one or this SO one could also be helped here.
Cadoiz (201 rep)
Jan 14, 2021, 08:38 AM • Last activity: Jun 1, 2023, 08:39 PM
1 votes
0 answers
195 views
How to download all Android SDK platforms using sdkmanager from terminal without Android Studio?
Need to automate downloading of all available Android SDK Platforms using the ```sdkmanager``` from terminal. For example, an Android SDK Platform 19 can be installed using ```sdkmanager "platforms;android-19"```. How to install all avaiable SDK Platforms without running the command separately for e...
Need to automate downloading of all available Android SDK Platforms using the
from terminal. For example, an Android SDK Platform 19 can be installed using
"platforms;android-19"
. How to install all avaiable SDK Platforms without running the command separately for each platform?
Fr0stM0urne (46 rep)
Mar 26, 2023, 11:50 PM
1 votes
1 answers
2729 views
Failed to start emulator: No such file or directory
I downloaded the Android SDK bundle for Linux because I want to start making some apps, but I've run into a couple of problems here. When I tried to create an emulator through the AVD Manager, and I tried to run it, I got the following error message: ``` Starting emulator for AVD 'AVDTEST' Failed to...
I downloaded the Android SDK bundle for Linux because I want to start making some apps, but I've run into a couple of problems here. When I tried to create an emulator through the AVD Manager, and I tried to run it, I got the following error message:
Starting emulator for AVD 'AVDTEST'
Failed to start emulator: Cannot run program "/home/luke/adt-bundle-linux-x86_64-20140702/sdk//tools/emulator": java.io.IOException: error=2, No such file or directory
If you look, you will see that *there is an extra slash before the tools directory*, so I'm asking if anyone knows where I can go to change that path. I tried running the emulator explicitly from the command line, but, even though I can clearly see that the file is there, and I am now providing the correct path, I still get the no such file/dir error.
Luke (111 rep)
Jul 13, 2014, 06:02 PM • Last activity: May 4, 2022, 02:21 PM
8 votes
4 answers
4250 views
How can Android keep a TCP connection alive when changing network provider?
I'm curious about how Android can keep a TCP connection alive while I'm switching from 3G (mobile data) to WiFi and vice versa. I'm asking this after I seen that I had an uninterrupted radio stream thought TuneIn radio. Is that valid only for TuneIn (via some code workaround) or is it a cool feature...
I'm curious about how Android can keep a TCP connection alive while I'm switching from 3G (mobile data) to WiFi and vice versa. I'm asking this after I seen that I had an uninterrupted radio stream thought TuneIn radio. Is that valid only for TuneIn (via some code workaround) or is it a cool feature in the Android API calls?
tux_mind (203 rep)
Oct 1, 2014, 01:29 PM • Last activity: May 3, 2022, 03:55 PM
0 votes
1 answers
1092 views
android 9 sdk compatibility with jdk 8
Is android 9 sdk installation not compatibile with jdk 8 for running avd ? I tried running but got error of; "emulator: ERROR: ANDROID_SDK_ROOT" emulator: ERROR: This AVD's configuration is missing a kernel file! Please ensure the file "kernel-qemu" is in the same location as your system image.
Is android 9 sdk installation not compatibile with jdk 8 for running avd ? I tried running but got error of; "emulator: ERROR: ANDROID_SDK_ROOT" emulator: ERROR: This AVD's configuration is missing a kernel file! Please ensure the file "kernel-qemu" is in the same location as your system image.
user1418927 (1 rep)
Sep 14, 2018, 08:10 AM • Last activity: Mar 19, 2022, 07:06 PM
0 votes
1 answers
1152 views
Notification remain on home screen
I am using GFive Presdent Tango 7. Its showing notifications Like "Viber is denied to read sms" and "android.google.setting denied to read location".These notification appear on screen one by one .. and not disappear.
I am using GFive Presdent Tango 7. Its showing notifications Like "Viber is denied to read sms" and "android.google.setting denied to read location".These notification appear on screen one by one .. and not disappear.
Aiza malik (1 rep)
Mar 3, 2015, 05:50 AM • Last activity: Mar 9, 2022, 11:08 PM
4 votes
6 answers
16254 views
ADB not finding device with Galaxy S8 and Windows 7
I'm trying to get my Galaxy S8 to work with unity for gear VR development but I cannot seem to get ADB to find the phone. I've enabled USB debugging in development options and also have the latest version of Android Studio and the SDK, I've also installed the Android 7.0 package in Android Studio an...
I'm trying to get my Galaxy S8 to work with unity for gear VR development but I cannot seem to get ADB to find the phone. I've enabled USB debugging in development options and also have the latest version of Android Studio and the SDK, I've also installed the Android 7.0 package in Android Studio and the windows USB drivers from that, I've also reset both the phone and computer after one suggestion, one person even suggested updating the USB drivers for the phone in device manager on windows to the drivers(Android_winusb) in the SDK folder but it says it cannot find any relevant drivers, also have tried adb kill-server and adb start-server. Nothing I do seems to help at all. Also I really don't want to have to root the phone as that voids any warranty but from everything I've read there's no need to do that in order to get this working.
PyNuts (53 rep)
Jul 10, 2017, 02:18 PM • Last activity: Jan 28, 2022, 08:01 PM
0 votes
2 answers
1492 views
DroidExplorer won't find Android SDK
I'm trying to install DroidExplorer, and before finishing the installation the program asks me for the "Android SDK path". I have created the folders and downloaded the the Android SDK from Android.com (only the SDK) but the installation program keeps asking me for that sdk path. How can I resolve t...
I'm trying to install DroidExplorer, and before finishing the installation the program asks me for the "Android SDK path". I have created the folders and downloaded the the Android SDK from Android.com (only the SDK) but the installation program keeps asking me for that sdk path. How can I resolve this?
user163228 (1 rep)
Apr 28, 2016, 12:20 PM • Last activity: Dec 14, 2021, 06:02 PM
2 votes
1 answers
445 views
I can't use the Android emulator in Android Studio on Mac
Can anyone help me run an Android emulator in Android Studio on Mac? I tried to run it but it gives me the following messages: `No USB devices or running emulators detected` and `minSdk(API 23, N preview) != deviceSdk(API 22)` as portrayed in the given image below: [![enter image description here][1...
Can anyone help me run an Android emulator in Android Studio on Mac? I tried to run it but it gives me the following messages: No USB devices or running emulators detected and minSdk(API 23, N preview) != deviceSdk(API 22) as portrayed in the given image below: enter image description here
Nabin Bhattarai (21 rep)
Jun 27, 2016, 04:42 AM • Last activity: Oct 1, 2021, 06:56 PM
-1 votes
1 answers
1683 views
is CPU virtualization needed to run Android Virtual Device?
My Dell Laptop has **Intel® Core™2 Duo Processor T6400** (2M Cache, 2.00 GHz, 800 MHz FSB) CPU which has no virtualization support. http://ark.intel.com/products/40479/Intel-Core2-Duo-Processor-T6400-2M-Cache-2_00-GHz-800-MHz-FSB Above link says : Intel® Virtualization Technology (VT-x) ‡...
My Dell Laptop has **Intel® Core™2 Duo Processor T6400** (2M Cache, 2.00 GHz, 800 MHz FSB) CPU which has no virtualization support. http://ark.intel.com/products/40479/Intel-Core2-Duo-Processor-T6400-2M-Cache-2_00-GHz-800-MHz-FSB Above link says : Intel® Virtualization Technology (VT-x) ‡ no My basic hello world Android application using eclipse not able to open AVD. I can not see device window opening. is that CPU visualization problem ? Thanks in advance
coder007 (101 rep)
May 4, 2015, 10:42 AM • Last activity: Jul 6, 2021, 08:04 PM
1 votes
0 answers
1302 views
How to "adb push" files from linux to android without the non-permissive symlinks
I want to push over 120K small files including symlinks using "adb" but without those links if they fail in "remote symlink failed: Permission denied" to Android device.
I want to push over 120K small files including symlinks using "adb" but without those links if they fail in "remote symlink failed: Permission denied" to Android device.
Prashant (111 rep)
May 12, 2021, 04:50 PM
Showing page 1 of 20 total questions