Java Android应用在VMware中意外关闭崩溃(PID 22678)求助
Android Studio Java应用运行错误求助
我正在开发一款基于Java的Android Studio应用,运行时出现错误,试过多种办法都没解决,特来求助。
错误信息:(错误内容见原截图)
我的依赖配置如下:
plugins { id 'com.android.application' id 'com.google.gms.google-services' } android { namespace 'com.example.hitranslatorapp' compileSdk 32 defaultConfig { applicationId "com.example.hitranslatorapp" minSdk 24 targetSdk 32 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.2.0' implementation 'com.google.android.material:material:1.3.0' implementation 'androidx.constraintlayout:constraintlayout:2.0.4' //implementation 'com.google.firebase:firebase-ml-vision:24.1.0' implementation 'com.google.firebase:firebase-core:17.3.0' implementation 'com.google.firebase:firebase-ml-natural-language:22.0.0' implementation 'com.google.firebase:firebase-ml-natural-language-language-id-model:20.0.7' implementation 'com.google.firebase:firebase-ml-natural-language-translate-model:20.0.8' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.3' androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' implementation platform('com.google.firebase:firebase-bom:30.4.1') implementation 'com.google.firebase:firebase-analytics' }
内容的提问来源于stack exchange,提问作者Priyan Indika
相关产品推荐
相关产品推荐

