You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**WARNING**: As of January 12, 2026, the Android-specific code has been REMOVED from this codebase due to intractable build issues. The web app is the primary platform.
275
+
Android builds are functional as of January 2026. The previous AGP/Material compatibility issues have been resolved.
276
276
277
-
### CRITICAL: NEVER Propose EAS Cloud Builds
277
+
### Build Commands
278
278
279
-
**DO NOT suggest EAS cloud builds as a solution.** Cloud builds will NOT work if we cannot get the build working locally. This has been attempted and failed. The root cause is a fundamental incompatibility between:
279
+
```bash
280
+
# Build and run on connected device/emulator
281
+
npx expo run:android
280
282
281
-
- React Native 0.81+ / Expo SDK 54+
282
-
- react-native-screens 4.19+
283
-
- Material Components 1.13.0
284
-
- Android Gradle Plugin AAPT2 resource compiler
283
+
# Build APK only
284
+
cd android && ./gradlew assembleDebug
285
285
286
-
### Historical Context (Pre-Reset)
286
+
# APK output location
287
+
android/app/build/outputs/apk/debug/app-debug.apk
288
+
```
287
289
288
-
Android builds were blocked by a bug in Android Gradle Plugin's AAPT2 resource compiler that fails to parse color resources from Material library.
290
+
### Build Configuration
289
291
290
-
**Error:**
292
+
| Component | Version |
293
+
| ---------- | ------------- |
294
+
| buildTools | 36.0.0 |
295
+
| minSdk | 26 |
296
+
| compileSdk | 36 |
297
+
| targetSdk | 36 |
298
+
| NDK | 27.1.12297006 |
299
+
| Kotlin | 2.1.20 |
300
+
| Gradle | 8.14.3 |
291
301
292
-
```
293
-
material-1.13.0/res/values/values.xml:364:4: Invalid <color> for given resource value.
294
-
java.lang.IllegalStateException: Can not extract resource from com.android.aaptcompiler.ParsedResource
295
-
```
302
+
### Health Connect Integration
296
303
297
-
**Root Cause**: Health Connect integration (`expo-health-connect`, `react-native-health-connect`) required `react-native-screens@4.19.0` which depends on Material 1.13.0. Material 1.13.0 uses M3 Design Tokens with `<macro>` XML tags that AGP's AAPT2 cannot parse.
304
+
Health Connect is integrated and working:
298
305
299
-
### AGP Versions Tested (All Failed)
306
+
- Permissions: Heart rate, respiratory rate, sleep data
307
+
- Status shown in Settings > Wearables & Health Connect
308
+
- Debug data available in Settings > Health Connect Data Debug
0 commit comments