flipperzero icon indicating copy to clipboard operation
flipperzero copied to clipboard

Flipper fails to load app with "Error: Missing Imports" despite API version matching

Open Aversefun opened this issue 11 months ago • 4 comments

For some reason, for my app, every time I attempt to load it on my flipper I get the same error saying that it's missing imports. This in general means that the flipper zero firmware is out-of-date, however the firmware is up to date and has the same API version.

Aversefun avatar Jan 27 '25 22:01 Aversefun

Here is my firmware information from the ! command through the CLI:

firmware_commit               : 37b251bf                                                                                                                                         
firmware_commit_dirty         : false                                                                                                                                            
firmware_branch               : 1.2.0                                                                                                                                            
firmware_branch_num           : 0                                                                                                                                                
firmware_version              : 1.2.0                                                                                                                                            
firmware_build_date           : 23-01-2025                                                                                                                                       
firmware_target               : 7                                                                                                                                                
firmware_api_major            : 79                                                                                                                                               
firmware_api_minor            : 2                                                                                                                                                
firmware_origin_fork          : Official                                                                                                                                         
firmware_origin_git           : https://github.com/flipperdevices/flipperzero-firmware

Aversefun avatar Jan 27 '25 22:01 Aversefun

Hi @AverseABFun,

Sorry to hear that your app isn't working. I'll need a bit more information from you to be able to track down the issue.

What is the version of the flipperzero crates you have in your Cargo.toml?

Can I also get you to paste the outputs of the serial log after running your application with Settings > System > Log Level set to Debug and Settings > System > Debug set to ON. You should be able to see the output by running the log command in the serial console.

I'm most likely looking for something before an [E][Elf] Error relocating section '…' message.

Alternatively if you could attach a .fap file that causes the issue, that would be extremely helpful for investigating.

dcoles avatar Jan 28 '25 04:01 dcoles

Sorry for the delay, testing now.

Aversefun avatar Jan 29 '25 14:01 Aversefun

Hi @AverseABFun. Did you have any luck collecting the logs? If this is no longer a problem, I'll close out this issue in a few days.

dcoles avatar Feb 19 '25 04:02 dcoles

Closing due to no response.

dcoles avatar Apr 21 '25 05:04 dcoles