赞
踩
Q1:android studio出现错误:
Error:Could not resolve all files for configuration ':app:debugAndroidTestRuntimeClasspath'.
> Could not download junit.jar (junit:junit:4.12)
> Could not get resource 'https://jcenter.bintray.com/junit/junit/4.12/junit-4.12.jar'.
> Could not GET 'https://jcenter.bintray.com/junit/junit/4.12/junit-4.12.jar'.
> jcenter.bintray.com”
A:IDE提示没有下载junit.jar。将junit.jar编译之后,仍然没有解决。
一个解决方法是:注释掉app模块下build.gradle文件下的androidTestCompile.
http://blog.csdn.net/cl18652469346/article/details/53927142
Q2:android studio无法启动模拟器,显示:
Emulator: [6236]:ERROR:./android/qt/qt_setup.cpp:28:Qt library not found at C:\Users\Administrator\AppData\Local\Android\Sdk\emulator\lib64\qt\lib
Emulator: Could not launch 'C:\Users\Administrator\AppData\Local\Android\Sdk\emulator/qemu/windows-x86_64/qemu-system-i386.exe': No such file or directory
Emulator: Process finished with exit code 2
A:没有安装模拟器,依次点击Tools→Android→SDK Manager→SDK Tools→Android Emulator.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。