我在android studio中使用libgdx配置了一个桌面应用程序 哪个不编译。我也在另一台电脑上测试过,然后就跑了。当我启动它时,我得到以下错误代码:
错误:Gradle:配置根项目'游戏'时出现问题。 无法解析所有配置文件':classpath'。 找不到com.android.tools.build:gradle:3.0.0。 在以下位置搜索: 文件:/ C:/Users/admin/.m2/repository/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.pom 文件:/ C:/Users/admin/.m2/repository/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.jar https://repo1.maven.org/maven2/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.pom https://repo1.maven.org/maven2/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.jar https://oss.sonatype.org/content/repositories/snapshots/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.pom https://oss.sonatype.org/content/repositories/snapshots/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.jar https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.pom https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.jar 要求: 项目:
答案 0 :(得分:1)
谷歌有新的maven回购,所以可能是原因。
<Box width={[1, 1 / 3]}>
<Text bold>Targeting</Text>
{
['something',
'something else',
'something else else',
'something ...',
].map((text, index) => <Iconlist key={index} text={text}/>)
}
</Box>
同时添加所有项目
public static void main(String[] args) throws Throwable {
Provider provider = Security.getProvider("SunMSCAPI");
KeyStore wins=KeyStore.getInstance("Windows-MY", provider);
wins.load(null, null);
Enumeration<String> aliases = wins.aliases();
while (aliases.hasMoreElements()) {
String alias = (String) aliases.nextElement();
System.out.println(alias);
Certificate[] chain = wins.getCertificateChain(alias);
X509Certificate[] x509 = CERManager.toX509(chain);
for (int i = 0; i < x509.length; i++) {
System.out.println(x509[i].getSubjectX500Principal());
}
Key key = wins.getKey(alias, "1234".toCharArray());
System.out.println(key);
}
}