Recent

Author Topic: LAMW "pAppOnScreenStyle" error SOLVED  (Read 621 times)

Manlio

  • Full Member
  • ***
  • Posts: 162
  • Pascal dev
LAMW "pAppOnScreenStyle" error SOLVED
« on: March 21, 2020, 02:00:40 pm »
I was getting this mysterious error:

  java.lang.UnsatisfiedLinkError: No implementation found for
  int com.example.myapp.Controls.pAppOnScreenStyle()

Finally I discovered that the cause was a missing third-party library (.so) file.

Specifically, In my app I was using the BASS sound library from n4seen.com, and I just forgot to copy the file libbass.so into the libs folder of my project. (The same folder where LAMW stores the compiled "libcontrols.so" file)

After I copied the libbass.so file in the libs folder, everything worked.

In case you have a similar problem, I hope this helps. (I spent a lot of time looking for screen-related bugs, etc. when the problem was a completely different one).

I also suspect that pAppOnScreenStyle or other mysterious errors may be caused by errors in the manifest file, in the jControls tag in the controls.lpi file, and so on. In other words, if you get this error, don't think about the screen, but look upstream and at system settings and possible errors.
manlio mazzon gmail

 

TinyPortal © 2005-2018