Egos

Results 6 comments of Egos

同样想问问作者啊 为什么我导入的时候会有这样的问题? ``` Error:Attribute "switchStyle" has already been defined Error:Execution failed for task ':processDebugResources'. > com.android.ide.common.internal.LoggedErrorException: Failed to run command: C:\Users\fan\AppData\Local\Android\sdk\build-tools\19.1.0\aapt.exe package -f --no-crunch -I C:\Users\fan\AppData\Local\Android\sdk\platforms\android-19\android.jar -M H:\github\AnimeTaste\build\intermediates\manifests\full\debug\AndroidManifest.xml -S H:\github\AnimeTaste\build\intermediates\res\debug...

@rivershuang 想问问你解决没有?导入的问题??

@krislq 用main-host.gradle中的buildLib来将host打包成jar,但是会出现`Task with path 'compileReleaseJava' not found in project ':lib'.`,无法打成jar,就无法照你上面的方法做呢?

@mox113 也碰到过这样的问题,后来自己打包了一个main-host.jar,这样导入到plugin-b。 ``` dependencies { // compile fileTree(dir: 'libs', include: ['*.jar']) // provided fileTree(dir: 'external-jars', include: ['*.jar']) provided files('external-jars/dl-lib.jar') provided files('external-jars/android-support-v4.jar') provided files('external-jars/main-host.jar') } //task beforeBuild(dependsOn: ':lib:buildLib')

h 16777168. ![image](https://cloud.githubusercontent.com/assets/6348861/21417686/459e6374-c857-11e6-96d5-f765790594de.png) my phone is 720X1920, it may be different in other phone.

i try `wrap_content` now, it will not invoke onSizeChange, so it will not oom. maybe something wrong with my layout.