[4.8][Mac]Package Android Failed

Looks like Android Packaging appear to be bug at 4.8

It use to be working fine at 4.7.5 / 4.7.6

I have JAVA_HOME set up properly in bash_profile:
export JAVA_HOME=$(/usr/libexec/java_home)

.

On 4.7.5/4.7.6,

Android packaging work fine but javac warning appear saying major version 51 is available and i’m using version 50.

I guess on 4.7, unreal is using java version 6 to compile.

.

On 4.8,
Packaging fail.
To get it working, I have to edit bash_profile:

export JAVA_HOME=“/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home”

Hi shinichi88,

Can you attach the entirety of your failed build output logs to this thread as a txt file?

Thanks!

Hello ,

I couldn’t upload the txt file here. Please view it from my Google Drive link below.

I has to re-edit my bash_profile to get the failed output.
Upon enter “$JAVA_HOME” (without quote) on terminal I have the output : -bash: /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home: is a directory

Which mean the bash_profile is setup correctly. Is just ue4.8 unable to auto convert the directory.

Hi shinichi88,

Can you try the answer on this AH thread that had a similar problem?

Thanks!

Hi shinichi88,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.