Skip to content

Instantly share code, notes, and snippets.

SupportMenuInflater W Ignoring attribute 'actionProviderClass'. Action view already specified.
W Cannot instantiate class: android.support.v7.app.MediaRouteButton
W java.lang.ClassNotFoundException: Didn't find class "android.support.v7.app.MediaRouteButton" on path: /system/framework/com.google.android.maps.jar:/data/app/com.google.android.
apps.plus-1.apk
W at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
W at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
W at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
W at lk.a(PG:480)
W at lk.a(PG:441)
W at li.a(PG:196)
@skyisle
skyisle / gist:c9e5b0a43a4b4313ac19
Created July 25, 2014 07:23
espresso static import
import static com.google.android.apps.common.testing.ui.espresso.Espresso.onData;
import static com.google.android.apps.common.testing.ui.espresso.Espresso.onView;
import static com.google.android.apps.common.testing.ui.espresso.Espresso.pressBack;
import static com.google.android.apps.common.testing.ui.espresso.action.ViewActions.click;
import static com.google.android.apps.common.testing.ui.espresso.action.ViewActions.closeSoftKeyboard;
import static com.google.android.apps.common.testing.ui.espresso.action.ViewActions.typeText;
import static com.google.android.apps.common.testing.ui.espresso.assertion.ViewAssertions.matches;
import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withId;
import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText;
apply plugin: 'android'
repositories {
jcenter()
mavenCentral()
maven {
name 'maven.aviary.com'
url uri("http://maven.aviary.com/repo/release")
}
}
@skyisle
skyisle / gist:97d9e6fa607c99010430
Created March 13, 2015 02:47
junit test + retrolambda build error
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:compileDebugNdk UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:app:generateDebugBuildConfig
:app:generateDebugAssets UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:processDebugJavaRes UP-TO-DATE
:app:validateDebugSigning
@skyisle
skyisle / install-support-future.sh
Last active August 29, 2015 14:19
Install android support library snapshot to local repository
#!/bin/bash
# Fix the CircleCI path
export PATH="$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools:$PATH"
DEPS="$ANDROID_HOME/installed-support-furture"
if [ ! -e $DEPS ]; then
echo y | android update sdk -u -a -t android-4 &&
echo y | android update sdk -u -a -t android-5 &&
public class DelayedRestorableListView extends ListView {
private Parcelable savedState;
public DelayedRestorableListView(Context context) {
super(context);
}
public DelayedRestorableListView(Context context, AttributeSet attrs) {
super(context, attrs);
public $TYPE$ get$FIELDNAME$() {
return get$TYPE$("$LOWER_FIELDNAME$");
}
public void set$FIELDNAME$($TYPE$ value) {
put("$LOWER_FIELDNAME$", value);
saveInBackground();
}
diff --git a/fonts.xml b/fonts1.xml
index 117e17b..6bfb328 100644
--- a/fonts.xml
+++ b/fonts1.xml
@@ -347,6 +347,9 @@
<family lang="ko">
<font weight="400" style="normal" index="1">NotoSansCJK-Regular.ttc</font>
</family>
+ <family lang="ko">
+ <font weight="400" style="normal" index="1">NanumGothic.ttf</font>
<?xml version="1.0" encoding="utf-8"?>
<!--
All fonts without names are added to the default list. Fonts are chosen
based on a match: full BCP-47 language tag including script, then just
language, and finally order (the first font containing the glyph).
Order of appearance is also the tiebreaker for weight matching. This is
the reason why the 900 weights of Roboto precede the 700 weights - we
prefer the former when an 800 weight is requested. Since bold spans
effectively add 300 to the weight, this ensures that 900 is the bold
#!/bin/bash
cd /Applications/League\ of\ Legends.app/Contents/LoL/RADS/projects/league_client/releases/
LATESTVERSION=`ls -v | grep -e '\d*\.\d*\.\d*\.\d*' | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n | tail -n 1`
echo $LATESTVERSION
cd $LATESTVERSION/deploy
sed -ie 's/rso_platform_id: NA1/rso_platform_id: KR/g' system.yaml
sed -ie 's/.na2.lol.riotgames.com/.kr.lol.riotgames.com/g' system.yaml
sed -ie 's/web_region: na/web_region: kr/g' system.yaml