Open byk04712 opened 6 years ago
同样的问题
将项目中node_module删除重新加载一下试试
删除了重新加载也不行... 同样的问题呀
我也出了, 也是把compile 改为了 implementation, 改回去就好了
compile改成api就可以
compile改成api就可以
怎么解决的?27以上要求用 implementation
@orzhtml
gradle3.0后把原来的compile拆分成implement和api两个指令,新的api指令等同于原compile指令。
可以参考这里:https://blog.csdn.net/qq_26585943/article/details/73739427
@orzhtml gradle3.0后把原来的compile拆分成implement和api两个指令,新的api指令等同于原compile指令。 可以参考这里:https://blog.csdn.net/qq_26585943/article/details/73739427
谢谢,已经好了。
老天啊,终于找打类似的问题了,app快上线了而我被玩了两天了,不会Android好伤啊
这个要怎么改才行啊 ?哭死
@orzhtml gradle3.0后把原来的compile拆分成implement和api两个指令,新的api指令等同于原compile指令。 可以参考这里:https://blog.csdn.net/qq_26585943/article/details/73739427
谢谢,已经好了。
你好,我这个要怎么改啊?我把compile换成implementation/api都没有用啊,求你帮忙看看啊,项目快上线了,头皮发麻啊
需要将\node_modules\react-native-wechat\android\build.gradle 里的compile 修改为api(注意修改为implementation会出错) 把compileSdkVersion buildToolsVersion targetSdkVersion 修改为编译器一致
RN0.57 Android Studio 3.14
build.grade 里面的 dependencies 里 compile 需要更改为 implementation,更改之后,又出现 如下错误
大概说的是没有找到 IWXAPIEventHandler ,但是我在工程里却能找到这个类
请问如何解决?