java - 我的模拟器启动但它不运行我的应用程序
问题描述
您好,我正在一个应用程序中工作。我在 Android Studio 中安装了两个模拟器,我正在使用其中一个模拟器插入我的数据(关于应用程序)。当我运行我的应用程序时,它启动但不运行我的应用程序。我还去了我没有找到 adb 文件夹的应用程序目录......我应该怎么做才能解决这个问题。
这是我的构建 gradle 文件
plugins {
id 'com.android.application'
id 'com.google.gms.google-services'
}
android {
compileSdkVersion 30
buildToolsVersion "30.0.2"
defaultConfig {
applicationId "com.example.connectsocialmediaapp"
manifestPlaceholders = [appAuthRedirectScheme: 'com.redirectScheme.comm']
minSdkVersion 22
targetSdkVersion 30
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'com.google.android.material:material:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.appcompat:appcompat:1.3.0-alpha02'
implementation 'com.google.firebase:firebase-auth:19.2.0'
implementation 'com.google.firebase:firebase-storage:19.1.1'
implementation 'com.google.firebase:firebase-firestore:21.4.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'de.hdodenhof:circleimageview:3.0.0'
implementation 'com.rom4ek:arcnavigationview:2.0.0'
implementation 'com.github.bumptech.glide:glide:4.12.0'
}
解决方案
推荐阅读
- r - 带有 by 的 unique.data.table 的行为是否类似于带有 .keep_all = TRUE 的 dplyr::distinct?
- android - Android Studio Preview 4.1 Canary 10 中的构建错误
- webpack - regeneratorRuntime 未定义 Gulp + Webpack + Babel
- javascript - 带有外部指纹扫描仪的 React-Native 生物识别(secugen,futronics)
- apache-kafka - 即使REST程序具有INT,Kafka也会将消息密钥生成为STRING?
- r - 如何使用摘要创建变量向量?
- android - 浓缩咖啡记录预流
- python - 在 for 循环中迭代更改字典是否安全?
- c - CS50 恢复分段错误
- django - 无法使用 django rest 框架连接两个表