Linked Questions
21 questions linked to/from React Native android build failed. SDK location not found
101
votes
26
answers
312k
views
Android SDK cannot be found by flutter
I have installed flutter through AUR. I also have aur/android-sdk 26.0.2-1 installed. When I run flutter run I get:
Warning! This package referenced a Flutter repository via the .packages file that ...
45
votes
22
answers
245k
views
react-native run-android command failed, but gradlew installDebug work
I'm using react-native 0.43.3 on OSX.
I tried to running app on Android and get message
react-native run-android
Scanning 568 folders for symlinks in /Users/ruci.k/project/mayacrew/supermembers/...
21
votes
13
answers
44k
views
Android SDK not found for react-native
There are multiple similar questions everywhere across the internet and so far no provided solutions work.
I use Android Studio 4.0.0, and maybe this is the problem.
So far I got these settings in my ...
13
votes
5
answers
16k
views
React Native - java.lang.RuntimeException: SDK location not found. Define location with sdk.dir in the local.properties
Getting started with React Native. I did install the Android SDK, Java SDK, and Android dependencies. I receive the following error when running a demo app on my terminal.
I do have my Galaxy ...
6
votes
2
answers
37k
views
How do I save a TextEdit (mac) file with a custom extension (.sas)?
So, I'm in the process of writing some code for SAS and I realized I have to save the file as filename.sas. My professor mentioned that I would have to use note pad or another text editor on my ...
1
vote
1
answer
4k
views
React-Native trying to run android, getting an error about /bin/sh: /usr/local/share/android-sdk/platform-tools/adb: No such file or directory
I have updated my $PATH to include the correct location of my adb sdk, but react-native is insisting on using /usr/local/share/android-sdk, instead of /Users/username/Library/Android/sdk/platform-...
0
votes
2
answers
25k
views
Android: SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable
I'm trying to run this sample project using GraphQL with the Apollo Android client: https://github.com/apollographql/apollo-android/tree/master/apollo-sample
I'm new to Android studio, here's what I ...
1
vote
2
answers
4k
views
React Native wont run on Android Device. Missing ANDROID_HOME [duplicate]
When I execute react-native run-android in the terminal, I get the following:
JS server already running.
Running adb -s HT68X0201778 reverse tcp:8081 tcp:8081
Building and installing the app ...
-1
votes
1
answer
5k
views
How to fix the "SDK directory does not exist"?
So I'm trying to get my react native software to run and it's popping up with an error saying The SDK directory 'C:\Program Files\Android\Android studio; ' does not exist. How can I fix this?
0
votes
1
answer
2k
views
How can I retrieve a file from the file system using React Native, for conversion to base64 and http posting as JSON?
I am using the react native template from this article. The code is all available on Github here.
You can use the app to record audio and save to the file system. I figured out how to retrieve the ...
1
vote
1
answer
2k
views
How to open the AVD manager on OSX from iTerm2?
I am using Homebrew to install Android dev tools
brew install gradle
brew install android-sdk
Then I am getting command not found when running avdmanager.
➜ ~ avdmanager
zsh: command not found: ...
-1
votes
2
answers
916
views
SDK error in React native
i am new to react native and an trying to run the project on emmulator "react-native run-android" . iam getting the error.
* What went wrong:
A problem occurred configuring project ':app'.
> The ...
0
votes
1
answer
1k
views
React Native on Mac: The SDK directory '/Users/username/Library/Android/sdk' does not exist
I am trying to start up the Android simulator on my High Sierra MacBook Pro. I have followed these guides:
React Native error: "Could not determine java version from '9.0.1'."
React ...
-2
votes
5
answers
534
views
React Native Android Run
I am just starting with react native. I created my first app using React Native CLI. It was created without any errors. When I am trying to react-native run-android It ends up with this error as shown....
0
votes
1
answer
882
views
Execution failed for Task :@react-native-community_netinfo:compileDebugJavaWithJavac FAILED'. React-native
My react native project fails to build app and gives this error:
Task :@react-native-community_netinfo:compileDebugJavaWithJavac FAILED
FAILURE: Build failed with an exception.
What went wrong: ...