试图将这个问题调试好几个小时!在网上尝试了很多解决方案,但似乎都没有。
Build properties not found for package Android SDK Platform 25
File /root/.android/repositories.cfg could not be loaded.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
>
Failed to find target with hash string 'android-25' in: /home/hisham/Android/Sdk
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 39.749 secs
Error: /home/hisham/Desktop/Dev-PGDoc/ionic_app/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Failed to find target with hash string 'android-25' in: /home/hisham/Android/Sdk
我该如何解决这个问题?
答案 0 :(得分:-1)
终于搞定了!不知道以下哪一个修复了它。
PS:这可能只是在我的个人计算机上,并且由于不同的问题,您可能会面临同样的问题。希望这会有所帮助。