capacitor-community / capacitor-community/fcm
I cannot build an APK file in the example app
- Dominant language
- TypeScript
- Stars
- 272
- Forks
- 96
- PR merge metrics
- No merged PRs in 30d
Description
I cloned the repo (I'm at [72ab436](https://github.com/capacitor-community/fcm/commit/72ab436e5869919625314f0bab8b33e37f35aaa8)) and tried to build an APK file. After opening Android Studio I ran `Build | Make Project` and got this:
```
Could not determine the dependencies of task ':compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':debugCompileClasspath'.
> Could not resolve project :capacitor-android.
Required by:
project :
> Unable to find a matching configuration of project :capacitor-android:
- None of the consumable configurations have attributes.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
```
Clicking on those `--info` and other options gives the same.
What can I do to build an APK file of this example app? What am I doing wrong?
Contributor guide
Research direction
Reproduce the Android Studio Build | Make Project failure from commit 72ab436 and inspect how the example app declares the :capacitor-android project dependency. Done means the example app builds successfully and produces an APK.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100