UE4.27 Android packaging error

Exception java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 [in thread “Daemon worker”]

Solved it! Changed the Target SDK version to proper setting. In my case it is 32.

  1. Go to project settings
  2. Search for Android
  3. Target SDK Version (19=Kitkat, 21=Lollipop)
  4. Insert the proper SDK

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.