Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.2.5最新版对flutter好像运行不起来? #48

Closed
wengxianxun opened this issue Dec 3, 2020 · 6 comments
Closed

0.2.5最新版对flutter好像运行不起来? #48

wengxianxun opened this issue Dec 3, 2020 · 6 comments
Labels

Comments

@wengxianxun
Copy link

  • Where:
    Build file '/Users/wengxianxun/.pub-cache/hosted/pub.flutter-io.cn/pangolin-0.2.5/android/build.gradle' line: 37

  • What went wrong:
    A problem occurred evaluating project ':pangolin'.

Project with path ':open_ad_sdk_new' could not be found in project ':pangolin'.

@wengxianxun
Copy link
Author

我回退到0.2.3版本就可以运行

@wengxianxun wengxianxun changed the title 最新版对flutter好像运行不起来? 0.2.5最新版对flutter好像运行不起来? Dec 3, 2020
@muyu2019
Copy link

muyu2019 commented Dec 8, 2020

'/Users/wengxianxun/.pub-cache/hosted/pub.flutter-io.cn/pangolin-0.2.5/android/build.gradle' line: 37
找到这个文件,定位到37行代码。看看写的是什么。

implementation project(path: ':open_ad_sdk_new')

需要在android目录下复制open_ad_sdk一份为open_ad_sdk_new,同时settings.grade文件需要改动 include ':open_ad_sdk_new'

我是进行到这里了,不过依然在报新的问题的错误。

参考文档去做没有跑起来,同时还需要参考example下面的代码。

@tongyangsheng
Copy link
Member

更新到 0.2.7 试试,之前有一个重大bug,没有适配低版本

@pomin
Copy link

pomin commented Dec 15, 2020

还是报错了

@tongyangsheng
Copy link
Member

我自己重新建了一个flutter_demo 导入Pangolin并按照文档进行相关配置后,测试一切功能正常。各位遇到的问题大部分是自己的配置原因,或者与其他插件存在冲突。作为开发者需要具备基本的两个原则:细心和钻研。针对个人接入的流程我一会将完善文档,由于本issue内均为提供有效报错信息,所以关闭issue,请各位按照文档检查配置,遇到相关问题,参考issue 格式提出issue,方便我排查问题,其余issue将不予回复,敬请谅解🤯

@luokunman
Copy link

luokunman commented Jul 9, 2021

我自己重新建了一个flutter_demo 导入Pangolin并按照文档进行相关配置后,测试一切功能正常。各位遇到的问题大部分是自己的配置原因,或者与其他插件存在冲突。作为开发者需要具备基本的两个原则:细心和钻研。针对个人接入的流程我一会将完善文档,由于本issue内均为提供有效报错信息,所以关闭issue,请各位按照文档检查配置,遇到相关问题,参考issue 格式提出issue,方便我排查问题,其余issue将不予回复,敬请谅解🤯

我更新到0.2.7依然好像不太行。 其余配置参考了穿山甲的配置
似乎是 Build file 'C:\Users\admin\AppData\Roaming\Pub\Cache\hosted\pub.flutter-io.cn\pangolin-0.2.7\android\build.gradle' line: 39
即是 implementation project(path: ':open_ad_sdk')这个问题的错 是否应该更正为implementation 'com.pangle.cn:ads-sdk:3.5.0.6'

@OpenFlutter OpenFlutter deleted a comment from BytesZero Aug 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants