Skip to content

Commit e2e41f5

Browse files
authored
Add instructions to enable test-app in subprojects.cfg (#3905)
This is to help with the error: ``` Project 'test-app' not found in project ':firebase-appdistribution' ```
1 parent cdd1044 commit e2e41f5

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

firebase-appdistribution/test-app/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,25 @@ the [applicationId](https://developer.android.com/studio/build/application-id.ht
1717

1818
## Build & Install
1919

20+
### Enable the test-app as a subproject ###
21+
22+
You'll need to do this on a fresh checkout, otherwise you will see the error `Project 'test-app' not found in project ':firebase-appdistribution'.` when running `./gradlew` tasks for the test app.
23+
24+
By default, product-specific subprojects are disabled in the SDK because their `google-services.json` files aren't always available in CI and therefore they can't be reliably built. To do local development with this test app, it needs to be manually enabled by uncommenting it out at the bottom of [subprojects.cfg](https://github.com/firebase/firebase-android-sdk/blob/master/subprojects.cfg) (*Don't check this in*)
25+
26+
```
27+
# <near the bottom of the file>
28+
# Test Apps
29+
# If needed for development, uncomment but don't submit
30+
31+
#
32+
#some-other-app:test-app
33+
#and-another:test-app
34+
#...
35+
firebase-appdistribution:test-app
36+
37+
```
38+
2039
### Build with HEAD version of `firebase-appdistribution` SDK.
2140

2241
```

0 commit comments

Comments
 (0)