Add Omero Java files to Android studio
Posted: Mon Jun 04, 2018 8:35 pm
Hi,
I'm trying to connect to my Omero server from my Android app. So, I downloads all the artifacts and added them as libraries. However, during compilation I'm getting error:
I know this might be not in your expertise, but please let me know if you have some ideas.
Thanks,
Hang
I'm trying to connect to my Omero server from my Android app. So, I downloads all the artifacts and added them as libraries. However, during compilation I'm getting error:
- Code: Select all
Error:com.android.builder.dexing.DexArchiveBuilderException: Failed to process Q:\Malaria\AndroidProject\Omero\app\libs\java-getopt.jar
Error:com.android.builder.dexing.DexArchiveBuilderException: Error while dexing gnu/getopt/GetoptDemo.class
Error:com.android.dx.cf.iface.ParseException: class name (GetoptDemo) does not match path (gnu/getopt/GetoptDemo.class)
Error:Execution failed for task ':app:transformClassesWithDexBuilderForDebug'.
> com.android.build.api.transform.TransformException: com.android.builder.dexing.DexArchiveBuilderException: com.android.builder.dexing.DexArchiveBuilderException: Failed to process Q:\Malaria\AndroidProject\Omero\app\libs\java-getopt.jar
I know this might be not in your expertise, but please let me know if you have some ideas.
Thanks,
Hang