Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
Fix android build (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondjacobson committed Apr 30, 2021
1 parent 6ad6d39 commit c1889ee
Show file tree
Hide file tree
Showing 4 changed files with 424 additions and 376 deletions.
9 changes: 7 additions & 2 deletions packages/audius-mobile-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ adb -s <device name> reverse tcp:8081 tcp:8081
npm run android
```

If you run into issues, try cleaning the android build folder
```
cd android && ./gradlew clean && cd ..
```

## Debugging

* To debug the native-layer of the app, install [React Native Debugger](https://github.com/jhen0409/react-native-debugger) and enable debugging (Cmd + D) in the simulator.
Expand All @@ -63,7 +68,7 @@ npm run android
On Android, you can use the adb Android Studio tool or
```
# Show device logs
db logcat '*:V'
adb logcat '*:V'
```

## Helpful
Expand All @@ -73,4 +78,4 @@ db logcat '*:V'
```
npm install -g serve --user
serve -s web-app/Web.bundle/build -p 9000
```
```
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-all.zip
Loading

0 comments on commit c1889ee

Please sign in to comment.