You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
Adding macroid 2.0 to a fresh project created with sbt-android 1.7.10 gen-android yields the following proguard issues. How does one fix them? Shouldn't there be somewhere a list with proguard options that need to be enabled for macroid to work?
[info] Collecting resources
[info] Performing full resource merge
[info] QueuedCruncher is using /opt/android-sdk/build-tools/27.0.2/aapt
[info] Processing resources
[info] QueuedCruncher is using /opt/android-sdk/build-tools/27.0.2/aapt
[info] Rebuilding all classes because R.java has changed
[info] Regenerating TR.scala because R.java has changed
[info] Formatting 1 Scala source in foo:compile ...
[info] Compiling 4 Scala sources and 3 Java sources to /home/wookietreiber/projects/apps/foo/target/scala-2.11/classes...
[info] Packaging /home/wookietreiber/projects/apps/foo/target/android/intermediates/classes.jar ...
[info] Packaging resources: resources-debug.ap_
[info] QueuedCruncher is using /opt/android-sdk/build-tools/27.0.2/aapt
[info] Done packaging.
[info] Finding dependency references for: com.android.support:support-core-ui:25.0.1
[info] Finding dependency references for: com.android.support:support-v4:25.0.1
[info] Finding dependency references for: com.android.support:support-compat:25.0.1
[info] Finding dependency references for: com.android.support:support-vector-drawable:24.0.0
[info] Finding dependency references for: com.android.support:animated-vector-drawable:24.0.0
[info] Finding dependency references for: org.macroid:macroid_2.11:2.0
[info] Finding dependency references for: com.android.support:appcompat-v7:24.0.0
[info] Finding dependency references for: com.android.support:support-core-utils:25.0.1
[info] Finding dependency references for: com.android.support:support-fragment:25.0.1
[info] Finding dependency references for: com.android.support:support-media-compat:25.0.1
[info] Finding dependency references for: com.android.support:support-core-ui:25.0.1
[info] Finding dependency references for: com.android.support:support-compat:25.0.1
[info] Finding dependency references for: com.android.support:support-core-utils:25.0.1
[info] Finding dependency references for: com.android.support:support-fragment:25.0.1
[info] Finding dependency references for: com.android.support:support-media-compat:25.0.1
[info] Finding dependency references for: org.typelevel:macro-compat_2.11:1.1.1:default (artifactId=macro-compat_2.11, project.packaging=jar.asc, project.version=1.1.1, pom.groupId=org.typelevel, groupId=org.typelevel, project.groupId=org.
typelevel, version=1.1.1, pom.version=1.1.1, project.artifactId=macro-compat_2.11, pom.artifactId=macro-compat_2.11)
[info] Finding dependency references for: com.android.support:support-annotations:25.0.1:default (artifactId=support-annotations, project.packaging=pom.md5, project.version=25.0.1, pom.groupId=com.android.support, groupId=com.android.suppo
rt, project.groupId=com.android.support, version=25.0.1, pom.version=25.0.1, project.artifactId=support-annotations, pom.artifactId=support-annotations)
[info] Finding dependency references for: classes.jar
ProGuard, version 5.0
ProGuard is released under the GNU General Public License. You therefore
must ensure that programs that link to it (android, ...)
carry the GNU General Public License as well. Alternatively, you can
apply for an exception with the author of ProGuard.
Reading input...
Reading program jar [/home/wookietreiber/.android/sbt/exploded-aars/com.android.support-support-core-ui-25.0.1/classes.jar] (filtered)
Reading program jar [/home/wookietreiber/.android/sbt/exploded-aars/com.android.support-support-v4-25.0.1/classes.jar] (filtered)
Reading program jar [/home/wookietreiber/.android/sbt/exploded-aars/com.android.support-support-compat-25.0.1/classes.jar] (filtered)
Reading program jar [/home/wookietreiber/.android/sbt/exploded-aars/com.android.support-support-vector-drawable-24.0.0/classes.jar] (filtered)
Reading program jar [/home/wookietreiber/.android/sbt/exploded-aars/com.android.support-animated-vector-drawable-24.0.0/classes.jar] (filtered)
Reading program jar [/home/wookietreiber/.android/sbt/exploded-aars/org.macroid-macroid_2.11-2.0/classes.jar] (filtered)
Reading program jar [/home/wookietreiber/.android/sbt/exploded-aars/com.android.support-appcompat-v7-24.0.0/classes.jar] (filtered)
Reading program jar [/home/wookietreiber/.android/sbt/exploded-aars/com.android.support-support-core-utils-25.0.1/classes.jar] (filtered)
Reading program jar [/home/wookietreiber/.android/sbt/exploded-aars/com.android.support-support-fragment-25.0.1/classes.jar] (filtered)
Reading program jar [/home/wookietreiber/.android/sbt/exploded-aars/com.android.support-support-media-compat-25.0.1/classes.jar] (filtered)
Reading program jar [/home/wookietreiber/.android/sbt/exploded-aars/com.android.support-support-core-ui-25.0.1/libs/internal_impl-25.0.1.jar] (filtered)
Reading program jar [/home/wookietreiber/.android/sbt/exploded-aars/com.android.support-support-compat-25.0.1/libs/internal_impl-25.0.1.jar] (filtered)
Reading program jar [/home/wookietreiber/.android/sbt/exploded-aars/com.android.support-support-core-utils-25.0.1/libs/internal_impl-25.0.1.jar] (filtered)
Reading program jar [/home/wookietreiber/.android/sbt/exploded-aars/com.android.support-support-fragment-25.0.1/libs/internal_impl-25.0.1.jar] (filtered)
Reading program jar [/home/wookietreiber/.android/sbt/exploded-aars/com.android.support-support-media-compat-25.0.1/libs/internal_impl-25.0.1.jar] (filtered)
Reading program jar [/home/wookietreiber/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/modules/scala-xml_2.11/1.0.5/scala-xml_2.11-1.0.5.jar] (filtered)
Reading program jar [/home/wookietreiber/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.11.12/scala-compiler-2.11.12.jar] (filtered)
Reading program jar [/home/wookietreiber/.cache/coursier/v1/https/repo1.maven.org/maven2/org/typelevel/macro-compat_2.11/1.1.1/macro-compat_2.11-1.1.1.jar] (filtered)
Reading program jar [/home/wookietreiber/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/modules/scala-async_2.11/0.9.5/scala-async_2.11-0.9.5.jar] (filtered)
Reading program jar [/opt/android-sdk/extras/android/m2repository/com/android/support/support-annotations/25.0.1/support-annotations-25.0.1.jar] (filtered)
Reading program jar [/home/wookietreiber/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/modules/scala-parser-combinators_2.11/1.0.4/scala-parser-combinators_2.11-1.0.4.jar] (filtered)
Reading program jar [/home/wookietreiber/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.11.12/scala-reflect-2.11.12.jar] (filtered)
Reading program jar [/home/wookietreiber/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.11.12/scala-library-2.11.12.jar] (filtered)
Reading program jar [/home/wookietreiber/projects/apps/foo/target/android/intermediates/classes.jar] (filtered)
Reading library jar [/opt/android-sdk/platforms/android-27/android.jar]
Initializing...
Note: scala.tools.nsc.typechecker.TypeStrings$class calls 'Class.getEnclosingClass'
Warning: scala.async.internal.AsyncTransform$$typecreator3$1: can't find enclosing method 'scala.reflect.api.Trees$TreeApi startStateMachine$1(scala.async.internal.AsyncMacro,scala.reflect.api.TypeTags$WeakTypeTag,scala.reflect.api.Trees$ClassDefApi,scala.async.internal.ExprBuilder$AsyncBlock,scala.collection.immutable.List)' in program class scala.async.internal.AsyncTransform
Warning: scala.async.internal.LiveVariables$FindUseTraverser$1: can't find enclosing method 'scala.async.internal.LiveVariables$ReferencedFields$3 fieldsUsedIn$1(scala.async.internal.AsyncMacro,scala.async.internal.ExprBuilder$AsyncState,scala.collection.immutable.Set,scala.runtime.VolatileObjectRef)' in program class scala.async.internal.LiveVariables
Note: scala.tools.jline_embedded.OSvTerminal: can't find dynamically referenced class com.cloudius.util.Stty
Note: scala.tools.jline_embedded.console.ConsoleReader: can't find dynamically referenced class sun.misc.Signal
Note: scala.tools.jline_embedded.console.ConsoleReader: can't find dynamically referenced class sun.misc.SignalHandler
Note: scala.tools.jline_embedded.internal.TerminalLineSettings accesses a field 'INHERIT' dynamically
Maybe this is library field 'android.util.LayoutDirection { int INHERIT; }'
Maybe this is library field 'java.lang.ProcessBuilder$Redirect { java.lang.ProcessBuilder$Redirect INHERIT; }'
Maybe this is library field 'java.lang.ProcessBuilder$Redirect$Type { java.lang.ProcessBuilder$Redirect$Type INHERIT; }'
Note: there were 1 classes trying to access enclosing classes using reflection.
You should consider keeping the inner classes attributes
(using '-keepattributes InnerClasses').
(http://proguard.sourceforge.net/manual/troubleshooting.html#attributes)
Note: there were 3 unresolved dynamic references to classes or interfaces.
You should check if you need to specify additional program jars.
(http://proguard.sourceforge.net/manual/troubleshooting.html#dynamicalclass)
Note: there were 1 accesses to class members by means of introspection.
You should consider explicitly keeping the mentioned class members
(using '-keep' or '-keepclassmembers').
(http://proguard.sourceforge.net/manual/troubleshooting.html#dynamicalclassmember)
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
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Adding macroid 2.0 to a fresh project created with sbt-android 1.7.10
gen-android
yields the following proguard issues. How does one fix them? Shouldn't there be somewhere a list with proguard options that need to be enabled for macroid to work?The text was updated successfully, but these errors were encountered: