openframeworks / openframeworks/openFrameworks
How to run in the latest version of android studio
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
Ask for help, thanks for reading.
I've encountered a difficult problem in the process of using ofx-android, and I don't know how to solve it.
When using the latest version of androidstudio, I found that the project created by ofx-android cannot be run.
The main reason is that the new version of androidstudio does not support gradle 3.3, and the gradle-experimental used in the project is no longer updated.
When upgrading the gradle version, other problems will suddenly appear, such as
Gradle sync failed: Exception thrown while executing model rule: BaseComponentModelPlugin.Rules#createVariantData(ModelMap<AndroidBinaryInternal>, ModelMap<AndroidComponentSpec>, TaskManager) > afterEach()
Oh I'm at a loss what to do, I also found several similar questions asked in the forum:
https://forum.openframeworks.cc/t/app-bundles-for-new-apps-in-the-play-store/39897
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with the latest Android Studio and the ofx-android project using Gradle 3.3 and gradle-experimental. Review the Android build configuration and the reported BaseComponentModelPlugin error; done means the project syncs and runs with a currently supported Android Studio setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- build-system, mobile-dev
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100