Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add back Android demo module #64 #100

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

pxlmesh
Copy link

@pxlmesh pxlmesh commented Apr 3, 2023

The following changes allow the Android and Desktop demo to work with latest Android Studio "Electric Eel | 2022.1.1 Patch 2".
Android Gradle Plugin Version: 7.4.2
Gradle Version: 8.0.2

The HTML demo isn't working, however, and is commented out in settings.gradle.
IBL Composer still appears to run.

Also, these changes are untested against IDEA or Eclipse IDEs.

shpowley added 2 commits April 3, 2023 01:18
Android demo now works without conflict with HTML, desktop demos.

Android Gradle Plugin / Gradle versions cannot exceed the following without unresolved errors.
Android Gradle Plugin Version: 7.4.2
Gradle Version: 7.5.1
@pxlmesh
Copy link
Author

pxlmesh commented Apr 27, 2023

This revised commit allows Android, desktop and HTML demos to work without conflict. HTML tested using dist and superdev options without problems. IBL composer also still works. Gradle files were mostly modified and I tried to leave Eclipse/IntelliJ gradle sections intact. Not really sure what specifically fixed things.

Fixed/tested using Android Studio Flamingo | 2022.2.1 on Windows 11.

The following have not been tested.
IOS/Mac, Eclipse and IntelliJ IDEA.

ADDITIONAL NOTE re: AGP/Gradle VERSION
Using the most recent gdx-setup.jar to create a default HTML deployment, it appears that Android Gradle Plugin (AGP) and Gradle versions cannot be upgraded past a certain point. Based on this test, it appears to be an issue specific to HTML deployment only. This was also true for this gdx-gltf project due to HTML demo.

Android Gradle Plugin Version: 7.4.2 (the latest is 8.0.0 as of 4/27/2023)
Gradle Version: 7.5.1 (the latest is 8.1.1 as of 4/27/2023)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants