Fixed
Status Update
Comments
al...@google.com <al...@google.com> #2
I had the same problem today, and this could be related to https://code.google.com/p/android/issues/detail?id=67376
As a temporary fix, I changed the build.gradle from
dependencies {
classpath 'com.android.tools.build:gradle:0.9.+'
}
to:
dependencies {
classpath 'com.android.tools.build:gradle:0.9.0'
}
As a temporary fix, I changed the build.gradle from
dependencies {
classpath 'com.android.tools.build:gradle:0.9.+'
}
to:
dependencies {
classpath 'com.android.tools.build:gradle:0.9.0'
}
al...@google.com <al...@google.com> #3
That seems to have worked around the problem - thank you very much.
Maybe this should be merged into 67376?
Maybe this should be merged into 67376?
al...@google.com <al...@google.com> #4
The same problem when using list navigation mode. Just place the following line in onCreate() to get an app crash!
getSupportActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_LIST);
getSupportActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_LIST);
al...@google.com <al...@google.com> #5
You saved my day - Thx
ap...@google.com <ap...@google.com> #6
mark, i had same problem, Thx
al...@google.com <al...@google.com> #7
same Issue down here, I had references to Appcompat theme in my layout file. Passing Gradle plugin version to 0.9.0 fix it. Thanks !
al...@google.com <al...@google.com>
bu...@google.com <bu...@google.com> #8
This looks like it has been resolved - I've upgraded all components to the latest version, gone back to
classpath 'com.android.tools.build:gradle:0.9.+'
and code that broke before now works fine.
classpath 'com.android.tools.build:gradle:0.9.+'
and code that broke before now works fine.
ap...@google.com <ap...@google.com> #9
I confirm, it's working now.
ap...@google.com <ap...@google.com> #10
I'm using the latest Android Studio (1.0 rc2) and how can I fix it without compiling on the command line?
Description
The conditional compatibility checking based on experimental annotations only checks if an API is currently experimental, and raises compatibility errors if a previously experimental API changes. This creates compatibility errors that weren't present before.
As an example:
androidx.benchmark.macro.junit4.BaselineProfileRule
was experimental in 1.1.0-beta05 with a method namedcollectBaselineProfile
.public_plus_experimental_1.1.0-beta05.txt
but not1.1.0-beta05.txt
.BaselineProfileRule
had the experimental annotation removed, and thecollectBaselineProfile
method was renamed tocollect
.BaselineProfileRule
was previously experimental and not present in1.1.0-beta05.txt
, renaming thecollect
method did not cause a compatibility error.1.1.0-beta05.txt
adds an entry forBaselineProfileRule
with the experimental annotation since experimental APIs are now tracked in the main API file.checkApi
for1.1.0-beta05.txt
andcurrent.txt
now raises a compatibility error saying the methodcollectBaselineProfile
was removed.