[Fixed] Errors running Juce Demo for Android on Windows/OSX Emulator

Hi, new to this so just finding my way, but trying to run the Juce Demo and getting the following errors:

Information:Gradle tasks [:app:assembleDebug_Debug]
Error:error: use of undeclared identifier 'getifaddrs’
Error:error: member access into incomplete type 'struct ifaddrs’
Information:note: forward declaration of 'ifaddrs’
Error:error: expected ')'
Information:note: to match this '('
Error:error: member access into incomplete type 'struct ifaddrs’
Information:note: forward declaration of 'ifaddrs’
Error:error: member access into incomplete type 'struct ifaddrs’
Information:note: forward declaration of 'ifaddrs’
Error:error: member access into incomplete type 'struct ifaddrs’
Information:note: forward declaration of 'ifaddrs’
Error:error: member access into incomplete type 'struct ifaddrs’
Information:note: forward declaration of 'ifaddrs’
Error:error: member access into incomplete type ‘struct ifaddrs’

Hmmm that’s really odd. Did you change the build tools version or the SDK target version?

Build tools were left at 25.0.2. Tried SDK level 10 and 25…

btw, I’m on develop branch

I’ve updated the title as really this is an issue running rather than building it would seem

Yes this is an issue with a very recent commit: https://github.com/julianstorer/JUCE/commit/e09c2b65a18dae09a4a3fffa81ffc909a1851a0b

You can undo that commit for now while I work on a fix.

OK. A Temporary fix (disabling IPv6 on Android) has been pushed to develop.

Thx, will try this eve and report back

Looking good now, thanks