We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3418 - Android Init : error message
Summary: Android Init : error message
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 2.0
Hardware: All Android (All)
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-30 14:15 UTC by Sylvain
Modified: 2016-08-30 19:30 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sylvain 2016-08-30 14:15:52 UTC
I saw the message: "SDL: Couldn't locate Java callbacks, check that they're named and typed correctly"

There is a small error in the line of "src/core/android/SDL_android.c":

"midCaptureOpen" has *two* "!" with a line return.

Line 147


 146     if (!midGetNativeSurface ||
 147        !midAudioOpen || !midAudioWriteShortBuffer || !midAudioWriteByteBuffer || !midAudioClose || !
 148        !midCaptureOpen || !midCaptureReadShortBuffer || !midCaptureReadByteBuffer || !midCaptureClose ||
 149        !midPollInputDevices) {
 150         __android_log_print(ANDROID_LOG_WARN, "SDL", "SDL: Couldn't locate Java callbacks, check that they're named and typed correctly");
 151     }
Comment 1 Philipp Wiesemann 2016-08-30 19:30:34 UTC
This patch is now https://hg.libsdl.org/SDL/rev/80190c2a271d, thanks!