Status Update
Comments
pa...@google.com <pa...@google.com>
tn...@google.com <tn...@google.com> #2
Tested and could not run on the following
Samsung Galaxy S7 - Android 7.0.0
Samsung Galaxy Edge S6 - Android 6.0.1
Samsung Tab 3 - Android 6.0.1
Tested and worked on
LG G4 - Android 6.0.0
Samsung Galaxy S7 - Android 7.0.0
Samsung Galaxy Edge S6 - Android 6.0.1
Samsung Tab 3 - Android 6.0.1
Tested and worked on
LG G4 - Android 6.0.0
ol...@google.com <ol...@google.com> #3
I had the same issue using a Huawei, Galaxy S5 and S6.
I re built the app and change the version number. After publishing again, it magically solved the issue.
But i still want to know the root cause of this?
I re built the app and change the version number. After publishing again, it magically solved the issue.
But i still want to know the root cause of this?
tn...@google.com <tn...@google.com> #4
Same issue on a Galaxy S6 running Android 6.x. Phone must be restarted before the app will recognize that an obb file is present, even with read/write external permissions enabled.
Description
Android support annotations version: 23.1.1
Android studio version: 1.5.1
@IntDef or @StringDef do not show an error when assigning an invalid constant to a variable. Also, the annotation is not tracked for fields.
For instance
private static final int TREE_PATH_ONE = 1;
private static final int TREE_PATH_TWO = 2;
private static final int TREE_PATH_THREE = 3;
@IntDef(value = {
TREE_PATH_ONE,
TREE_PATH_TWO,
TREE_PATH_THREE
})
@Retention(RetentionPolicy.SOURCE)
private @interface Tree {
}
@Tree
private int mTreeField = TREE_PATH_ONE;
private void problem1() {
@Tree int treeInvalid = 12; // Not marked as an error. Lint does not seem to track @IntDef
// annotations for variables or fields
//@Tree int treeValid = TREE_PATH_ONE;
problem2(mTreeField); // Falsely marked as an error. Lint does not track @IntDef annotations
// fields so it does not know the mTreeField is actually a @Tree
}
private void problem2(@Tree int tree) {
}