SW8 semester project
- Install dependencies
npm installFor the native module to work you need the following: Install JDK 17 and update JAVA_HOME Install android APK and update ANDROID_HOME (the license also needs to be accepted) An Android phone needs to be connected via usb or wifi with USB debugging activated UsageStats permissions needs to be given to the Stressanalyzer app on your phone
- Build modules
npx expo prebuildAlternatively if something is not working:
npx expo prebuild --clean- Run project
npx expo run:androidIf you do not want to use the native module,
npx expo startcan still be used but any references to the native module will cause errors.