Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JVM exception: Verifier rejected class … Constructor returning without calling superclass constructor #731

Closed
eMPee584 opened this issue Sep 17, 2024 · 3 comments

Comments

@eMPee584
Copy link

Trying to build a kivymd GUI for the DJI drone MSDK but not able to register the app with the framework because of following error. Can the verfifier be verriden, or any other idea?

 jnius.jnius.JavaException: Unable to found the constructor for dji/v5/manager/SDKManager

 During handling of the above exception, another exception occurred:

 Traceback (most recent call last):
   File "/home/standard_nutzer/Downloads/SAMPLE-KIVYMD-APP/.buildozer/android/app/main.py", line 38, in <module>
   File "jnius/jnius_export_class.pxi", line 269, in jnius.jnius.JavaClass.__init__
   File "jnius/jnius_export_class.pxi", line 394, in jnius.jnius.JavaClass.call_constructor
   File "jnius/jnius_utils.pxi", line 79, in jnius.jnius.check_exception
 jnius.jnius.JavaException: JVM exception occurred: Verifier rejected class dji.v5.manager.SDKManager: void dji.v5.manager.SDKManager.<init>() failed to verify: void dji.v5.manager.SDKManager.<init>(): [0x0] Constructor returning without calling superclass constructor
  void dji.v5.manager.SDKManager.<init>(dji.v5.manager.SDKManager$1) failed to verify: void dji.v5.manager.SDKManager.<init>(dji.v5.manager.SDKManager$1): [0x0] Constructor returning without calling superclass constructor (declaration of 'dji.v5.manager.SDKManager' appears in /data/app/com.dji.samplev5.aircraft-eAspws0ttIJMq9xY3EJ_Cw==/base.apk) java.lang.VerifyError
Python for android ended.
@cmacdonald
Copy link
Contributor

For me, this is a python-for-android or kivy question, not a jnius question per se.

@kuzeyron
Copy link

kuzeyron commented Dec 6, 2024

If this is still an issue, please provide with more information that we can follow.

Copy link

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have the means to take action. Please reach out if you have or find the answers we need so that we can investigate further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants