error message
Failed to find target with hash string 'android-25' in:D:\SDK
Install missing platform(s) and sync project
watermark is so annoying!
没有找到与哈希字符串“android-25”匹配的目标在D:\ SDK。
安装丢失的平台并同步项目
appears in the scenario
got a nice project and opened it up locally. The above error occurred after compilation.
solution
problem error means: no information for Android API 25 was found in the SDK. Here’s why: You need Android API 25 in your project, but you haven’t downloaded it locally.
method 1
go to SDK Manager to download the corresponding API, and then re-compile it. In the new Version of Android Studio, click Ok or Apply below to confirm the download after selecting the corresponding API.
The pom file
gradle could not get
Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.1.4/gradle-3.1.4.pom'. Received status code 405 from server: Method Not Allowed
Enable Gradle 'offline mode' and sync project
configure maven address for domestic :
allprojects {
repositories {
google()
jcenter()
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
}
}
Android studio gradle cannot get the pom file
Read More:
- Android Studio | Failed to find target with hash string ‘android-26’ in: D:\Android\sdk
- Failed to find target with hash string”android-21″ in:D:\AndroidVersionSdk
- Android Error | Failed to find target with hash string ”android-23′ in…
- AS error: failed to find target with hash string’Google Inc.:Google APIs:21′ error solution
- Error in Cordova project execution command after Android studio upgrade: could not find gradle wrapper within Android SDK
- Error: Error parsing D:\new_android\Android SDK\system-images\android-25\android-wear\armeabi-v7a\de
- Install of Android studio_ FAILED_ OLDER_ Solutions to SDK
- Android Studio sync build.gradle appears: Failed to resolve: com.android.support:appcompat problem
- unity 3D:Virtual Reality SDK Oculus failed to initialize.
- Caused by: com.android.builder.dexing.DexArchiveBuilderException: Failed to process D:\….\0.jar
- When Android Studio runs the app, it prompts Error: Please select Android SDK
- Failed to resolve: com.android.support:appcompat-v7:25.3.0
- Python learning notes (5) — cross entropy error runtimeerror: 1D target tensor expected, multi target not supported
- [unity] Android package error java.lang.ClassNotFoundException Did not find class com.unity3d . player.MainActivity
- Re installing Android studio always fails to install SDK when installing software (solution)
- Install Android SDK — stopping ADB server failed (code – 1)
- Android studio reported an error in the release package: Lint found fatal errors while assembling a release target
- A repeated string is composed of two identical strings. For example, abcabc is a repeated string with length of 6, while abcba does not have a duplicate string. Given any string, please help Xiaoqiang find the longest repeated substring.
- Pychar reported an error. Unable to set the python SDK in Python 3.8. This SDK appears to be invalid.