Skip to content

Commit 43d93c9

Browse files
Merge pull request #131 from Grigory-Rylov/support_AS_242
support AS 242
2 parents c5dd76b + a3a2dbe commit 43d93c9

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ studioCompilePath=/Applications/Android Studio.app/Contents
88

99
pluginGroup = com.github.grishberg
1010
pluginName = android-methods-profiler
11-
yampVersion = 24.10.19
11+
yampVersion = 25.01.09
1212

1313
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
1414
# for insight into build numbers and IntelliJ Platform versions.
15-
pluginSinceBuild = 231
16-
pluginUntilBuild = 241.*
15+
pluginSinceBuild = 223
16+
pluginUntilBuild = 242.*
1717

1818
# IntelliJ Platform Properties -> https://github.com/JetBrains/gradle-intellij-plugin#intellij-platform-properties
1919
platformType = AI

plugin/src/main/kotlin/com/github/grishberg/profiler/androidstudio/PluginProjectInfo.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ class PluginProjectInfo(
2222
override val activityName: String?
2323

2424
init {
25-
val facets = getAndroidFacets(project)
25+
val facets = try{
26+
getAndroidFacets(project)
27+
} catch (e: Exception) {
28+
logger.e("getAndroidFacets error", e)
29+
emptyList()
30+
}
2631
packageName = createPackageName(facets)
2732
val devices = AndroidSdkUtils.getDebugBridge(project)?.devices ?: emptyArray()
2833
activityName = try {

0 commit comments

Comments
 (0)