调试github 上面的SleepHelper 出现的问题
https://github.com/developerHaoz/SleepHelper.git
What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApkCopy'.
> Could not find com.android.support:appcompat-v7:25.3.1.
Required by:
project :app
> Could not find com.android.support.constraint:constraint-layout:1.0.2.
Required by:
project :app
> Could not find com.android.support:design:25.3.1.
Required by:
project :app
> Could not find com.android.support:support-annotations:22.0.0.
Required by:
project :app > com.getbase:floatingactionbutton:1.5.1
> Could not find com.android.support:support-v4:23.3.0.
Required by:
project :app > io.github.yavski:fab-speed-dial:1.0.1
> Could not find com.android.support:appcompat-v7:25.3.1.
Required by:
project :app > io.github.yavski:fab-speed-dial:1.0.1
> Could not find com.android.support:design:25.3.1.
Required by:
project :app > io.github.yavski:fab-speed-dial:1.0.1
> Could not find com.android.support:cardview-v7:23.1.1.
Required by:
project :app > io.github.yavski:fab-speed-dial:1.0.1
> Could not find com.android.support:support-annotations:22.0.0.
Required by:
project :app > cc.trity.floatingactionbutton:library:1.0.0
> Could not find com.android.support:support-v4:23.3.0.
Required by:
这类问题是由于在依赖项里面,借用了别人的模块,如下所示,
compile 'com.github.bumptech.glide:glide:3.7.0'
导致无法跳转
这是第二个问题:
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to C:\Users\John-Mike\AppData\Local\Android\Sdk\ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.

浙公网安备 33010602011771号