Questions tagged [android-sdk]

Questions related to the Android SDK which provides the API libraries and developer tools necessary to build, test, and debug apps for Android.

Filter by
Sorted by
Tagged with
1 vote
0 answers
42 views

"Request failed with status code 403" error when downloading from Android SDK Manager

I am facing the following error everywhere so in Android Studio when I download tools and SDK: Packages to install: - Sources for Android 31 (sources;android-31) - Android SDK Platform 31 (platforms;...
Anil Gusaiwal's user avatar
0 votes
0 answers
48 views

unzip acts differently in local and cloud environments | files missing

I'm trying to unzip a file using unzip in Ubuntu. Here are all the steps when I tried on my local system: wget https://dl.google.com/android/repository/commandlinetools-linux-9123335_latest.zip unzip -...
Maifee Ul Asad's user avatar
3 votes
2 answers
2k views

Can WSL2 use the Android SDK installed on Windows?

I have the android-sdk installed on Windows, and I have exported its path to the ANDROID_SDK_ROOT WSL environment variable. Should WSL be able to compile my projects using the SDK that's installed on ...
Nivlem's user avatar
  • 335
0 votes
0 answers
2k views

Resolving Flutter HTTP Host Availability

I recently migrated to Linux Ubuntu 22.04. I installed Flutter and Android Studio successfully, but when I try to run a project, it throws an exception error. Exception in thread "main" ...
KB 21's user avatar
  • 1
1 vote
1 answer
2k views

Could not install the 'emulator' command

I'm trying to install the android emulator command on my ubuntu 22.04 machine. This is what I've done to try to install everything: apt update apt install -y android-sdk wget unzip export ...
Robin's user avatar
  • 31
0 votes
1 answer
1k views

How to uninstall adroid-sdk from Ubuntu

to install the android sdk on linux I typed: $ sudo snap install androidsdk which should have been: $ sudo snap install android-sdk Now I cant remove it with: $ sudo snap remove android-sdk Does ...
TryingHardToProgramm's user avatar
0 votes
1 answer
102 views

I have delete /usr/bin/fastboot and now I cant reinstall fastboot tools

I have delete by mistake /usr/bin/fastboot by mistake and now I cant use fastboot tolls cause is nothing in /usr/bin/fastboot. any idea what can I try?
yop's user avatar
  • 91
0 votes
0 answers
391 views

android studio emulator adb problem

I'm installing android studio for the first time on ubuntu machine OS: Ubuntu Studio 20.04.2 CPU: 4 cores, G3, core i5, 1500 RAM: 8GB BOIS: HP v2.90 PC and when I try to start the emulator I find ...
Abd-Elaziz Sharaf's user avatar
1 vote
1 answer
1k views

Where to install/ unpack android studio in ubuntu?

I have recently dual booted ubuntu alongside windows, and my partitions for ubuntu are as follows- *80 Gb - "/" Uses SSD (For root) * 100 Gb - "/home" Uses Hard Disk (For ...
Chandresh Singh's user avatar
0 votes
0 answers
1k views

Why does sdkmanager not found even after export the path

I wrote last line those exports: export ANDROID_HOME=$HOME/Android/Sdk export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools even running sdkmanager in CLI, return not found. echo $...
Hasunohana's user avatar
2 votes
0 answers
2k views

I can not do repo init for android_manifest.git

I am working with khadas VIM3 development board and I am trying to sync the android pie SDK but it is not working. I am getting syntax error while I do repo init. I posted this question on the Khadas ...
Parth Prajapati's user avatar
0 votes
1 answer
733 views

Error while accepting android liscences

Ok so i recently switched to ubuntu & i am having a hard time figuring out how to install everything and get Flutter development up and running. When i run flutter doctor i get: [✓] Flutter (...
Ashok's user avatar
  • 101
0 votes
1 answer
820 views

How to install Flutter on ubuntu 20.04?

In fact I'm alsmost done with the installation, The only issue is when I run flutter doctor I get this error report : flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] ...
mostafa 's user avatar
1 vote
2 answers
3k views

How to set the correct path of android-sdk in fresh android studio installation?

I installed Android Studio using: sudo add-apt-repository ppa:lyzardking/ubuntu-make sudo apt update && sudo apt install ubuntu-make umake android --accept-license When I launched Android ...
mostafa 's user avatar
0 votes
1 answer
2k views

18.04: Installing packages using android command line tools

I'm trying to use the Android SDK in Ubuntu 18.04.4 LTS without installing Android Studio because of hardware constraints. So I've been following this tutorial https://dev.to/jay_js/setting-up-...
Lil boat's user avatar
0 votes
0 answers
856 views

Where are android-sdk executables (installed with apt)?

I installed android-sdk via apt, on xubuntu 18.04.4 LTS But there's no android command in my path! In this question, they locate the tools for a home installation. But I navigated to /usr/local/lib/...
PlasmaBinturong's user avatar
6 votes
1 answer
13k views

How to develop for Android with Xamarin?

I want to develop applications for Android in C#. On Windows I tried Xamarin Studio and I was very happy with it. Is there a way to use Xamarin on Ubuntu? I noticed there are Xamarin.Android binaries ...
m93a's user avatar
  • 397
3 votes
1 answer
2k views

adb completely freezes system

Whenever I utilize any (except for --version) adb command (adb devices, for instance), my system completely freezes and I have to reboot. My laptop is a Lenovo B50-30 running a (relatively) fresh ...
Luatic's user avatar
  • 164
0 votes
1 answer
2k views

Why adb and fastboot command not included in Android SDK?

In Windows, adb command is already included with Android SDK when install Android Studio. In Ubuntu, after I installed Android Studio, I cannot use adb command instead it said that i have to install ...
Alauddin's user avatar
1 vote
0 answers
2k views

How to install Android Runtime On Linux

How can i Install ART (Android RunTime) On Linux(Ubuntu) And if i installed it can i run android apps natively on ubuntu Without using an emulator i hope you help me thanks
Manolin Richard's user avatar
-1 votes
1 answer
1k views

ADB mkdir permission denied

I am trying to run AVS-SDK (Alexa) SampleApp on an Android Device On UBUNTU. I have opened two terminals, in first terminal i am obtaining the root access for the android device using ADB. Following ...
KarmaCoding's user avatar
2 votes
3 answers
5k views

Can't connect to emulator through ADB genymotion

I am trying to connect to an android vm running through genymotion. However, I keep getting the following error message when I try to connect via adb: adb server version (41) doesn't match this ...
aty0's user avatar
  • 121
6 votes
2 answers
6k views

Is there a repository for Android Studio?

The download page for Android Studio does not list any repositories, it only offers direct download links. I noticed that there are many Android SDK and tools packages in the Ubuntu repos, but no ...
Aaron Franke's user avatar
  • 1,106
1 vote
1 answer
561 views

Same android SDK for Multiple Users

I installed android studio on my admin account from ubuntu software center. and It's working without any issue. I have another admin account setup in my desktop PC. I can run android studio from that ...
Dulara Malindu's user avatar
0 votes
1 answer
2k views

Make "Unknown Option" on any command after installing Adroid-x86 build tools

I'm running ubuntu 18.04 in vMware ESXi and have been building kernels to test on a tablet. I've had no issues with configuring or compiling up to this point. Now I'm setting up a build environment ...
UniCav's user avatar
  • 1
1 vote
0 answers
669 views

Install IntelliJ with Android-SDK

I have a fresh install of Ubuntu 18.04. I have downloaded IntelliJ (Community version) from the website and installed it according to the instructions. I have installed android-sdk via sudo apt-get ...
Robert's user avatar
  • 151
0 votes
0 answers
664 views

ANDROID_HOME varibale changed to PWD

I want to setup Android SDK on Ubuntu 18.04.1 LTS for React Native programming. according to the official Docs I have to define paths in .bash_profile. at first I was just putting the export commands ...
Amir-Mousavi's user avatar
1 vote
1 answer
4k views

react-native run-android error: SDK location is not found, but it exists in the path

Following the react-native docs, I have installed Android 8.0 (Oreo) and have completed the rest of the instructions. The only difference is that I have defined the platform variables in .bashrc and ...
Amir-Mousavi's user avatar
0 votes
2 answers
6k views

Android SDK is not found by flutter

i have installed android studio by unzipping the zip file from the official site and running sudo ./studio.sh. so, it was installed in /root directory. but when i installed flutter as recommended in ...
joe_inz's user avatar
  • 129
0 votes
1 answer
3k views

Ubuntu/Cordova/Android SDK: AVD Target not showing

A Web Developer trying to create android app using Ubuntu 18.04 with Cordova (v.8.0.0) requirements show: Android Studio project detected Requirements check results for android: Java JDK: ...
jlcolon's user avatar
0 votes
1 answer
1k views

What are android SDK and Gradle path?

I installed android sdk with terminal and it installed completely and now I need its path. There was no "android/sdk" folder in home. I searched and found sdk in /usr/lib/android-sdk. I also installed ...
Esmail Jamshidiasl's user avatar
2 votes
1 answer
339 views

is it possible to use android SDK's windows version on linux?

I have android SDK on windows and now i need SDK in linux.Is it possible to download SDK for linux and then move SDK's tools and other folders from windows to linux instead of downloading it again?
Esmail Jamshidiasl's user avatar
1 vote
1 answer
594 views

Can't install Android SDK platforms. Ubuntu 16.04

When installation ends (different Android API's) there message that installation finished with errors. I tried to use default location (.../Android/Sdk) and change it - no difference. Logs: It seems ...
R S's user avatar
  • 2,299
4 votes
2 answers
5k views

android-sdk - unable to run the SDK manager

I'm trying to run the Android SDK manager tool using the following command inside the folder where android-sdk-tools are located. ./sdkmanager It gives me the following error. Error: Could not find ...
gayashanbc's user avatar
2 votes
1 answer
4k views

Can't run AVD (Ubuntu 18.04)

I can't run AVD using command: Sdk/tools/android avd But AVD works if launched through Android studio thought. I tried these commands, but nothing changed: cd Android/Sdk/emulator/lib64/libstdc++ mv ...
R S's user avatar
  • 2,299
0 votes
0 answers
8k views

Android SDK Build-Tools and SDK components were not installed

I was installing Android Studio on my Ubuntu 16.04.4 LTS. I successfully downloaded it and I can run with ./studio.sh from /opt/android-studio/bin. After executing this command, it starts downloading ...
MrEyebr0w5's user avatar
2 votes
0 answers
512 views

Android studio error on updating to 3.1

I'm trying to upgrade Android studio to v3.1 but at the end this error is showing. Error gettng This access denied error is showing.
Takshak Rajput's user avatar
3 votes
1 answer
2k views

Where to download latest Android-SDK for Ubuntu other than Android.com

I have an Ubuntu 16.04 OS which is offline and does not have an internet connection. I have downloaded and installed Android Studio 3.0.1 from another PC to that offline OS. I have also downloaded ...
yekanchi's user avatar
  • 131
0 votes
1 answer
237 views

Why are android-tools-adb and android-tools-fastboot packages marked as orphan?

I'm using gtkorphan 0.4.4 to get rid of some unused packages. The following are listed as orphan even if I installed them manually: android-tools-adb android-tools-fastboot Why?
jasmines's user avatar
  • 10.7k
3 votes
2 answers
71k views

Sdk is missing error android studio

I just installed Android Studio on Ubuntu 16.04 and I can't open it. When the welcome page of android studio opens I click on Start a new Android Studio project and it says Your Android SDK is ...
Mina Fa's user avatar
  • 55
5 votes
2 answers
10k views

How to start Android SDK manager?

I've installed Android SDK like so: sudo apt-get install android-sdk Now what? How do I start anything? Searching for "Android" doesn't show anything in Gnome Activities. What did installing android-...
trusktr's user avatar
  • 162
1 vote
1 answer
107 views

Android studio error after installation

When i start a new project or application on the android studio, the screen is stuck at making a new project and the terminal (from where the studio.sh was started) i constantly outputting a "." every ...
Chintan Mehta's user avatar
3 votes
0 answers
658 views

Can't install Android SDK platforms

Tried to install a couple of Android versions in Android Studio. It tells that installation didn't finish successfully. There such error in the logs: java.lang.IllegalArgumentException: packageRoot ...
R S's user avatar
  • 2,299
0 votes
0 answers
706 views

Ubuntu software center android sdk install location

I installed the android sdk platform tools from the ubuntu software center. Where does it put the files? For example, where would I find the location of tools such as "adb" and "fastboot"?
mo_maat's user avatar
  • 161
1 vote
0 answers
35 views

Android emulation [duplicate]

Can someone direct me to an Android emulator outside of Android Studio, that's open source and for Ubuntu, not Wine. I used to use Android SDK but don't like the Studio update and am now using a paid ...
Camp OpenSource's user avatar
9 votes
2 answers
14k views

Problem with Adroid SDK of Android Studio

While following How to install Android Studio on Ubuntu? and Complete Installation Guide for Android SDK / ADT Bundle on Ubuntu to install Android-studio as a solution for Android emulator independent ...
Mirza's user avatar
  • 351
2 votes
0 answers
1k views

Problem in downloading sdks using sdkmanager

I have been trying to solve this problem for a while and it's getting on my last nerve. I'm trying to download android sdk packages through sdkmanager but every time I try to do it an error message ...
Mahmood Darwish's user avatar
1 vote
0 answers
139 views

How to prevent cached temporary files from being removed?

I have Ubuntu14.4 on my machine, and also have downloaded Android-SDK to program for Android. When I install some package in Android-SDK, it does three things: first it downloads the package into a ...
Hedayat Mahdipour's user avatar
6 votes
1 answer
9k views

android update project --path . --target android-25 on ubuntu 16.04

While executing command in terminal update project --path . --target android-25 I am getting error Invalid or unsupported command "update project --path . --target android-25 Supported commands ...
Kesha's user avatar
  • 243
0 votes
0 answers
3k views

Android Studio cannot edit code in one android studio project window when a dialog window is open in some other android studio project window

When I open multiple android studio windows for opening multiple android projects, I cannot edit or select or do anything in Window1 when there is a popup dialog open in window2. So I am downloading a ...
viper's user avatar
  • 173