Android Proguard - Issue while adding Library project

175
March 13, 2018, at 11:06 AM

We recently added proguard to our app which has multiple modules. For one of the Java module we are getting below errors:

Error:org.gradle.api.artifacts.transform.ArtifactTransformException: Failed to transform file '.jar' to match attributes {artifactType=android-classes} using transform JarTransform

Error:org.gradle.api.InvalidUserDataException: Transform output file /Users/abc/Documents/App/Module/build/libs/-1.0.jar does not exist.

Warning: there were 2 unresolved references to program class members. Your input classes appear to be inconsistent. You may need to recompile the code. (http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedprogramclassmember)

Not sure what is missing. Also all the rules for 3rd paty libraries are defined in proguard-rules.pro

We are simply adding the java module by implementation project(":ModuleName")

And this module at compile time also generates one .jar file in the module/builds/libs folder.

READ ALSO
Error while sending the first notification to all users in Android using FCM

Error while sending the first notification to all users in Android using FCM

I'm starting to use FCM in my app and today I tried to send a small notification to all users in my appI donwoloaded the json just fine and it works fine, no error in the IDE, but the problem comes when I send the notification

208
How To Set Hotspot/Wifi Direct Name And Password in Android 8 Oreo

How To Set Hotspot/Wifi Direct Name And Password in Android 8 Oreo

Android Oreo has made it easier to enable and disable WiFi Hotspot programmatically using LocalOnlyHotspotHowever, I have tried using WifiConfig to reconfigure the network such that it either gives a consistent local hotspot name or there is no password...

197
How to delete, revert, reposition Canvas drawings on Android? How to implement an expandable and zoom-in zoom-out by pinching?

How to delete, revert, reposition Canvas drawings on Android? How to implement an expandable and zoom-in zoom-out by pinching?

I'm developing a flowchart drawing app for AndroidI implemented the shapes, toolbars etc, now users can drag and drop a shape to the drawing surface and the gets drawn using Canvas

140
What is the best approach to send and receive the big image files in a Firebase/Android chat app

What is the best approach to send and receive the big image files in a Firebase/Android chat app

I am working on a chat app that is using Firebase realtime database and storage

146