Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix Android mode support on MacOS X#2525

Closed
jasstrong wants to merge 2 commits intoprocessing:masterprocessing/processing:masterfrom
jasstrong:masterjasstrong/processing:masterCopy head branch name to clipboard
Closed

Fix Android mode support on MacOS X#2525
jasstrong wants to merge 2 commits intoprocessing:masterprocessing/processing:masterfrom
jasstrong:masterjasstrong/processing:masterCopy head branch name to clipboard

Conversation

@jasstrong
Copy link

The change in 2.2 to using the Oracle appbundler means that javac is no
longer available, and copying it in from outside leads to the Android
SDK utilities breaking (pre-dexing hangs, or javac hangs, or it builds
a broken Android apk that doesn't run.)

This change adds back in the javac from the JDK that Android mode needs,
and avoids breaking the Android SDK utilities in the process.

The changes to the Toolkit.setIcon() method also broke a bunch of modes, in
particular the Permissions dialog in which one could select permissions for the
AndroidManifest. This change stubs out the setIcon(Frame f) method, letting
them run again.

jasstrong added 2 commits May 18, 2014 15:22
The change in 2.2 to using the Oracle appbundler means that javac is no
longer available, and copying it in from outside leads to the Android
SDK utilities breaking (pre-dexing hangs, or javac hangs, or it builds
a broken Android apk that doesn't run.)
Stub out the setIcon(Frame f) method on Toolkit so that the four or
five modes that use it don't NoSuchMethodError on them.
@aengelke
Copy link
Contributor

Shouldn't this issue being fixed in the android mode? Furthermore, the intention was to ship Processing with a clean jre without extensions.

@benfry
Copy link
Contributor

benfry commented May 19, 2014

Please use the Android repository: https://github.com/processing/processing-android

This sort of fix needs to be handled in a broader way so that it's covered across all platforms. It's a bit of work and I haven't had time to do it, but we hope that it can happen during GSoC.

@benfry benfry closed this May 19, 2014
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.