SyncGeodatabaseParameters syncParams = geodatabase.getSyncParameters(); syncParams.setSyncDirection(SyncDirection.UPLOAD);
Solved! Go to Solution.
I cannot open your jars.jpg to confirm but most likely your project is not set up correctly as the class in the jar is dependent on native libs being present. Try the following:
First confirm your project is an ArcGIS Android Project
> Right Click your project and choose ArcGIS Tools
> If Convert to ArcGIS Android Project is enabled select that tool to ensure your project has all dependent libraries.
> if Convert to ArcGIS Android Project is not enabled (greyed out), then select Fix Project Properties to ensure your project has all dependent libraries.
Please try and re-share your project structure if you continue to have issues.
I think this is a Eclipse issue. I got the same error but when I tried to run with the error, it works. Just ignore the error and run it. It will work fine.
I also tested the same code in IntelliJ, it works with no error.