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

This plugin can not used by an Application of Android X。 #8

Closed
Azuredrop opened this issue Aug 17, 2019 · 5 comments
Closed

This plugin can not used by an Application of Android X。 #8

Azuredrop opened this issue Aug 17, 2019 · 5 comments
Labels
bug Something isn't working

Comments

@Azuredrop
Copy link

import android.support.v4.content.ContextCompat;
import android.support.v4.app.ActivityCompat;
import android.support.v7.app.AppCompatActivity;

Hello, 因为Androidx和Android support库不能共存问题导致不能直接引用插件使用,能不能把插件 Migrate to AndroidX,不然只能修改了在本地引用了。

@wu9007
Copy link
Owner

wu9007 commented Aug 19, 2019

@Azuredrop 升级到0.2.12试试。

@wu9007 wu9007 added the bug Something isn't working label Aug 19, 2019
@Azuredrop
Copy link
Author

image
😭文件没变啊,我本地升级后是这样的
image

@wu9007
Copy link
Owner

wu9007 commented Aug 19, 2019

@Azuredrop 来吧老铁 接着升级 0.2.13

@Azuredrop
Copy link
Author

@leyan95 可以了👍 目前没发现什么问题,虽然android下build时会报错,但不影响使用
image
image

@wu9007
Copy link
Owner

wu9007 commented Aug 20, 2019

@Azuredrop androidStudio 装一个 Kotlin 插件试试,或者更换一下 Gradle 版本。😄

@wu9007 wu9007 closed this as completed Aug 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants