neb.android icon indicating copy to clipboard operation
neb.android copied to clipboard

用最新版的android studio以及用自带的gradle,添加nebulasio android sdk依赖后报以下错误

Open zoowii opened this issue 6 years ago • 1 comments

Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.

zoowii avatar Jun 01 '18 16:06 zoowii

注意配置信息: compile 改成implementation androidTestCompile改成androidTestImplementation testCompile 改成testImplementation

build.gradle文件配置 dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.google.code.gson:gson:2.8.4' implementation 'com.squareup.okhttp3:okhttp:3.10.0' }

dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:27.1.1' implementation 'com.android.support.constraint:constraint-layout:1.1.0' implementation 'com.google.code.gson:gson:2.8.4' implementation project(':libnebulas') }

--------------------------- 另外,api 引用,注意查看一下AS的具体输出log详情,判定修改方案。

donald99 avatar Jun 02 '18 01:06 donald99