openframeworks / openframeworks/openFrameworks

Android Studio gradle Sync error.

Open
#6,898 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

I installed android studio, openframeworks for android, linux, running the installation scripts for linux and copying the project generator command line folder from linux to android and creating from the tamplate.
Then downloaded ndk15 gave his path to android studio in the local.properties file, changed the version of java that it uses to 1.8 so that gradle 3.3 works I now get these errors.

cvc-complex-type.2.4.a: Invalid content was found starting with element 'base-extension'. One of '{layoutlib}' is expected.
cvc-complex-type.2.4.d: Invalid content was found starting with element 'base-extension'. No child element is expected at this point.
cvc-complex-type.2.4.a: Invalid content was found starting with element 'base-extension'. One of '{codename, tag}' is expected.

What is the issue?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin with the Linux installation scripts, the copied project generator command-line folder, local.properties, and the generated Android project. Reproduce the Gradle sync using NDK15 and Java 1.8, then determine which setup produces the listed XML errors. Done means the template project syncs successfully in Android Studio or the required compatible setup is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, cpp, java
Domain
build-system, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.