当我启动Android-Debug模式时,会出现以下错误:

Invalid json file: C:/Qt/Projekt/android-libProjekt.so-deployment-settings.json

我已经读过我必须更改Qt构建路径,但它始终是相同的错误...


Android的libProjekt.so部署,settings.json:

{
   "description": "This file is generated by qmake to be read by androiddeployqt and should not be modified by hand.",
   "qt": "C:\\Qt\\5.2.1\\android_armv5",
   "sdk": "C:/Users/Sür/Desktop/Android2",
   "ndk": "C:\\Users\\Sür\\Desktop\\android-ndk-r9d-windows-x86_64\\android-ndk-r9d",
   "toolchain-prefix": "arm-linux-androideabi",
   "tool-prefix": "arm-linux-androideabi",
   "toolchain-version": "4.8",
   "ndk-host": "windows-x86_64",
   "target-architecture": "armeabi",
   "application-binary": "C:/Qt/Projekt/libProjekt.so"
}

===============>>#1 票数:0

转到项目选项卡,并将构建目录更改为更短的内容。 这至少解决了我的问题。

  ask by Tr4in translate from so

未解决问题?本站智能推荐: