derekbrameyer / timeismoney-android

App that calculates time...and money.
4 stars 5 forks source link

Project will not compile #1

Open renevanderlende opened 11 years ago

renevanderlende commented 11 years ago

Hi,

I'm trying to recreate the project, but a "mvn clean install" is unable to find the following artifacts in the central maven repo:

com.google.android:support-v4:jar:11 com.google.android.volley:volley:jar:1.0.1:

After a visual search I couldn't find them either, is there an alternative??

Cheers, Rene

derekbrameyer commented 11 years ago

Hi Rene,

Take a look at the Maven Android SDK deployer:

https://github.com/mosabua/maven-android-sdk-deployer

It should deploy the proper jars to your local machine. They may need to be updated in the pom. For example, I don't think 11 is the newest support library, I think it's actually 18. Not sure about Volley.

derekbrameyer commented 11 years ago

Here is some information about deploying Volley:

https://gist.github.com/f2prateek/5606337

It's been a while since I've looked at this project and I'm actually curious where Volley is used at all...you might try removing the dependency first and seeing if it installs (after deploying the support .jar). I really can't think of a place where I would have used Volley.

renevanderlende commented 11 years ago

Actually, and this seems quite odd to me, com.android.support-v4 only has r6 and r7, but I'm a maven noob, must be doing wrong something...

I will try your suggestions, though! Thanks

derekbrameyer commented 11 years ago

Are your Android SDK packages also up-to-date?

renevanderlende commented 11 years ago

Yes, ran last update few hours ago, i have API 7, 10, 15/18 in use. No problems deploying plain SDK, non-maven apps. Checked classpaths, environment (XXXXX_HOME vars), local repo location settings (see attchement). Using Eclipse 3.7.2 with M2E plug, searching http://repo1.maven.org/maven2

2013/8/29 Derek Brameyer notifications@github.com

Are your Android SDK packages also up-to-date?

— Reply to this email directly or view it on GitHubhttps://github.com/derekbrameyer/timeismoney-android/issues/1#issuecomment-23497333 .

ALLUSERSPROFILE=C:\ProgramData ANDROID_HOME=F:\Development\sdk ANT_HOME=F:\Development\apache-ant-1.9.2 APPDATA=C:\Users\Rene\AppData\Roaming CommonProgramFiles=C:\Program Files\Common Files COMPUTERNAME=W7-COMPAQ-HP ComSpec=C:\Windows\system32\cmd.exe DEV=F:\Development DIRCMD=/ogen FP_NO_HOST_CHECK=NO HOME=F:\Development\workspace HOMEDRIVE=C: HOMEPATH=\Users\Rene JAVA_HOME=C:\Program Files\Java\jdk1.7.0_25 JYTHON_HOME=F:\Development\jython2.7b1 LOCALAPPDATA=C:\Users\Rene\AppData\Local LOGONSERVER=\W7-COMPAQ-HP M2=F:\Development\apache-maven-3.1.0\bin M2_HOME=F:\Development\apache-maven-3.1.0 NUMBER_OF_PROCESSORS=4 OS=Windows_NT Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WinRAR;F:\Development\OS-Tools;F:\Development\sdk\platform-tools;F:\Development\sdk\tools;C:\Program Files\Java\jdk1.7.0_25\bin;C:\Program Files\Sun\JavaDB\bin;F:\Development\apache-maven-3.1.0\bin;F:\Development\apache-ant-1.9.2\bin;F:\Development\sqlite3;F:\Development\Python27;F:\Development\jython2.7b1\bin;C:\xampp\php;C:\xampp\mysql\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files\Windows Live\Shared;C:\Program Files\Git\cmd;C:\Program Files\Git\bin;C:\Program Files\TortoiseGit\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\TortoiseHg\;C:\Program Files\CVSNT\ PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 11, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=0f0b ProgramData=C:\ProgramData ProgramFiles=C:\Program Files PROMPT=$P$G PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ PUBLIC=C:\Users\Public PYTHON_HOME=F:\Development\Python27 SESSIONNAME=Console SQLITE_HOME=F:\Development\sqlite3 SystemDrive=C: SystemRoot=C:\Windows TEMP=C:\Windows\TEMP TMP=C:\Windows\TEMP USERDOMAIN=W7-COMPAQ-HP USERNAME=Rene USERPROFILE=C:\Users\Rene windir=C:\Windows

renevanderlende commented 11 years ago

Dunno what ur into nowadays, but as an ol'time Delphi developer I can tell you this (http://www.embarcadero.com/products/rad-studio/create-android-apps) looks very promising! Just to let u know...

2013/8/29 Rene van der Lende rene.van.der.lende@gmail.com

Yes, ran last update few hours ago, i have API 7, 10, 15/18 in use. No problems deploying plain SDK, non-maven apps. Checked classpaths, environment (XXXXX_HOME vars), local repo location settings (see attchement). Using Eclipse 3.7.2 with M2E plug, searching http://repo1.maven.org/maven2

2013/8/29 Derek Brameyer notifications@github.com

Are your Android SDK packages also up-to-date?

— Reply to this email directly or view it on GitHubhttps://github.com/derekbrameyer/timeismoney-android/issues/1#issuecomment-23497333 .

renevanderlende commented 11 years ago

Hey Derek,

Still struggling to get this thing running. It seems that support-v4:11 and com.google.android.volley:1.0.1 are being imported via OAK, but both jars are nowhere to be found in the maven repos. Neither in repo, repo1, repo2 nor sonatype. Still only r6 and r7 for support-v4. No volley version exists at all (any longer).

Do you have them in your local maven repo? As no matter what I do, OAK still pulls them in...

Cheers, Rene

derekbrameyer commented 11 years ago

Try rolling back the version of OAK from 1.1.7-SNAPSHOT to 1.1.6 (I shouldn't have put it out with the SNAPSHOT dependency).

This will remove the Volley dependency, and the support-v4 dependency will be rolled back to r7.

renevanderlende commented 11 years ago

Slowly I am getting there, I installed the full android SDK + Maven Android SDK Deployer (for which I had to downgrade mvn from 3.10 to 3.0.5) + your suggestions and now Maven is able to create a lot more. Still no TimeIsMoney, though. Now a missing AAPT has to resolved (found that solution), starting fresh with Android/Maven projects is no bed of roses, at all.

I will write down my findings and post them here as soon I have things running. Maybe something to mention on the "willowtreeapps/OAK" blog? Will save newbies days of hairpulling...

Will keep you posted!

2013/8/30 Derek Brameyer notifications@github.com

Try rolling back the version of OAK from 1.1.7-SNAPSHOT to 1.1.6 (I shouldn't have put it out with the SNAPSHOT dependency).

This will remove the Volley dependency, and the support-v4 dependency will be rolled back to r7.

— Reply to this email directly or view it on GitHubhttps://github.com/derekbrameyer/timeismoney-android/issues/1#issuecomment-23560663 .

derekbrameyer commented 11 years ago

I think I can help you there too.

Change the Android Maven plugin version in pom.xml from 3.2.0 to 3.6.0, they changed the structure of the plugin to point to the proper aapt directory.

derekbrameyer commented 11 years ago

Oops, just saw that you had solved that. Yup, please keep me posted, and feel free to issue a pull request with the appropriate pom changes.

renevanderlende commented 11 years ago

LOL, hold your horses, please, I never cloned a git repo AND made a pull request. For all I know ENTIRE internet goes down when I start digging into that...

TimeIsMoney doesn't pass the "test" phase, now I am really at a loss, attaching both the new pom (with your suggestions ->OAK 1.16 / plugin 3.61 / SDK 18) and then generated "mvn install" output...

Though a bit saddening, it is a good testcase (I keep telling myself).

2013/8/30 Derek Brameyer notifications@github.com

Oops, just saw that you had solved that. Yup, please keep me posted, and feel free to issue a pull request with the appropriate pom changes.

— Reply to this email directly or view it on GitHubhttps://github.com/derekbrameyer/timeismoney-android/issues/1#issuecomment-23571906 .

[INFO] Scanning for projects... [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building timeismoney-android 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- android-maven-plugin:3.6.1:generate-sources (default-generate-sources) @ timeismoney-android --- [DEBUG] Expanding: F:\Development\MAVEN_REPO\repository\com\actionbarsherlock\actionbarsherlock\4.3.0\actionbarsherlock-4.3.0.apklib into F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\target\unpack\apklibs\com.actionbarsherlock_actionbarsherlock_apklib_4.3.0 [DEBUG] expand complete [DEBUG] Expanding: F:\Development\MAVEN_REPO\repository\com\doomonafireball\betterpickers\library\1.2.0\library-1.2.0.apklib into F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\target\unpack\apklibs\com.doomonafireball.betterpickers_library_apklib_1.2.0 [DEBUG] expand complete [DEBUG] Expanding: F:\Development\MAVEN_REPO\repository\com\viewpagerindicator\library\2.4.1\library-2.4.1.apklib into F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\target\unpack\apklibs\com.viewpagerindicator_library_apklib_2.4.1 [DEBUG] expand complete [INFO] ANDROID-904-002: Found aidl files: Count = 0 [INFO] ANDROID-904-002: Found aidl files: Count = 0 [INFO] ANDROID-904-002: Found aidl files: Count = 0 [INFO] ANDROID-904-002: Found aidl files: Count = 0 [INFO] ANDROID-904-002: Found aidl files: Count = 0 [INFO] Manifest merging disabled. Using project manifest only [INFO] F:\Development\sdk\build-tools\android-4.3\aapt.exe [package, -m, -J, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\target\generated-sources\r, -M, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\AndroidManifest.xml, -S, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\res, -S, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\target\unpack\apklibs/com.actionbarsherlock_actionbarsherlock_apklib_4.3.0/res, -S, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\target\unpack\apklibs/com.doomonafireball.betterpickers_library_apklib_1.2.0/res, -S, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\target\unpack\apklibs/com.viewpagerindicator_library_apklib_2.4.1/res, --auto-add-overlay, -A, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\assets, -I, F:\Development\sdk\platforms\android-18\android.jar] [INFO] F:\Development\sdk\build-tools\android-4.3\aapt.exe [package, --non-constant-id, -m, -J, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\target\generated-sources\r, --custom-package, com.actionbarsherlock, -M, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\AndroidManifest.xml, -S, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\res, -S, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\target\unpack\apklibs/com.actionbarsherlock_actionbarsherlock_apklib_4.3.0/res, -S, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\target\unpack\apklibs/com.doomonafireball.betterpickers_library_apklib_1.2.0/res, -S, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\target\unpack\apklibs/com.viewpagerindicator_library_apklib_2.4.1/res, --auto-add-overlay, -A, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\assets, -I, F:\Development\sdk\platforms\android-18\android.jar] [INFO] F:\Development\sdk\build-tools\android-4.3\aapt.exe [package, --non-constant-id, -m, -J, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\target\generated-sources\r, --custom-package, com.doomonafireball.betterpickers, -M, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\AndroidManifest.xml, -S, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\res, -S, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\target\unpack\apklibs/com.actionbarsherlock_actionbarsherlock_apklib_4.3.0/res, -S, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\target\unpack\apklibs/com.doomonafireball.betterpickers_library_apklib_1.2.0/res, -S, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\target\unpack\apklibs/com.viewpagerindicator_library_apklib_2.4.1/res, --auto-add-overlay, -A, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\assets, -I, F:\Development\sdk\platforms\android-18\android.jar] [INFO] F:\Development\sdk\build-tools\android-4.3\aapt.exe [package, --non-constant-id, -m, -J, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\target\generated-sources\r, --custom-package, com.viewpagerindicator, -M, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\AndroidManifest.xml, -S, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\res, -S, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\target\unpack\apklibs/com.actionbarsherlock_actionbarsherlock_apklib_4.3.0/res, -S, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\target\unpack\apklibs/com.doomonafireball.betterpickers_library_apklib_1.2.0/res, -S, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\target\unpack\apklibs/com.viewpagerindicator_library_apklib_2.4.1/res, --auto-add-overlay, -A, F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\assets, -I, F:\Development\sdk\platforms\android-18\android.jar] [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ timeismoney-android --- [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\src\main\resources [INFO] skip non existing resourceDirectory F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\target\generated-sources\extracted-dependencies\src\main\resources [INFO] Copying 0 resource [INFO] Copying 0 resource [INFO] Copying 0 resource [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ timeismoney-android --- [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent! [INFO] Compiling 8 source files to F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\target\classes [INFO] [INFO] --- android-maven-plugin:3.6.1:proguard (default-proguard) @ timeismoney-android --- [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ timeismoney-android --- [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ timeismoney-android --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:2.16:test (default-test) @ timeismoney-android --- [INFO] Surefire report directory: F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\target\surefire-reports


T E S T S

Running com.doomonafireball.timeismoney.android.DatastoreTest Warning: an error occurred while binding shadow class: ShadowGeoPoint Warning: an error occurred while binding shadow class: ShadowItemizedOverlay Warning: an error occurred while binding shadow class: ShadowMapController Warning: an error occurred while binding shadow class: ShadowMapActivity Warning: an error occurred while binding shadow class: ShadowMapView Warning: an error occurred while binding shadow class: ShadowOverlayItem Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.197 sec <<< FAILURE! - in com.doomonafireball.timeismoney.android.DatastoreTest versionShouldPersist(com.doomonafireball.timeismoney.android.DatastoreTest) Time elapsed: 1.845 sec <<< ERROR! java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "27mm" at com.xtremelabs.robolectric.res.ResourceLoader.init(ResourceLoader.java:148) at com.xtremelabs.robolectric.res.ResourceLoader.setLayoutQualifierSearchPath(ResourceLoader.java:506) at com.xtremelabs.robolectric.RobolectricTestRunner.setupApplicationState(RobolectricTestRunner.java:362) at com.xtremelabs.robolectric.RobolectricTestRunner.internalBeforeTest(RobolectricTestRunner.java:307) at com.xtremelabs.robolectric.RobolectricTestRunner.methodBlock(RobolectricTestRunner.java:285) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) Caused by: java.lang.NumberFormatException: For input string: "27mm" at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1241) at java.lang.Float.parseFloat(Float.java:452) at com.xtremelabs.robolectric.res.DimenResourceLoader.convertRawValue(DimenResourceLoader.java:37) at com.xtremelabs.robolectric.res.ResourceReferenceResolver.processResource(ResourceReferenceResolver.java:29) at com.xtremelabs.robolectric.res.DimenResourceLoader.processNode(DimenResourceLoader.java:24) at com.xtremelabs.robolectric.res.XpathResourceXmlLoader.processResourceXml(XpathResourceXmlLoader.java:27) at com.xtremelabs.robolectric.res.DocumentLoader.loadResourceXmlFile(DocumentLoader.java:58) at com.xtremelabs.robolectric.res.DocumentLoader.loadResourceXmlDir(DocumentLoader.java:52) at com.xtremelabs.robolectric.res.DocumentLoader.loadSystemResourceXmlDir(DocumentLoader.java:43) at com.xtremelabs.robolectric.res.ResourceLoader.loadSystemResourceXmlDir(ResourceLoader.java:239) at com.xtremelabs.robolectric.res.ResourceLoader.loadValueResourcesFromDirs(ResourceLoader.java:228) at com.xtremelabs.robolectric.res.ResourceLoader.loadDimenResources(ResourceLoader.java:175) at com.xtremelabs.robolectric.res.ResourceLoader.init(ResourceLoader.java:133) at com.xtremelabs.robolectric.res.ResourceLoader.setLayoutQualifierSearchPath(ResourceLoader.java:506) at com.xtremelabs.robolectric.RobolectricTestRunner.setupApplicationState(RobolectricTestRunner.java:362) at com.xtremelabs.robolectric.RobolectricTestRunner.internalBeforeTest(RobolectricTestRunner.java:307) at com.xtremelabs.robolectric.RobolectricTestRunner.methodBlock(RobolectricTestRunner.java:285) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

Running com.doomonafireball.timeismoney.android.UtilTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.866 sec <<< FAILURE! - in com.doomonafireball.timeismoney.android.UtilTest timeElapsedFormatTest(com.doomonafireball.timeismoney.android.UtilTest) Time elapsed: 0.866 sec <<< ERROR! java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "27mm" at com.xtremelabs.robolectric.res.ResourceLoader.init(ResourceLoader.java:148) at com.xtremelabs.robolectric.res.ResourceLoader.setLayoutQualifierSearchPath(ResourceLoader.java:506) at com.xtremelabs.robolectric.RobolectricTestRunner.setupApplicationState(RobolectricTestRunner.java:362) at com.xtremelabs.robolectric.RobolectricTestRunner.internalBeforeTest(RobolectricTestRunner.java:307) at com.xtremelabs.robolectric.RobolectricTestRunner.methodBlock(RobolectricTestRunner.java:285) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) Caused by: java.lang.NumberFormatException: For input string: "27mm" at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1241) at java.lang.Float.parseFloat(Float.java:452) at com.xtremelabs.robolectric.res.DimenResourceLoader.convertRawValue(DimenResourceLoader.java:37) at com.xtremelabs.robolectric.res.ResourceReferenceResolver.processResource(ResourceReferenceResolver.java:29) at com.xtremelabs.robolectric.res.DimenResourceLoader.processNode(DimenResourceLoader.java:24) at com.xtremelabs.robolectric.res.XpathResourceXmlLoader.processResourceXml(XpathResourceXmlLoader.java:27) at com.xtremelabs.robolectric.res.DocumentLoader.loadResourceXmlFile(DocumentLoader.java:58) at com.xtremelabs.robolectric.res.DocumentLoader.loadResourceXmlDir(DocumentLoader.java:52) at com.xtremelabs.robolectric.res.DocumentLoader.loadSystemResourceXmlDir(DocumentLoader.java:43) at com.xtremelabs.robolectric.res.ResourceLoader.loadSystemResourceXmlDir(ResourceLoader.java:239) at com.xtremelabs.robolectric.res.ResourceLoader.loadValueResourcesFromDirs(ResourceLoader.java:228) at com.xtremelabs.robolectric.res.ResourceLoader.loadDimenResources(ResourceLoader.java:175) at com.xtremelabs.robolectric.res.ResourceLoader.init(ResourceLoader.java:133) at com.xtremelabs.robolectric.res.ResourceLoader.setLayoutQualifierSearchPath(ResourceLoader.java:506) at com.xtremelabs.robolectric.RobolectricTestRunner.setupApplicationState(RobolectricTestRunner.java:362) at com.xtremelabs.robolectric.RobolectricTestRunner.internalBeforeTest(RobolectricTestRunner.java:307) at com.xtremelabs.robolectric.RobolectricTestRunner.methodBlock(RobolectricTestRunner.java:285) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

Results :

Tests in error: DatastoreTest.versionShouldPersist » Runtime java.lang.NumberFormatException: ... UtilTest.timeElapsedFormatTest » Runtime java.lang.NumberFormatException: For ...

Tests run: 2, Failures: 0, Errors: 2, Skipped: 0

[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 29.667s [INFO] Finished at: Fri Aug 30 18:18:31 CEST 2013 [INFO] Final Memory: 14M/42M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project timeismoney-android: There are test failures. [ERROR] [ERROR] Please refer to F:\Development\Projects!TIME-MANAGER\projects\timeismoney-android-master\target\surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException