错误的屏幕截图
我在Ubuntu 16.04上运行[Android Studio 2.3 Build#AI-162.3764568,构建于2017年2月24日JRE:1.8.0_112-release-b06 amd64 JVM:OpenJDK 64位服务器VM by JetBrains sro].从最近几天开始,android studio在尝试更新时给出了错误.我不知道如何解决这个问题.
ubuntu android android-studio android-update-sdk android-studio-2.3
有没有一种方法可以通过编程方式确定上次Android操作系统更新的日期?
我刚刚将 android studio 更新到 V3.1.1。然后我的程序出错了。编译程序时,有两个错误:

“运行构建”中的一个:
org.gradle.api.tasks.TaskExecutionException: 任务 ':app:kaptGenerateStubsDebugKotlin' 执行失败

java.lang.ClassNotFoundException: org.jetbrains.kotlin.resolve.checkers.SimpleDeclarationChecker 在此处输入图像描述
这是我的毕业证书:
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 26
defaultConfig {
applicationId "com.restress.saniauto"
minSdkVersion 21
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
buildToolsVersion '27.0.3'
}
androidExtensions {
experimental = true
}
buildscript {
ext.kotlin_version = '1.2.21'
repositories { …Run Code Online (Sandbox Code Playgroud) 我使用了这个库 \xc2\xa0 https://github.com/Dhaval2404/ImagePicker \xc2\xa0 并且我收到了来自 android play 控制台团队的警告我们检测到您的应用程序在清单文件中包含 requestLegacyExternalStorage 标志您的 1 个或多个应用程序包或 APK。在运行 Android 11+ 的设备上运行应用的开发人员必须使用范围存储,以便用户更好地控制其设备存储。要在 5 月 5 日之后在 Android 11 或更高版本上发布您的应用,您必须:\xc2\xa0
\n