siyehua

Results 12 comments of siyehua

不用这么麻烦,我根据 pullrequest 的 asm6 修改,直接把插件放到了本地 ``` uploadArchives{ repositories{ mavenDeployer{ //本地maven地址 repository(url : uri('../lancet')) } } } ``` 用的时候这么用: maven { url "上面存的绝对路径" }

I have the same issue, my flat-version 1.3.6

> I have the same issue, my flat-version 1.3.6 I solve this. you should use this plugin in: ``` com.android.library ``` but not ``` com.android.application ```

> and Wow, I have the same issue when the aar useing flutter plugin, I try to solve, wait for my next reply 😄

简单理解就是, Android 这边的许多图片我已经加载到内存中了, 然后 Flutter 那边, 可能也需要显示一些图片, 但是这些图片在 Android 端的内存里已经有的, 我如何共享给 Flutter 端, 让它不需要重复加载

@qtiuto 兄弟我觉得这个应该是代码问题,我用了好多部手机都报错...也不知道是什么原因...

> offset: Offset(2000,30), 2000 已经超出屏幕了吧? 设置 20,发现局中,设置500,还是局中,设置 2000,就在屏幕外了。 这里说的局中手机屏幕垂直局中,这个本来应该是 y 来设置的。y 不管设置什么值都无效。 然后我想设置水平的 offset,怎么设置都无效

> I'm trying to use a local .aar file inside a flutter plugin, but so far I couldn't figure out how to achieve this. > > Steps I did: >...

> The solution is sadly: **You gotta put the dependency on a maven repo.** > > The reason being is that aar files are external dependencies. If you are familiar...

我记得应该是newTask.好处是不受应用的生命周期影响