У меня есть класс MyApp. Я добавил этот класс в AndroidManifest в как android:name="MyApp". Но даже если я его удалю, после установки приложения оно появится как com.svc.filemanager.MainActivity. Это происходит только в установщике пакета. После установки приложения оно отображается в панели запуска под своим обычным именем.
Код: Выделить всё
Код: Выделить всё
plugins {
id 'com.android.application'
}
android {
namespace 'com.svc.filemanager'
compileSdk 34
defaultConfig {
applicationId "com.svc.filemanager"
minSdk 21
targetSdk 34
versionCode 24
versionName "2.4"
multiDexEnabled true
vectorDrawables {
useSupportLibrary true
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
buildFeatures {
viewBinding true
}
}
dependencies {
implementation "androidx.multidex:multidex:2.0.1"
implementation 'com.github.Baseflow:PhotoView:2.3.0'
implementation 'com.google.android.material:material:1.11.0'
implementation 'com.github.bumptech.glide:glide:4.16.0'
implementation 'com.pranavpandey.android:dynamic-toasts:4.2.1'
implementation 'com.github.gabriel-TheCode:AestheticDialogs:1.3.8'
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.2.0-alpha01"
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
implementation 'com.google.android.material:material:1.11.0'
implementation("androidx.preference:preference:1.2.0")
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.media:media:1.6.0'
}
Подробнее здесь: https://stackoverflow.com/questions/798 ... ame-what-c