Skip to content

Instantly share code, notes, and snippets.

@akodiakson
akodiakson / Google sign-in logcat
Last active August 29, 2015 14:27
Here's the logcat message I saw when trying to add a Google account within Buffer for Android. On the UI, I see a Toast with the following message: "This account doesn't have a page associated with it. Please create one and try again."
08-17 22:35:11.606 1000-1708/? E/Parcel﹕ Class not found when unmarshalling: com.google.android.gms.auth.accounts.gettoken.GetTokenController
java.lang.ClassNotFoundException: com.google.android.gms.auth.accounts.gettoken.GetTokenController
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:308)
at java.lang.Class.forName(Class.java:272)
at android.os.Parcel.readParcelableCreator(Parcel.java:2275)
at android.os.Parcel.readParcelable(Parcel.java:2239)
at android.os.Parcel.readValue(Parcel.java:2146)
at android.os.Parcel.readArrayMapInternal(Parcel.java:2479)
at android.os.BaseBundle.unparcel(BaseBundle.java:221)
@akodiakson
akodiakson / add_category.xml
Created September 9, 2015 19:58
StackOverflow "Android add EditText dynamically"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
android:id="@+id/relative1"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:orientation="vertical"
android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".AddCategory">
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity">