828 B
828 B
- clear yarn
rm -rf node_modules
yarn
- clean gradle
cd android
./gradlew clean
- clear gradle cache
rm -rf ~/.gradle/caches/
rm -rf android/.gradle/
- stop gradle daemons
cd android && ./gradlew --stop
- clear abd cache (useful when not receiving notification on emulator)
adb shell pm clear com.alertesecours
- rebuild gradle
yarn expo run:android
- rebuild expo react-native
yarn expo prebuild
- clear metro cache
yarn expo start --dev-client --clear
-
fix emulator (eg: unavailable FCM getToken)
- clear cache / uninstall the app
- check emulator datetime
- check network connectivity
-
https://github.com/expo/expo/issues/22029#issuecomment-2239751213
android/local.properties
cmake.dir=/opt/Android/Sdk/cmake/3.22.1