Get Started         Best Practices         Developer Guide         FAQ        
Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Error releasing App using Catchoom Cloud SDK for Android

Marc Jun 02, 2017

Hi,

we are about to release an Android App and we are facing an unexpected error:

Fatal Exception: java.lang.NoSuchMethodError: no static method "Lcc/openframeworks/OFAndroid;.setupGL(I)V"
at cc.openframeworks.OFAndroid.init(Unknown Source)
at cc.openframeworks.OFAndroid$2.run(Unknown Source)
at java.lang.Thread.run(Thread.java:818)

The error has been reproduced on 3 different devices.

But the app runs fine if we change the environment to "debug" instead of release.

Is there something that needs to be setup in the release config that we are missing?

Thank you.


( Agent )
Luis Martinell

Jun 02, 2017

Are you using proguard? Can you try disabling it if so?

0 rated
Marc

Jun 02, 2017

Yes, by disabling proguard the app works in release mode.

So proguard is incompatible with your SDK?
Do we have to put a specific command in the proguard settings (-keepclass or similar)?
0 rated
Marc

Jun 02, 2017

Yes, that was it.
Now it works!

Thank you Luis.
0 rated

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Couldn't find what you were looking for?

support@catchoom.com
https://cdn.desk.com/
false
catchoom
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete