Skip to content

Instantly share code, notes, and snippets.

@maxdeepfield
Created December 3, 2025 08:51
Show Gist options
  • Select an option

  • Save maxdeepfield/3694fb3f97e8ba1b63d5bf04c2313b64 to your computer and use it in GitHub Desktop.

Select an option

Save maxdeepfield/3694fb3f97e8ba1b63d5bf04c2313b64 to your computer and use it in GitHub Desktop.
logcat-expo-crash-release-apk.txt
adb logcat -c; adb shell am start -n com.anonymous.radiolla/.MainActivity; adb logcat AndroidRuntime:E ReactNative:E ReactNativeJS:E *:S
@maxdeepfield
Copy link
Author

From project root - delete all caches and do a FULL clean rebuild

cd c:\Users\Ubuntu\Desktop_DEV\radiolla\radiolla-expo

Delete cache folders

Remove-Item -Recurse -Force node_modules.cache -ErrorAction SilentlyContinue
Remove-Item -Recurse -Force android.gradle -ErrorAction SilentlyContinue
Remove-Item -Recurse -Force android\app\build -ErrorAction SilentlyContinue
Remove-Item -Recurse -Force $env:TEMP\metro-* -ErrorAction SilentlyContinue
Remove-Item -Recurse -Force $env:TEMP\haste-* -ErrorAction SilentlyContinue

Clean prebuild and rebuild

npx expo prebuild --clean

Build release

cd android
./gradlew clean assembleRelease

Install

adb install -r app\build\outputs\apk\release\app-release.apk

Clear old logs and test

adb logcat -c
adb shell am start -n com.anonymous.radiolla/.MainActivity
adb logcat ReactNative:E ReactNativeJS:E AndroidRuntime:E *:S

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment