Closed kanetik closed 8 years ago
The exact text of the error message is: "Expecting opening '{' at ';' in line 104 of file 'C:\Users\Jeremy\My Projects\Wakey\app\build\intermediates\exploded-aar\com.taplytics.sdk\taplytics\1.9.0\proguard.txt'"
@jkane001 do a ./gradlew clean build --refresh-dependencies
I'm pretty sure I shortly right after I released it, so I didn't do a vernum bump.
Let me know.
Did that, still get the same result. Perhaps a version bump is needed after all?
On Sun, Jun 12, 2016 at 7:30 PM Victor Vucicevich (Vic Vu) < notifications@github.com> wrote:
@jkane001 https://github.com/jkane001 do a ./gradlew clean build --refresh-dependencies
I'm pretty sure I shortly right after I released it, so I didn't do a vernum bump.
Let me know.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/taplytics/Taplytics-Android-SDK/issues/15#issuecomment-225466918, or mute the thread https://github.com/notifications/unsubscribe/AAwn0SavtpYqwbHWS2jAheXSmuoFUnTOks5qLJasgaJpZM4IzpEA .
I guess so. I'm trying to find out how it passed my CI right now.
@jkane001 try that again. I had uploaded the wrong file.
That seems to have fixed it - thanks!
@VicV With the update to Taplytics 1.9.0, I get an error building with Proguard enabled. The error says something about "expected { but found ; on line 190 of proguard.txt" (it includes the path to the Taplytics proguard file which is copied below. Line 190 is this:
-keep public class com.taplytics.sdk.TLGcmBroadcastReceiver; - presumably the trailing ";" should simply be deleted.
Full proguard.txt file:
-dontshrink
-dontnote
-dontoptimize
-keepattributes Exceptions,LineNumberTable,Signature,Annotation,SourceFile
-keepparameternames
-renamesourcefileattribute SourceFile
-optimizations !code/simplification/arithmetic
-keepclassmembers class * extends java.io.Serializable { static final long serialVersionUID; private static final java.io.ObjectStreamField[] serialPersistentFields; private void writeObject(java.io.ObjectOutputStream); private void readObject(java.io.ObjectInputStream); java.lang.Object writeReplace(); java.lang.Object readResolve(); }
-dontwarn io.socket. -dontwarn com.taplytics. -dontwarn okio.* -dontwarn java.nio.file. -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
-keep public class com.taplytics.sdk.Taplytics { public protected;
public protected ;
public protected *;
}
-keep public interface com.taplytics.sdk.TaplyticsPushNotificationListener { public protected *;