This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependencies { | |
// ... | |
// Declare the dependency for the Firebase Crashlytics NDK library. | |
// If you previously declared Firebase Crashlytics dependency, replace it. | |
implementation 'com.google.firebase:firebase-crashlytics-ndk:VERSION_NUMBER' | |
} | |
android { | |
// ... | |
buildTypes { | |
release { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>./gradlew app:assembleBUILD_VARIANT\ | |
app:uploadCrashlyticsSymbolFileBUILD_VARIANT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
... | |
} | |
tasks.whenTaskAdded { task -> | |
if (task.name.startsWith('assemble') && task.name != "assembleReleaseAndroidTest" && task.name != "assembleDebugAndroidTest") { | |
task.finalizedBy "uploadCrashlyticsSymbolFile" + task.name.substring('assemble'.length()) | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<application | |
... | |
android:name=".app.MainApplication" | |
android:label="@string/app_name" | |
android:icon="@mipmap/ic_launcher" | |
...> | |
</application> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<application | |
... | |
android:name=".app.MainApplication" | |
android:label="@string/app_name" | |
android:icon="@mipmap/ic_launcher" | |
android:roundIcon="@mipmap/ic_launcher_round" | |
...> | |
</application> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | |
<background android:drawable="@mipmap/ic_launcher_background"/> | |
<foreground android:drawable="@drawable/ic_launcher_foreground"/> | |
<monochrome android:drawable="@drawable/ic_launcher_monochrome"/> | |
</adaptive-icon> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun ExampleViewBinding.bind( | |
resources: Resources, | |
onAction: (Any) -> Unit | |
) { | |
this.title = resources.getString(R.string.title) | |
this.setSaveClickListener { | |
this.subtitle = when (someData) { | |
true -> R.string.subtitle1 | |
false -> R.string.subtitle2 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val typedValue = TypedValue() | |
theme.resolveAttribute(android.R.attr.textColor, typedValue, true) | |
val color = typedValue.data() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Duplicate class com.google.android.play.core.common.IntentSenderForResultStarter found in modules jetified-core-1.10.3-runtime (com.google.android.play:core:1.10.3) and jetified-core-common-2.0.0-runtime (com.google.android.play:core-common:2.0.0) | |
Duplicate class com.google.android.play.core.common.LocalTestingException found in modules jetified-core-1.10.3-runtime (com.google.android.play:core:1.10.3) and jetified-core-common-2.0.0-runtime (com.google.android.play:core-common:2.0.0) | |
Duplicate class com.google.android.play.core.common.PlayCoreDialogWrapperActivity found in modules jetified-core-1.10.3-runtime (com.google.android.play:core:1.10.3) and jetified-core-common-2.0.0-runtime (com.google.android.play:core-common:2.0.0) | |
Duplicate class com.google.android.play.core.listener.StateUpdatedListener found in modules jetified-core-1.10.3-runtime (com.google.android.play:core:1.10.3) and jetified-core-common-2.0.0-runtime (com.google.android.play:core-common:2.0.0) | |
Duplicate class com.google.android.play.core |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependencies { | |
... | |
implementation 'com.google.android.play:asset-delivery:2.0.0' | |
// Kotlin users may also add the Kotlin extensions library | |
implementation 'com.google.android.play:asset-delivery-ktx:2.0.0' | |
... | |
} |
OlderNewer