- Где можно задать свои расположения пакета SDK для Android?
- Where is the Android SDK folder located?
- 7 Answers 7
- Not the answer you’re looking for? Browse other questions tagged android sdk air or ask your own question.
- Linked
- Related
- Hot Network Questions
- Subscribe to RSS
- Android-studio: Unable to locate adb
- X Unable to locate Android SDK. #13078
- Comments
- sjx19900424 commented Nov 18, 2017
- bledfort commented Feb 24, 2018
- sam43 commented Feb 27, 2018
- DevXtreme0 commented Feb 27, 2018 •
- sam43 commented Feb 28, 2018
- sam43 commented Feb 28, 2018 •
- AbderrahmeneDZ commented May 15, 2018 •
- sumiaggarwal commented May 27, 2018
- zoechi commented Aug 3, 2018
- mahbobyosf commented Aug 28, 2018
- arsalan0312 commented Sep 5, 2018
- zoechi commented Sep 5, 2018
- zoechi commented Oct 8, 2018
- JosephDunivan commented Dec 5, 2018
- JosephDunivan commented Dec 5, 2018 •
- QuietLakeStone commented Dec 15, 2018
- DevLuuk commented Jan 8, 2019 •
- Qinxianshen commented Jan 30, 2019
- ValmirJuniorr commented Mar 20, 2019
- codingcity4747 commented Mar 20, 2019
- DaywisonSilva commented Sep 5, 2019
- avavirus3 commented Mar 18, 2020 •
Где можно задать свои расположения пакета SDK для Android?
в Visual Studio перейдите в меню сервис параметры > Xamarin > Android Параметры , чтобы просмотреть и задать расположение пакет SDK для Android:
Расположение по умолчанию для каждого пути выглядит следующим образом:
Расположение пакета средств разработки Java:
C:\Program Филес\жава\ jdk1.8.0_131
Расположение пакета SDK для Android
C:\Program Files (x86) \Андроид\андроид-СДК
Расположение пакета Android NDK:
C:\ProgramData\Microsoft\AndroidNDK64\android-ndk-r13b
Обратите внимание, что номер версии NDK может отличаться. Например, вместо android-ndk-r13b может быть более ранняя версия, например android-ndk-r10e.
Чтобы задать расположение пакета SDK для Android, введите полный путь к каталогу пакета SDK для Android в поле Расположение пакета SDK для Android. Вы можете перейти к расположению пакета SDK для Android в проводнике, скопировать путь из адресной строки и вставить этот путь в поле Расположение пакета SDK для Android. Например, если расположение пакет SDK для Android находится на к:\усерс\усернаме\аппдата\локал\андроид\сдк, очистите старый путь в поле Расположение пакет SDK для Android , вставьте этот путь и нажмите кнопку ОК.
в Visual Studio для Mac перейдите к параметрам проекты > расположение пакета SDK для > Android. На странице Android перейдите на вкладку Расположения, чтобы просмотреть и задать расположение пакета SDK:
Расположение по умолчанию для каждого пути выглядит следующим образом:
Расположение пакета SDK для Android
Расположение пакета Android NDK:
Расположение пакета SDK для Java (JDK):
/usr
Обратите внимание, что номер версии NDK может отличаться. Например, вместо android-ndk-r14b может быть более ранняя версия, например android-ndk-r10e.
Чтобы задать расположение пакета SDK для Android, введите полный путь к каталогу пакета SDK для Android в поле Расположение пакета SDK для Android. Можно выбрать папку пакет SDK для Android в Finder, нажать клавиши CTRL + ⌘ + I , чтобы просмотреть сведения о папке, щелкнуть и перетащить путь справа от раздела :, скопировать, а затем вставить его в поле Расположение пакет SDK для Android на вкладке расположения . Например, если расположение пакет SDK для Android находится в папке
/либрари/девелопер/андроид/СДК, очистите старый путь в поле Расположение пакет SDK для Android , вставьте этот путь и нажмите кнопку ОК.
Источник
Where is the Android SDK folder located?
I created with Adobe Flash an .apk app through Air for Android. Now I would like to make it ready for the Blackberry App World with this Blackberry online packager: https://bdsc.webapps.blackberry.com/android/bpaa/apk-compatibility-check
Where to I find the Android SDK folder on my Windows PC? Is it bundle with the Adobe Flash Pro installation?
7 Answers 7
If you’re using android studio then.
- Open the Android SDK Manager.
- At the top of the window, just above the list of SDKs, it says «SDK Path: «.
I configured with the defaults and the path, for me, is:
You can find the path in the Android SDK Manager. On the top it lists the path, the default path in Windows is
If you are using windows,
hope this helps.
Look for the local.properties file in the file browser of Android Studio. It will contain the SDK location.
Look it up with the Android SDK MAnager. It’s not always obvious how to open up the Android SDK manager. First of all, SDK Manager is a feature of the Android Studio; open that. In Android Studio (as of version 2.3.3 in Windows), the SDK Manager is chosen by an icon on the big toolbar which has an incomprehensible glyph. If you can’t find it, then instead you can select Tools—>Android—>SDK Manager. In the SDK Manager, select Appearance and Behavior—>System Settings—>Android SDK; and read the field «SDK Location». Hopefully you can figure out what you need from there.
I came to this question after having the same problem in the Unity game engine.
When it says that it can only have ASCII characters in your username, if you try to use letters like Ç â ã , it won’t work. Try to change ã to a (without punctuation).
hi all i have been looking for a solution for almost 3 weeks .. finally i found the solution by my self. 1- go to search bar and wright sdk. 2- copy the file 3- go to \android and past it there
i hope it works with as worked with me ..
Not the answer you’re looking for? Browse other questions tagged android sdk air or ask your own question.
Linked
Related
Hot Network Questions
Subscribe to RSS
To subscribe to this RSS feed, copy and paste this URL into your RSS reader.
site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev 2021.12.3.40888
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.
Источник
Android-studio: Unable to locate adb
I use the 4.0 android-studio and Ubuntu 18.04
When I click on «launch this AVD in the emulator», I get an error message «Unable to locate adb». I did look in the Android/Sdk/platform-tools, I have an «adb» executable.
After the «unable to locate adb» error message, the AVD still launches. But, when I try to run my react native app on it, I get the error
error Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment. Run CLI with —verbose flag for more details. Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
I’m pretty sure the react-native part is fine, but that route to the emulator is not the same as before.
It was working before. Yesterday, out of the blue, when I launched my android-studio, it «restarted» (showing me the install wizard, etc), and it seems it messed up its configuration.
EDIT: [bad way] I created a new ubuntu user, re-install android studio + react-native. I still get the error message, still the AVD launches, but now React-native can install the app on it. So, now I can work with my new user, but I did not fix the problem.
EDIT2: [good way] @jpatmore fixed the android-studio part (see his answer). The react-native was still not working. There was probably some parameter of android-studio 3.6 still in the [my project]/android/[gradle or something] I cloned my repo in another folder, do another «npm install», «react-native link», and it was working.
Источник
X Unable to locate Android SDK. #13078
Comments
sjx19900424 commented Nov 18, 2017
X Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.io/setup/#android-setup for detailed instructions).
If Android SDK has been installed to a custom location, set $ANDROID_HOME to that location.
I have installed Android SDK ,and set $ANDROID_HOME. But ‘flutter doctor’ show the error again.
The text was updated successfully, but these errors were encountered:
bledfort commented Feb 24, 2018
Same issue, why there is no responses? weird
sam43 commented Feb 27, 2018
same issue. stucked. Help!
DevXtreme0 commented Feb 27, 2018 •
try to Install Android studio again, with default installation folder. OR now I found a way to solve this problem .. this is the way i solved this issue:
(Reminder — before doing below steps make sure you already setup environment variable for flutter doctor like , variable name as «Path » variable value as «flutter\bin;» )
1st go to Control Panel -> click User Accounts -> again click User Account -> you can see option called «change my environment variables» click it -> in popup small window click NEW and type variable name as ANDROID_HOME variable value as «your Android SDK Location » Example : «Partition Letter:\AndroidStudioSDK» , Save this settings.
After that go to the windows power shell type flutter doctor and click enter, you can see some results.
sam43 commented Feb 28, 2018
Wow, this worked perfectly, thank you. but I can’t able start any device to run the sample project. Can you help me with this last thing please? here is the attachment.
@PillowDeveloper
sam43 commented Feb 28, 2018 •
Update. working fine. But have to start the project from PowerShell and run it. Note: Close your AS 3.0 if it is running. steps: create app -> cd -> flutter run. Boom! Happy coding. 🙂
AbderrahmeneDZ commented May 15, 2018 •
I had the same problem,
I did the following steps :
*/ Open system properties
*/ Environment variables
*/ create new system variable
*/ name : ANDROID_HOME
*/ value : copy your SDK path
*/ close your current cmd, and restart it
*/ run flutter doctor
this should work on windows
sumiaggarwal commented May 27, 2018
thanks worked like a charm 🙂
zoechi commented Aug 3, 2018
@sjx19900424 is this still an issue or can this be closed?
mahbobyosf commented Aug 28, 2018
This worked perfectly, thank you.
arsalan0312 commented Sep 5, 2018
I have the same issue after following step.
/ Open system properties
*/ Environment variables
*/ create new system variable
*/ name : ANDROID_HOME
*/ value : copy your SDK path
*/ close your current cmd, and restart it
*/ run flutter doctor
zoechi commented Sep 5, 2018
check the SDK config in android/local.properties
You can use flutter config to update it.
Can you still reproduce when the setting is updated to the new path?
zoechi commented Oct 8, 2018
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don’t hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
JosephDunivan commented Dec 5, 2018
check the SDK config in android/local.properties
You can use flutter config to update it.
Can you still reproduce when the setting is updated to the new path?
@zoechi When you say «You can use flutter config to update it.» can you elaborate? The issue is flutter expects the path to point to /usr/local/share/android-sdk, however android studio installs everything in users//library/android/sdk and has for quite some time. The issue seems to be that redirecting this expected path to the actual path in .bash_profile does not solve the issue.
JosephDunivan commented Dec 5, 2018 •
Using the command flutter config —android-sdk $HOME/Library/Android/sdk on Mac OS seems to have immediately solved my issues if anyone is looking for a more specific directive.
QuietLakeStone commented Dec 15, 2018
I finally solved the problem. >>Ubuntu 18 android-ndk-r16b-linux-x86_64.zip
Then modify the environment and AS configure,restart AS,no devices ->Android Device
I hope I can help you all.
DevLuuk commented Jan 8, 2019 •
I solved it on Ubuntu by adding this line: flutter config —android-sdk /path/to/android/sdk in the terminal in Android Studio.
Qinxianshen commented Jan 30, 2019
I had the same problem,
I did the following steps :
*/ Open system properties
*/ Environment variables
*/ create new system variable
*/ name : ANDROID_HOME
*/ value : copy your SDK path
*/ close your current cmd, and restart it
*/ run flutter doctor
this should work on windows
awesome ! It‘s work for me!Thank you
ValmirJuniorr commented Mar 20, 2019
I solved it on Ubuntu by adding this line: flutter config —android-sdk /path/to/android/sdk in the terminal in Android Studio.
it works perfect to me, thanks buddy.
codingcity4747 commented Mar 20, 2019
I had the same problem,
I did the following steps :
*/ Open system properties
*/ Environment variables
*/ create new system variable
*/ name : ANDROID_HOME
*/ value : copy your SDK path
*/ close your current cmd, and restart it
*/ run flutter doctor
this should work on windows
this worked for me, but I mention that after adding ANDROID_HOME path to your env variables you should restart your computer before checking flutter doctor report
good luck
DaywisonSilva commented Sep 5, 2019
[X] Android toolchain — develop for Android devices
X ANDROID_HOME = C:\Users\Daywi\AppData\Local\Android\Sdk
but Android SDK not found at this location.
avavirus3 commented Mar 18, 2020 •
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [Version 10.0.18363.657], locale en-US)
[!] Android toolchain — develop for Android devices
X Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/setup/#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, set ANDROID_HOME to that location.
You may also want to add it to your PATH environment variable.
[!] Android Studio (not installed)
[!] IntelliJ IDEA Community Edition (version 2018.2)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[√] VS Code (version 1.41.1)
[!] Connected device
! No devices available
Источник