Comments (7)
It doesn't look like those projects have AndroidProguardScala nature;
there's no proguard_conf directory (or did you just not check that in?)
What does the proguard_processed.conf file look like?
from androidproguardscala.
FYI, I'm starting to add to the troubleshooting section of
https://github.com/banshee/AndroidProguardScala/blob/master/README.md
On Sun, Feb 3, 2013 at 12:41 PM, James Moore [email protected] wrote:
It doesn't look like those projects have AndroidProguardScala nature;
there's no proguard_conf directory (or did you just not check that in?)What does the proguard_processed.conf file look like?
James Moore
[email protected]
http://jamesmoorecode.blogspot.com/
from androidproguardscala.
On Sun, Feb 3, 2013 at 3:42 PM, James Moore [email protected] wrote:
It doesn't look like those projects have AndroidProguardScala nature;
The nature is listed in hi/.project and hiTest/.project
there's no proguard_conf directory (or did you just not check that in?)
I've never seen such a thing.
I do have proguard_cache and proguard_cache_conf directories, which I
assumed I shouldn't check in.
What does the proguard_processed.conf file look like?
like this:
-injars "/Users/jim/i/android/eclipse/configuration/org.eclipse.osgi/bundles/479/1/.cp/lib/scala-library.jar"(!META-INF/MANIFEST.MF)
-injars "/Users/jim/i/android/eclipse/configuration/org.eclipse.osgi/bundles/479/1/.cp/lib/scala-swing.jar"(!META-INF/MANIFEST.MF)
-injars "/Users/jim/i/android/eclipse/configuration/org.eclipse.osgi/bundles/479/1/.cp/lib/scala-actors.jar"(!META-INF/MANIFEST.MF)
-outjars "/Users/jim/e/hi/proguard_cache/jartender_cache_6342811044649977578.jar"
-injars "/Users/jim/e/hi/bin/classes"
-libraryjars "/Users/jim/i/android/sdk/platforms/android-4.2/android.jar"
-libraryjars "/Users/jim/e/hi/libs/android-support-v4.jar"
-dontwarn
-dontoptimize
-dontobfuscate
-dontskipnonpubliclibraryclasses
-dontskipnonpubliclibraryclassmembers
-ignorewarnings
-forceprocessing
# Inserting proguard additions file
/Users/jim/e/hi/proguard_cache_conf/proguard_additions.conf here
# /Users/jim/e/hi/proguard_cache_conf/proguard_additions.conf (No
such file or directory)
-keep class com.zope.hi.BuildConfig {;}
-keep class com.zope.hi.MainActivity {;}
-keep class com.zope.hi.R$attr {;}
-keep class com.zope.hi.R$drawable {;}
-keep class com.zope.hi.R$id {;}
-keep class com.zope.hi.R$layout {;}
-keep class com.zope.hi.R$menu {;}
-keep class com.zope.hi.R$string {;}
-keep class com.zope.hi.R$style {;}
-keep class com.zope.hi.R {;}
So it looks like there's a missing -injars for the test project.
Jim Fulton
http://www.linkedin.com/in/jimfulton
Jerky is better than bacon! http://zo.pe/Kqm
from androidproguardscala.
What Scala ide version are you using?
On Feb 3, 2013 1:02 PM, "Jim Fulton" [email protected] wrote:
On Sun, Feb 3, 2013 at 3:42 PM, James Moore [email protected]
wrote:It doesn't look like those projects have AndroidProguardScala nature;
The nature is listed in hi/.project and hiTest/.project
there's no proguard_conf directory (or did you just not check that in?)
I've never seen such a thing.
I do have proguard_cache and proguard_cache_conf directories, which I
assumed I shouldn't check in.What does the proguard_processed.conf file look like?
like this:
-injars
"/Users/jim/i/android/eclipse/configuration/org.eclipse.osgi/bundles/479/1/.cp/lib/scala-library.jar"(!META-INF/MANIFEST.MF)
-injars
"/Users/jim/i/android/eclipse/configuration/org.eclipse.osgi/bundles/479/1/.cp/lib/scala-swing.jar"(!META-INF/MANIFEST.MF)
-injars
"/Users/jim/i/android/eclipse/configuration/org.eclipse.osgi/bundles/479/1/.cp/lib/scala-actors.jar"(!META-INF/MANIFEST.MF)
-outjars
"/Users/jim/e/hi/proguard_cache/jartender_cache_6342811044649977578.jar"
-injars "/Users/jim/e/hi/bin/classes"
-libraryjars "/Users/jim/i/android/sdk/platforms/android-4.2/android.jar"
-libraryjars "/Users/jim/e/hi/libs/android-support-v4.jar"
-dontwarn
-dontoptimize
-dontobfuscate
-dontskipnonpubliclibraryclasses
-dontskipnonpubliclibraryclassmembers-ignorewarnings
-forceprocessingInserting proguard additions file
/Users/jim/e/hi/proguard_cache_conf/proguard_additions.conf here
/Users/jim/e/hi/proguard_cache_conf/proguard_additions.conf (No
such file or directory)
-keep class com.zope.hi.BuildConfig {;}
-keep class com.zope.hi.MainActivity {;}
-keep class com.zope.hi.R$attr {;}
-keep class com.zope.hi.R$drawable {;}
-keep class com.zope.hi.R$id {;}
-keep class com.zope.hi.R$layout {;}
-keep class com.zope.hi.R$menu {;}
-keep class com.zope.hi.R$string {;}
-keep class com.zope.hi.R$style {;}
-keep class com.zope.hi.R {;}So it looks like there's a missing -injars for the test project.
Jim Fulton
http://www.linkedin.com/in/jimfulton
Jerky is better than bacon! http://zo.pe/Kqm—
Reply to this email directly or view it on GitHubhttps://github.com//issues/34#issuecomment-13054228.
from androidproguardscala.
On Sun, Feb 3, 2013 at 4:02 PM, Jim Fulton [email protected] wrote:
On Sun, Feb 3, 2013 at 3:42 PM, James Moore [email protected] wrote:
What does the proguard_processed.conf file look like?
like this:
Sorry, I think I sent the wrong one. It look like this:
-injars "/Users/jim/i/android/eclipse/configuration/org.eclipse.osgi/bundles/479/1/.cp/lib/scala-library.jar"(!META-INF/MANIFEST.MF)
-injars "/Users/jim/i/android/eclipse/configuration/org.eclipse.osgi/bundles/479/1/.cp/lib/scala-swing.jar"(!META-INF/MANIFEST.MF)
-injars "/Users/jim/i/android/eclipse/configuration/org.eclipse.osgi/bundles/479/1/.cp/lib/scala-actors.jar"(!META-INF/MANIFEST.MF)
-outjars "/Users/jim/e/hiTests/proguard_cache/jartender_cache_2142014402002217566.jar"
-injars "/Users/jim/e/hiTests/bin/classes"
-libraryjars "/Users/jim/i/android/sdk/platforms/android-4.2/android.jar"
-dontwarn
-dontoptimize
-dontobfuscate
-dontskipnonpubliclibraryclasses
-dontskipnonpubliclibraryclassmembers
-ignorewarnings
-forceprocessing
Inserting proguard additions file
/Users/jim/e/hiTests/proguard_cache_conf/proguard_additions.conf here
/Users/jim/e/hiTests/proguard_cache_conf/proguard_additions.conf (No
such file or directory)
-keep class com.zope.hi.test.BuildConfig {;}
-keep class com.zope.hi.test.MainActivityTest {;}
-keep class com.zope.hi.test.R$attr {;}
-keep class com.zope.hi.test.R$drawable {;}
-keep class com.zope.hi.test.R$string {;}
-keep class com.zope.hi.test.R {;}
So it does have the test class directory.
I noticed in the AndroidProguardScala properties that the
scala-reflect jar was being ignored.
Give that the error I'm getting is:
E/AndroidRuntime(2992): java.lang.NoClassDefFoundError:
scala/reflect/ScalaSignature
That seemed relevant, but even after setting scala-reflect to be an
input jar, I'm still getting the error.
Jim Fulton
http://www.linkedin.com/in/jimfulton
Jerky is better than bacon! http://zo.pe/Kqm
from androidproguardscala.
On Sun, Feb 3, 2013 at 4:19 PM, James Moore [email protected]:
What Scala ide version are you using?
2.1.0 nightly 2_10 from Jan 24.
I couldn't get a non nightly release to work.
Jim Fulton
http://www.linkedin.com/in/jimfulton
Jerky is better than bacon! http://zo.pe/Kqm
from androidproguardscala.
Removing the AndroidProguardScala nature and putting the scala library in by libs directory worked.
So then... Added proguard_cache_conf/proguard_additions.conf with:
-keep class scala.reflect.ScalaSignature
removed proguard_cache and success!
So, maybe AndroidProguardScala should add that for test projects?
I guess I should check proguard_cache_conf in?
The README's description of proguard_cache and proguard_cache_conf don't seem to match what I'm seeing.
My proguard_cache_conf is empty except for proguard_additions.conf. proguard_processed.conf is in proguard_cache.
from androidproguardscala.
Related Issues (20)
- SI-5397 workaround (for Scala 2.10) HOT 2
- Scala library is not getting into the build HOT 9
- Insert plugin version number into proguard config file HOT 1
- A clean build should clear the cache HOT 1
- Build using scala ecosystem tools
- Add Jartender to sonatype oss
- Add JavaSignatureParser to sonatype oss
- Add ScalaTestUtilities to sonatype oss
- Eclipse not picking up the generated library HOT 4
- Proguard Created jar interferes with Content Assist HOT 3
- Keep predexed files
- Not catching a proguard error with duplicate libraries
- StringBuilder HOT 5
- android.util.Log.isLoggable method crashes application HOT 1
- Allow cancel during shutdown
- Use the new scala debugger HOT 1
- After adding APS , Initial clean causes an error HOT 1
- Support for scala 2.11 HOT 7
- Android Studio / gradle support HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidproguardscala.