android-example-app icon indicating copy to clipboard operation
android-example-app copied to clipboard

Debug startup crash after update to OTP 26

Open spicychickensauce opened this issue 9 months ago • 0 comments

I'm trying to get my existing app to run with the new OTP 26 https://github.com/elixir-desktop/android-example-app/pull/11 setup. I've copied over all the runtimes and made all the changes, but my app no longer starts.

It crashes with this error:

Could not start kernel pid (application_controller)

{{case_clause,{'EXIT',
  {undef,[
    {erl_prim_loader,read_file,["/data/user/0/com.example.app/files/app/releases/0.1.0/sys.config"],[]},
    {application_controller,load_file,1,[{file,"application_controller.erl"},{line,1968}]},
    {application_controller,conf_param_to_conf,1,[{file,"application_controller.erl"},{line,1838}]},
    {application_controller,'-check_conf/0-fun-0-',2,[{file,"application_controller.erl"},{line,1930}]},
    {lists,foldl,3,[{file,"lists.erl"},{line,2146}]},
    {application_controller,check_conf,0,[{file,"application_controller.erl"},{line,1929}]},
    {application_controller,init,2,[{file,"application_controller.erl"},{line,525}]}
  ]}
}}, [{application_controller,init,2,[{file,"application_controller.erl"},{line,525}]}]}

Crash dump is being
 written to: erl_crash.dump...
done

I have no idea how to approach debugging this, any help?

I noticed that the *-nif-exqlite.zip files were not updated, could that be the cause? My app uses sqlite.

I would greatly appreciate any help here, thanks!

spicychickensauce avatar Mar 23 '25 12:03 spicychickensauce