Rosjava android_apps compilation errors
When compiling the rosjava android_apps example apps I get ~192 errors from gradle that resemble this:
"warning: Ignoring InnerClasses attribute for an anonymous inner class (org.apache.ws.commons.util.Base64$2) that doesn't come with an associated EnclosingMethod attribute. This class was probably produced by a compiler that did not target the modern .class file format. The recommended solution is to recompile the class from source, using an up-to-date compiler and without specifying any "-target" type options. The consequence of ignoring this warning is that reflective operations on this class will incorrectly indicate that it is not an inner class."
I've found other questions online where people have had this same problem, but none of the answers I've tried have worked (and it seems like other people have had as similar experience).
What I've tried so far:
- Using the latest version of Gradle
- Using the latest Android SDK
- Using the latest Android SDK and the latest version of Gradle
- Creating a fresh project that adds android_core as a dependency as their apps do
The end goal is to create a simple ROS node Android app. Has anyone had success with this recently?
Note: it looks like in older versions of Gradle these show up as warnings instead of errors
Same here. I get also 192 errors, but fortunately I can compile and run the app instead (using Android Studio)
This shouldn't be happening right now with the latest updates.