Cannot deploy to Android App Bundle

Whenever I upload my app bundle to the Google Play Developer Console, their test results give me this(I also tested it on my own device, it crashed)

FATAL EXCEPTION: ControllerMessenger
Process:, PID: 26018
	at com.jme3.system.AppSettings.<clinit>(
	at androidx.test.runner.MonitoringInstrumentation.callActivityOnCreate(
	at Source:0)
	at android.os.Handler.dispatchMessage(
	at androidx.test.espresso.base.Interrogator.a(
	at androidx.test.espresso.base.UiControllerImpl.a(
	at androidx.test.espresso.base.UiControllerImpl.a(
	at androidx.test.espresso.base.UiControllerImpl.a(
	at androidx.test.espresso.action.MotionEvents.a(
	at androidx.test.espresso.action.MotionEvents.a(
	at androidx.test.espresso.action.Tap.c(
	at androidx.test.espresso.action.Tap.a(
	at androidx.test.espresso.action.Tap$1.b(
	at androidx.test.espresso.action.GeneralClickAction.perform(
	at androidx.test.espresso.ViewInteraction$SingleExecutionViewAction.perform(
	at androidx.test.espresso.ViewInteraction.a(
	at androidx.test.espresso.ViewInteraction.a(
	at androidx.test.espresso.ViewInteraction$
	at android.os.Handler.handleCallback(
	at android.os.Handler.dispatchMessage(
	at android.os.Looper.loop(
	at java.lang.reflect.Method.invoke(Native Method)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int[])' on a null object reference
	at java.util.Properties$LineReader.readLine(
	at java.util.Properties.load0(
	at java.util.Properties.load(
	at com.jme3.system.JmeVersion.<clinit>(
	... 33 more

…would been nice to know the JME version.

Fortunately, the other class hasn’t moved:

So in 90 seconds, I found your issue by a few clicks.

Somehow people are managing to get JME libraries without the file in it. This happened to someone else trying to run their app outside the SDK. Not sure how it happens. Could be part of the android build in this case… I don’t know what process you went through to get here.

And now I’ve already provided more info in my answer than you did in your question.

Where can I get And how can I get it into my bundle?
I couldn’t find it in the repo: Search · · GitHub
Note that is ONLY missing when building an android app bundle. DEBUG APKS BUILD FINE. My guess is it’s related to the bundle build process. Any idea what part of that causes the problem?

It’s created as part of the build process and bundled into the .jar then.

C:\Development\github\jmonkeyengine.git\dist\lib>jar -tvf jme3-core.jar
     0 Sat Jan 26 19:59:34 EST 2019 META-INF/
    96 Sat Oct 27 04:00:54 EDT 2018 META-INF/MANIFEST.MF
     0 Sat Jan 26 19:59:26 EST 2019 checkers/
     0 Sat Jan 26 19:59:26 EST 2019 checkers/quals/
  1078 Sat Jan 26 19:59:26 EST 2019 checkers/quals/DefaultLocation.class
   183 Sat Jan 26 19:59:34 EST 2019 com/jme3/asset/Desktop.cfg
  1503 Sat Jan 26 19:59:34 EST 2019 com/jme3/asset/General.cfg
   292 Sat Jan 26 19:59:34 EST 2019 com/jme3/system/
     0 Sat Jan 26 19:59:34 EST 2019 Common/


   292 Sat Jan 26 19:59:34 EST 2019 com/jme3/system/

I don’t know anything about building for android. Maybe someone else does.

This is also caused by sometthing in JME: A (really descriptive) “App not installed” error on singed Only Signed apks

Off the top of my head, Android builds use proguard to obfusticate and strip unused code/files from the build. If you’re missing a file that exists before proguard does it’s thing, I’d look to that. As far as I’m aware, it has separate settings for debug and build states. It may be that it’s more aggressive in build mode.

Figured out: It was a problem related to not completely uninstalling my apks. HOWEVER: android app bundles still fail to include the file, even after putting useProguard false in the app gradle.
It’s somethng wrong with the bundle process.

Edit: And you can’t even copy the file into the bundle because of validation problems

Not related but I had similar problem missing
problem with proguard when I did release apk. Adding following in proguard rules seems to fix it

-keeppackagenames com.jme3.system
-adaptresourcefilenames *.properties