Skip to content

Commit cb4dcbc

Browse files
committed
Update for Android
1 parent 01b276a commit cb4dcbc

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

Brewfile

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ tap 'homebrew/cask'
33
tap 'homebrew/cask-versions'
44
tap 'homebrew/core'
55
tap 'homebrew/services'
6-
tap 'caskroom/cask'
76

87
brew 'archey'
98
brew 'ffmpeg'
@@ -21,7 +20,7 @@ brew 'python'
2120
brew 'tig'
2221
brew 'tree'
2322
brew 'watchman'
24-
brew 'yarn', args: ['without-node']
23+
brew 'yarn'
2524
brew 'youtube-dl'
2625
brew 'z'
2726

@@ -48,9 +47,16 @@ cask 'visual-studio-code'
4847
cask 'vlc'
4948
cask 'zoomus'
5049

50+
51+
# Android React Native Development
5152
# Use JAVA 8 which is the stablest version for Android.
5253
# https://stackoverflow.com/questions/53059771/could-not-determine-java-version-from-11-0-1-when-running-npm-run-android
53-
cask 'java8'
54+
55+
cask 'adoptopenjdk8'
56+
# https://github.com/AdoptOpenJDK/homebrew-openjdk/issues/106
57+
# until the fix you can run
58+
# brew cask install adoptopenjdk/openjdk/adoptopenjdk8
59+
5460
brew 'gradle'
5561
cask 'android-file-transfer'
5662
cask 'android-platform-tools'

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,16 @@
1414

1515
## Install applications from the internet
1616

17+
Apple M1 Chip needs to add this alias
18+
```
19+
alias ibrew='arch -x86_64 /usr/local/bin/brew'
20+
```
21+
1722
Automatically install applications from `Brewfile`
1823

19-
- [ ] `brew bundle`
24+
- [ ] `ibrew bundle`
25+
26+
Check the result with `echo $ANDROID_HOME`
2027

2128
## macOS defaults for hackers
2229

0 commit comments

Comments
 (0)