使用minSDKVersion的模拟器正在崩溃
Error:(118, 17) error: cannot access zza
class file for com.google.android.gms.common.internal.safeparcel.zza not found
Error:org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details.
我正在使用Android Studio 3.1 Canary 5 Build#AI-171.4474551,构建于2017年11月30日JRE:1.8.0_152-release-1024-b01 amd64 JVM:OpenJDK 64位服务器VM by JetBrains sro Windows 7 6.1 < / p>
我正在使用PhoneAuthActivity.java及其来自firebase示例代码和更新的manifest.xml的布局。
模块build.gradle是
implementation 'com.google.android.gms:play-services:11.8.0'
implementation 'com.google.android.gms:play-services-auth:11.8.0'
implementation 'com.google.firebase:firebase-core:11.8.0'
implementation 'com.google.firebase:firebase-auth:11.8.0'
implementation 'com.google.firebase:firebase-messaging:11.8.0
implementation 'com.android.support:gridlayout-v7:18.0.0'
implementation group: 'org.apache.httpcomponents' , name: 'httpclient-android' , version: '4.3.5.1'
implementation files('libs/acra-4.7.0.jar')
implementation files('libs/activation.jar')
implementation files('libs/additionnal.jar')
implementation files('libs/commons-collections-3.2.1.jar')
implementation files('libs/commons-configuration-1.10.jar')
implementation files('libs/commons-lang-2.6.jar')
implementation files('libs/eventbus-2.4.0.jar')
implementation files('libs/mail.jar')
App编译成功。启动模拟器时出现另一个错误
Information:Gradle tasks [:app:assembleDebug]
D:\androidProjects\EasyUI\app\src\main\java\in\easym2m\easyui\PhoneAuthActivity.java
Error:(111, 55) error: cannot access zza
class file for com.google.android.gms.common.internal.safeparcel.zza not found
Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.