dependabot[bot] on npm_and_yarn
chore(deps): bump lodash from 4… (compare)
chinesedfan on master
test: Add repository and organi… (compare)
chinesedfan on master
chore: use alias path (compare)
The issue @ioveracker and @RolfKoenders and @palingheorghe are experiencing is this
facebook/react-native#20774
The new build system in xcode 10 / Mac OS mojave will break when trying to compile when it hits third-party-scripts in the RN's node module
yarn start:ios
// installed required dependencies
brew cask install adoptopenjdk8
brew cask install homebrew/cask-versions/java8
brew cask install android-sdk
export ANDROID_SDK_ROOT="/usr/local/share/android-sdk"
// downloaded image, e.g.
sdkmanager "system-images;android-23;google_apis;x86"
// accepted SDK licenses
yes | sudo sdkmanager --licenses
// created virtual device, e.g.
avdmanager create avd -n pixel_xl -k "system-images;android-23;google_apis;x86"
export ANDROID_HOME="/usr/local/share/android-sdk"
// Setting the env var didn't help, so under the android directory, I created a file called “local.properties” and added the
// following line (substituting USER with the current user):
sdk.dir = /usr/local/share/android-sdk
// then start emulated device
alias emu="$ANDROID_HOME/tools/emulator"
emu -avd pixel_xl
// this wasn’t working so I decided to go to Android Studio, start the project using projects’ SDK, created new virtual device and then I was able to start the device from there… so the virtual device is running now
// then you should be able to run it, I though
yarn start:android
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':react-native-linear-gradient'.
> Could not resolve all artifacts for configuration ':react-native-linear-gradient:classpath'.
> Could not resolve net.sf.proguard:proguard-gradle:5.3.2.
Required by:
project :react-native-linear-gradient > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3
[…]
// then I tried
react-native upgrade
// trying to run again... and new error...
* What went wrong:
Could not resolve all files for configuration ':react-native-code-push:_internal_aapt2_binary'.
> Could not find com.android.tools.build:aapt2:3.2.1-4818971.
Required by:
project :react-native-code-push
// giving up for today :D