Profile cover photo
Profile photo
Muhammad Ichsan
382 followers -
Learn, Implement, Revise
Learn, Implement, Revise

382 followers
About
Posts

Post has attachment
Add a comment...

Post has attachment
Clean  design http://goo.gl/0EJrCq
Photo
Photo
2015-02-08
2 Photos - View album
Add a comment...

Post has attachment
Now support Android Lollipop with transition animation.
Add a comment...

Post has attachment
This is a cool place to learn! Gregg Pollack really rocks!
Add a comment...

Post has attachment
Kewajiban setiap muslim, bukan kewajiban ustadz atau syeikh.
Add a comment...

Post has attachment
Muhammad Ichsan commented on a post on Blogger.
Things that I hate is about the tricks or workarounds for AS (according to futurice's) is to manually paste the classpath. This may break the test on AS as we change the dependencies.
Add a comment...

Post has attachment
Muhammad Ichsan commented on a post on Blogger.
This works like charm! Your tutorial + futurice's make my test codes run well on AS. I'll take note carefuly about this. Thanks man! :)
Commenting is disabled for this post.

Post has attachment
Muhammad Ichsan commented on a post on Blogger.
It works with gradlew command run on shell. But why I cannot have the tests run on AS, but only in shell instead? If you can, would you share your working sample on this page?  I would really appreciate it. 

I keep getting this error on AS (but not on command shell/bash):

!!! JUnit version 3.8 or later expected:

java.lang.RuntimeException: Stub! blah blah blah
Add a comment...

Post has attachment
Muhammad Ichsan commented on a post on Blogger.
Sadly. This is not working in AS 0.5.9 with gradle 0.10.+

I got this error.

/opt/sun-java7-jdk/bin/java -ea -Didea.launcher.port=7536 -Didea.launcher.bin.path=/home/ichsan/coding/android/tools/android-studio/bin -Dfile.encoding=UTF-8 -classpath /home/ichsan/coding/android/tools/android-studio/lib/idea_rt.jar:/home/ichsan/coding/android/tools/android-studio/plugins/junit/lib/junit-rt.jar:/home/ichsan/coding/android/tools/adt-bundle-linux/sdk/platforms/android-19/android.jar:/home/ichsan/coding/android/tools/adt-bundle-linux/sdk/platforms/android-19/data/res:/home/ichsan/coding/android/tools/adt-bundle-linux/sdk/tools/support/annotations.jar:/home/ichsan/AndroidStudioProjects/LearningRoboLectric/app/build/classes/debug com.intellij.rt.execution.application.AppMain com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 id.web.michsan.learningrobolectric.DummyTest
Exception in thread "main" java.lang.NoClassDefFoundError: junit/textui/ResultPrinter
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:116)
Caused by: java.lang.ClassNotFoundException: junit.textui.ResultPrinter
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 3 more

Process finished with exit code 1
Add a comment...
Wait while more posts are being loaded