当前位置:   article > 正文

android问题解答_:error:android/android-emu/android/qt/qt_setup.cpp

:error:android/android-emu/android/qt/qt_setup.cpp:28:qt library not found a

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”
  • 1
  • 2
  • 3
  • 4
  • 5

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
  • 1
  • 2
  • 3

A:没有安装模拟器,依次点击Tools→Android→SDK Manager→SDK Tools→Android Emulator.

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/AllinToyou/article/detail/285412
推荐阅读
相关标签
  

闽ICP备14008679号