pul*_*ion 5 android auto-update android-studio
我一直在使用Android Studio 1.1版.在2-3天之前,它要求更新到1.2.我以为它会变得更好.但是,现在我面临以下问题:
Warning:The project encoding (windows-1252) does not match the encoding specified in the Gradle build files (UTF-8).
This can lead to serious bugs.
<a href="http://tools.android.com/knownissues/encoding">More Info...</a><br><a href="open.encodings.settings">Open File Encoding Settings</a>
Run Code Online (Sandbox Code Playgroud)
和,
This version of the rendering library is more recent than your version of Android Studio. Please update Android Studio
Run Code Online (Sandbox Code Playgroud)
我已尝试卸载 - 重新安装它已经7次,但问题不会消失.我从来没有弄乱Android Studio设置.
为什么会这样?我该怎么做才能解决它?我只是非常绝望,我将格式化我的电脑,但这是一个庞大的任务,所以我在这里问.
PS:我尝试改变编码但没有任何作用.谢谢.
编辑1:遵循Sandspy的建议build.gradle包含以下内容,没有支持库.
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
applicationId "com.example.mankum93.geoquiz"
minSdkVersion 15
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.2.0'
}
Run Code Online (Sandbox Code Playgroud)
编辑2:这个问题仍然存在:
![[IMG] http://i.imgur.com/yXNX2TT.png [/ IMG]](https://i.stack.imgur.com/XlyAT.png)
编辑3:从MNC改为Android Lollipop后.

编辑4:我想我将下载1.2稳定的二进制文件,直到发布1.3稳定版才更新.如果有人具体解决这个问题,请在此处发布解决方案.
虽然不是解决问题的办法,但我一次又一次地尝试卸载-重新安装Android 1.1.2、1.2。然后我尝试了Android 1.1。现在,一切都很顺利。
所以,我想说的是,遇到这个问题的人现在可能不得不依赖 Android Studio 1.1。我发布它是为了告诉您此过程中涉及的一个棘手步骤。如果您安装了Android 1.2.1或1.2,卸载后,删除以下文件夹,
<Your-current-PC-user-Name>/.AndroidStudio或者在重新安装 Android 1.1 之前,否则问题将持续存在/.AndroidStudio11.2。/.gradle
| 归档时间: |
|
| 查看次数: |
4976 次 |
| 最近记录: |