Error:Failed to find target with hash string ‘Google Inc.:Google APIs:15’
有时候导包会如箭头1所示,会报错,Error:Failed to find target with hash string ‘Google Inc.:Google APIs:15’
你直接改成数字即可。
Error:Execution failed for task ‘:droidVNCserver:compileDebugNdk’.
Error: Your project contains C++ files but it is not using a supported native build system.
Consider using CMake or ndk-build integration with the stable Android Gradle plugin:
https://developer.android.com/studio/projects/add-native-code.html
or use the experimental plugin:
http://tools.android.com/tech-docs/new-build-system/gradle-experimental.
在model下添加sourceSets