Nee*_*ava 6 android compiler-errors android-studio
我现在被困了一天试图解决这个问题我刚刚更新了我的 android studio 但是当我打开旧项目时它显示错误
Could not resolve all dependencies for configuration
':app:debugAndroidTestRuntimeClasspath'.
Could not load module metadata from C:\Users\NEELAY\.gradle\caches\modules-
2\metadata-2.36\descriptors\com.android.support\multidex-
instrumentation\1.0.2\5ac5911800d0dfe0ba2d29f224b8c2fb\descriptor.bin
Unexpected metadata type found.
Run Code Online (Sandbox Code Playgroud)
我也遵循了一些问题,其中说要卸载 android 支持存储库并重新安装,但它不起作用尝试 gradle.setting 也是正确的。现在我不知道如何解决这个问题,任何帮助都会有所帮助。显现
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="fireapp.manoj.template">
<uses-permission android:name="android.permission.INTERNET" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
</application>
Run Code Online (Sandbox Code Playgroud)
这是清单代码,但不知道为什么它显示为 setting.gradle 不知道为什么是因为 gradle 更新
小智 6
删除缓存。
第一步:打开终端
第 2 步:粘贴 cd C:\Users\NEELAY.gradle\(导航到 .gradle 文件夹)
第 3 步:rm -r 缓存\
第 4 步:现在清理或重建项目
| 归档时间: |
|
| 查看次数: |
6699 次 |
| 最近记录: |