Android bob.jar bundling crash

#1

This crash happened after adding texture profiles to my game and tweaking a few game.project settings (namely android bundle ID, version code and immersive mode). It worked before making these changes.

Update: Removed the texture profiles and it bundles fine, so that’s indeed the culprit. I’ll paste my texture profiles below.

INFO: Using extender binary for architecture: Armv7Android
Feb 05, 2020 5:46:16 PM com.dynamo.bob.bundle.AndroidBundler bundleApplication
INFO: armv7-android exe: /Users/da_petcu21/Work/interrogation-builds1/build/armv7-android/libdmengine.so
Feb 05, 2020 5:46:16 PM com.dynamo.bob.bundle.AndroidBundler bundleApplication
INFO: Using extender binary for architecture: Arm64Android
Feb 05, 2020 5:46:16 PM com.dynamo.bob.bundle.AndroidBundler bundleApplication
INFO: arm64-android exe: /Users/da_petcu21/Work/interrogation-builds1/build/arm64-android/libdmengine.so
Exception in thread "main" com.dynamo.bob.CompileExceptionError: -109339156
	at com.dynamo.bob.Project.build(Project.java:451)
	at com.dynamo.bob.Bob.main(Bob.java:569)
Caused by: java.lang.NegativeArraySizeException: -109339156
	at com.dynamo.bob.bundle.AndroidBundler.bundleApplication(AndroidBundler.java:330)
	at com.dynamo.bob.Project.bundle(Project.java:592)
	at com.dynamo.bob.Project.doBuild(Project.java:875)
	at com.dynamo.bob.Project.build(Project.java:441)
	... 1 more
path_settings {
  path: "**"
  profile: "CompressedOnMobile"
}
profiles {
  name: "Default"
  platforms {
    os: OS_ID_GENERIC
    formats {
      format: TEXTURE_FORMAT_RGBA
      compression_level: BEST
      compression_type: COMPRESSION_TYPE_DEFAULT
    }
    mipmaps: true
  }
}
profiles {
  name: "CompressedOnMobile"
  platforms {
    os: OS_ID_GENERIC
    formats {
      format: TEXTURE_FORMAT_RGBA
      compression_level: BEST
      compression_type: COMPRESSION_TYPE_DEFAULT
    }
    mipmaps: true
  }
  platforms {
    os: OS_ID_ANDROID
    formats {
      format: TEXTURE_FORMAT_RGBA
      compression_level: BEST
      compression_type: COMPRESSION_TYPE_WEBP_LOSSY
    }
    mipmaps: false
  }
}
2 Likes